|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkChartXYZ * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
void | SetGeometry (const vtkRectf &bounds) |
| Set the geometry in pixel coordinates (origin and width/height).
|
|
void | SetMargins (const vtkVector4i &margins) |
| Set the margins in pixels ordered top right bottom left The box will be drawn inside those margins, but the labels and textdecorations will still escape.
|
|
virtual void | SetAngle (double) |
| Set the rotation angle for the chart (AutoRotate mode only).
|
|
void | SetAroundX (bool isX) |
| Set whether or not we're rotating about the X axis.
|
|
virtual void | SetAnnotationLink (vtkAnnotationLink *link) |
| Set the vtkAnnotationLink for the chart.
|
|
vtkAxis * | GetAxis (int axis) |
| Get the x (0), y (1) or z (2) axis.
|
|
virtual void | SetAxis (int axisIndex, vtkAxis *axis) |
| Set the x (0), y (1) or z (2) axis.
|
|
vtkTextProperty * | GetAxesTextProperty () |
| Get the text property for axes.
|
|
virtual void | SetXAxisLabel (vtkStdString) |
| Set the X axis label.
|
|
virtual void | SetYAxisLabel (vtkStdString) |
| Set the Y axis label.
|
|
virtual void | SetZAxisLabel (vtkStdString) |
| Set the Z axis label.
|
|
virtual void | SetEnsureOuterEdgeAxisLabelling (bool) |
| Set to true to ensure that axis labels are always on the outer edges of the chart.
|
|
virtual void | SetAutoRotate (bool) |
| Set whether or not we're using this chart to rotate on a timer.
|
|
void | SetDecorateAxes (bool b) |
| Set whether or not axes labels & tick marks should be drawn.
|
|
void | SetFitToScene (bool b) |
| Set whether or not the chart should automatically resize itself to fill the scene.
|
|
void | Update () override |
| Perform any updates to the item that may be necessary before rendering.
|
|
bool | Paint (vtkContext2D *painter) override |
| Paint event for the chart, called whenever the chart needs to be drawn.
|
|
virtual vtkIdType | AddPlot (vtkPlot3D *plot) |
| Adds a plot to the chart.
|
|
virtual bool | RemovePlot (vtkPlot3D *plot) |
| Removes a plot from the chart.
|
|
void | ClearPlots () |
| Remove all the plots from this chart.
|
|
void | RecalculateBounds () |
| Determine the XYZ bounds of the plots within this chart.
|
|
void | RecalculateTransform () |
| Use this chart's Geometry to set the endpoints of its axes.
|
|
bool | Hit (const vtkContextMouseEvent &mouse) override |
| Returns true if the transform is interactive, false otherwise.
|
|
bool | MouseButtonPressEvent (const vtkContextMouseEvent &mouse) override |
| Mouse press event.
|
|
bool | MouseMoveEvent (const vtkContextMouseEvent &mouse) override |
| Mouse move event.
|
|
bool | MouseWheelEvent (const vtkContextMouseEvent &mouse, int delta) override |
| Mouse wheel event.
|
|
bool | KeyPressEvent (const vtkContextKeyEvent &key) override |
| Key press event.
|
|
void | SetClippingPlanesEnabled (bool) |
| Hide data outside the box.
|
|
virtual bool | GetClippingPlanesEnabled () |
| Check whether data outside the box will be hidden or not.
|
|
virtual void | SetScaleBoxWithPlot (bool) |
| When rotating the mousewheel, scale not only the plot but also the box.
|
|
virtual bool | GetScaleBoxWithPlot () |
| Check whether scaling the plot will also scale the box.
|
|
|
void | SetAxisColor (const vtkColor4ub &color) |
| Set the color for the axes.
|
|
vtkColor4ub | GetAxisColor () |
| Set the color for the axes.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkContextItem * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | SetTransform (vtkContextTransform *) |
| Set the transform of the item.
|
|
virtual double | GetOpacity () |
| Get the opacity of the item.
|
|
virtual void | SetOpacity (double) |
| Set the opacity of the item.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkAbstractContextItem * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | Update () |
| Perform any updates to the item that may be necessary before rendering.
|
|
virtual bool | Paint (vtkContext2D *painter) |
| Paint event for the item, called whenever the item needs to be drawn.
|
|
virtual bool | PaintChildren (vtkContext2D *painter) |
| Paint the children of the item, should be called whenever the children need to be rendered.
|
|
virtual void | ReleaseGraphicsResources () |
| Release graphics resources hold by the item.
|
|
vtkIdType | AddItem (vtkAbstractContextItem *item) |
| Add child items to this item.
|
|
bool | RemoveItem (vtkAbstractContextItem *item) |
| Remove child item from this item.
|
|
bool | RemoveItem (vtkIdType index) |
| Remove child item from this item.
|
|
vtkAbstractContextItem * | GetItem (vtkIdType index) |
| Get the item at the specified index.
|
|
vtkIdType | GetItemIndex (vtkAbstractContextItem *item) |
| Get the index of the specified item in itemIndex.
|
|
vtkIdType | GetNumberOfItems () |
| Get the number of child items.
|
|
void | ClearItems () |
| Remove all child items from this item.
|
|
vtkIdType | Raise (vtkIdType index) |
| Raises the child to the top of the item's stack.
|
|
virtual vtkIdType | StackAbove (vtkIdType index, vtkIdType under) |
| Raises the child above the under sibling.
|
|
vtkIdType | Lower (vtkIdType index) |
| Lowers the child to the bottom of the item's stack.
|
|
virtual vtkIdType | StackUnder (vtkIdType child, vtkIdType above) |
| Lowers the child under the above sibling.
|
|
virtual bool | Hit (const vtkContextMouseEvent &mouse) |
| Return true if the supplied x, y coordinate is inside the item.
|
|
virtual vtkAbstractContextItem * | GetPickedItem (const vtkContextMouseEvent &mouse) |
| Return the item under the mouse.
|
|
virtual bool | MouseEnterEvent (const vtkContextMouseEvent &mouse) |
| Mouse enter event.
|
|
virtual bool | MouseMoveEvent (const vtkContextMouseEvent &mouse) |
| Mouse move event.
|
|
virtual bool | MouseLeaveEvent (const vtkContextMouseEvent &mouse) |
| Mouse leave event.
|
|
virtual bool | MouseButtonPressEvent (const vtkContextMouseEvent &mouse) |
| Mouse button down event Return true if the item holds the event, false if the event can be propagated to other items.
|
|
virtual bool | MouseButtonReleaseEvent (const vtkContextMouseEvent &mouse) |
| Mouse button release event.
|
|
virtual bool | MouseDoubleClickEvent (const vtkContextMouseEvent &mouse) |
| Mouse button double click event.
|
|
virtual bool | MouseWheelEvent (const vtkContextMouseEvent &mouse, int delta) |
| Mouse wheel event, positive delta indicates forward movement of the wheel.
|
|
virtual bool | KeyPressEvent (const vtkContextKeyEvent &key) |
| Key press event.
|
|
virtual bool | KeyReleaseEvent (const vtkContextKeyEvent &key) |
| Key release event.
|
|
virtual void | SetScene (vtkContextScene *scene) |
| Set the vtkContextScene for the item, always set for an item in a scene.
|
|
vtkContextScene * | GetScene () |
| Get the vtkContextScene for the item, always set for an item in a scene.
|
|
virtual void | SetParent (vtkAbstractContextItem *parent) |
| Set the parent item.
|
|
vtkAbstractContextItem * | GetParent () |
| Get the parent item.
|
|
virtual vtkVector2f | MapToParent (const vtkVector2f &point) |
| Maps the point to the parent coordinate system.
|
|
virtual vtkVector2f | MapFromParent (const vtkVector2f &point) |
| Maps the point from the parent coordinate system.
|
|
virtual vtkVector2f | MapToScene (const vtkVector2f &point) |
| Maps the point to the scene coordinate system.
|
|
virtual vtkVector2f | MapFromScene (const vtkVector2f &point) |
| Maps the point from the scene coordinate system.
|
|
virtual bool | GetVisible () |
| Get the visibility of the item (should it be drawn).
|
|
virtual void | SetVisible (bool) |
| Set the visibility of the item (should it be drawn).
|
|
virtual bool | GetInteractive () |
| Get if the item is interactive (should respond to mouse events).
|
|
virtual void | SetInteractive (bool) |
| Set if the item is interactive (should respond to mouse events).
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on.
|
|
virtual void | DebugOff () |
| Turn debugging output off.
|
|
bool | GetDebug () |
| Get the value of the debug flag.
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag.
|
|
virtual void | Modified () |
| Update the modification time for this object.
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time.
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method.
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
const char * | GetClassName () const |
| Return the class name as a string.
|
|
virtual vtkTypeBool | IsA (const char *name) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
|
|
virtual void | Delete () |
| Delete a VTK object.
|
|
virtual void | FastDelete () |
| Delete a reference to this object.
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream.
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object).
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object).
|
|
int | GetReferenceCount () |
| Return the current reference count of this object.
|
|
void | SetReferenceCount (int) |
| Sets the reference count.
|
|
bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space.
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkChartXYZ () |
|
| ~vtkChartXYZ () override |
|
virtual void | CalculateTransforms () |
| Calculate the transformation matrices used to draw data points and axes in the scene.
|
|
bool | CalculatePlotTransform (vtkAxis *x, vtkAxis *y, vtkAxis *z, vtkTransform *transform) |
| Given the x, y and z vtkAxis, and a transform, calculate the transform that the points in a chart would need to be drawn within the axes.
|
|
bool | Rotate (const vtkContextMouseEvent &mouse) |
| Rotate the chart in response to a mouse movement.
|
|
bool | Rotate (const RotateDirection rotateDirection) |
| Rotate the chart in a specific direction.
|
|
bool | Pan (const vtkContextMouseEvent &mouse) |
| Pan the data within the chart in response to a mouse movement.
|
|
bool | Zoom (const vtkContextMouseEvent &mouse) |
| Zoom in or out on the data in response to a mouse movement.
|
|
bool | Spin (const vtkContextMouseEvent &mouse) |
| Spin the chart in response to a mouse movement.
|
|
void | LookDownX () |
| Adjust the rotation of the chart so that we are looking down the X axis.
|
|
void | LookDownY () |
| Adjust the rotation of the chart so that we are looking down the Y axis.
|
|
void | LookDownZ () |
| Adjust the rotation of the chart so that we are looking down the Z axis.
|
|
void | LookUpX () |
| Adjust the rotation of the chart so that we are looking up the X axis.
|
|
void | LookUpY () |
| Adjust the rotation of the chart so that we are looking up the Y axis.
|
|
void | LookUpZ () |
| Adjust the rotation of the chart so that we are looking up the Z axis.
|
|
bool | CheckForSceneResize () |
| Check to see if the scene changed size since the last render.
|
|
void | RescaleAxes () |
| Scale the axes up or down in response to a scene resize.
|
|
void | ScaleUpAxes () |
| Scale up the axes when the scene gets larger.
|
|
void | ScaleDownAxes () |
| Scale down the axes when the scene gets smaller.
|
|
void | ZoomAxes (int delta) |
| Change the scaling of the axes by a specified amount.
|
|
void | InitializeAxesBoundaryPoints () |
| Initialize a list of "test points".
|
|
void | InitializeFutureBox () |
| Initialize the "future box" transform.
|
|
void | ComputeDataBounds () |
| Compute a bounding box for the data that is rendered within the axes.
|
|
void | DrawAxes (vtkContext3D *context) |
| Draw the cube axes of this chart.
|
|
void | DetermineWhichAxesToLabel () |
| For each of the XYZ dimensions, find the axis line that is furthest from the rendered data.
|
|
void | NewDetermineWhichAxesToLabel () |
| New style axis labelling, ensuring labelling is always at the edges of the chart in the most sensible places.
|
|
void | LegacyDetermineWhichAxesToLabel () |
| Old-style axis labelling, for compatibility; labelling may occur in less optimal places e.g.
|
|
void | DrawTickMarks (vtkContext2D *painter) |
| Draw tick marks and tick mark labels along the axes.
|
|
void | DrawAxesLabels (vtkContext2D *painter) |
| Label the axes.
|
|
void | GetOffsetForAxisLabel (int axis, float *bounds, float *offset) |
| Compute how some text should be offset from an axis.
|
|
double | CalculateNiceMinMax (double &min, double &max, int axis) |
| Calculate the next "nicest" numbers above and below the current minimum.
|
|
void | GetClippingPlaneEquation (int i, double *planeEquation) |
| Get the equation for the ith face of our bounding cube.
|
|
std::size_t | GetMarginLeft () const |
| Gets the current margin left in pixels irrespective of the size-strategy used.
|
|
std::size_t | GetMarginBottom () const |
| Gets the current margin top in pixels irrespective of the size-strategy used.
|
|
std::size_t | GetPlotWidth () const |
| Gets the current width of the plot in pixels irrespective of the size-strategy used.
|
|
std::size_t | GetPlotHeight () const |
| Gets the current height of the plot in pixels irrespective of the size-strategy used.
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkContextItem ()=default |
|
| ~vtkContextItem () override=default |
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkAbstractContextItem () |
|
| ~vtkAbstractContextItem () override |
|
| vtkObject () |
|
| ~vtkObject () override |
|
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
| These methods allow a command to exclusively grab all events.
|
|
void | InternalReleaseFocus () |
| These methods allow a command to exclusively grab all events.
|
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
|
enum vtkChartXYZ:: { ... } | SizeStrategy = USE_GEOMETRY |
| Specifies how to calculate the size of the chart in function of the size of the scene.
|
|
vtkVector4i | Margins = vtkVector4i(40, 40, 40, 40) |
| The margins in pixels for the box ordered top right bottom left Applicable only when SizeStrategy == USE_MARGINS_AND_SCENE_SIZE.
|
|
vtkRectf | Geometry = vtkRectf(40, 40, 120, 120) |
| The size and position of this chart.
|
|
std::vector< vtkSmartPointer< vtkAxis > > | Axes |
| The 3 axes of this chart.
|
|
bool | AutoRotate = false |
| This boolean indicates whether or not we're using this chart to rotate on a timer.
|
|
bool | IsX = false |
| When we're in AutoRotate mode, this boolean tells us if we should rotate about the X axis or the Y axis.
|
|
double | Angle = 0 |
| When we're in AutoRotate mode, this value tells the chart how much it should be rotated.
|
|
bool | DrawAxesDecoration = true |
| This boolean indicates whether or not we should draw tick marks and axes labels.
|
|
bool | FitToScene = true |
| This boolean indicates whether or not we should automatically resize the chart so that it snugly fills up the scene.
|
|
vtkNew< vtkTransform > | ContextTransform |
| This is the transform that is applied when rendering data from the plots.
|
|
vtkNew< vtkTransform > | PlotTransform |
| This transform translates and scales the plots' data points so that they appear within the axes of this chart.
|
|
vtkNew< vtkTransform > | Box |
| This is the transform that is applied when rendering data from the plots.
|
|
vtkNew< vtkTransform > | Rotation |
| This transform keeps track of how the chart has been rotated.
|
|
vtkNew< vtkTransform > | Translation |
| This transform keeps track of how the data points have been panned within the chart.
|
|
vtkNew< vtkTransform > | Scale |
| This transform keeps track of how the data points have been scaled (zoomed in or zoomed out) within the chart.
|
|
vtkNew< vtkTransform > | BoxScale |
| This transform keeps track of how the axes have been scaled (zoomed in or zoomed out).
|
|
vtkNew< vtkTransform > | FutureBox |
| This transform is initialized as a copy of Box.
|
|
vtkNew< vtkTransform > | FutureBoxScale |
| This transform keeps track of the Scale of the FutureBox transform.
|
|
vtkNew< vtkPen > | Pen |
| This is the pen that is used to draw data from the plots.
|
|
vtkNew< vtkPen > | AxisPen |
| This is the pen that is used to draw the axes.
|
|
vtkSmartPointer< vtkAnnotationLink > | Link |
| This link is used to share selected points with other classes.
|
|
std::vector< vtkPlot3D * > | Plots |
| The plots that are drawn within this chart.
|
|
std::vector< vtkIdType > | FreePlaces |
| These plots got removed (from Plots), try to reuse the free spot.
|
|
vtkNew< vtkTextProperty > | AxesTextProperty |
| The text properties of the axes.
|
|
std::string | XAxisLabel |
| The label for the X Axis.
|
|
std::string | YAxisLabel |
| The label for the Y Axis.
|
|
std::string | ZAxisLabel |
| The label for the Z Axis.
|
|
bool | EnsureOuterEdgeAxisLabelling = false |
| If set to true, use the new behaviour of ensuring that axis labels are on the outer edges of the chart.
|
|
vtkNew< vtkPlaneCollection > | BoundingCube |
| The six planes that define the bounding cube of our 3D axes.
|
|
float | AxesBoundaryPoints [8][3] |
| Points used to determine whether the axes will fit within the scene as currently sized, regardless of rotation.
|
|
float | TickLabelOffset [3][2] |
| This member variable stores the size of the tick labels for each axis.
|
|
int | SceneHeight |
| The height of the scene, as of the most recent call to Paint().
|
|
int | SceneWidth |
| The weight of the scene, as of the most recent call to Paint().
|
|
int | DirectionToData [3] |
| What direction the data is from each labeled axis line.
|
|
double | DataBounds [4] |
| A bounding box surrounding the currently rendered data points.
|
|
bool | ClippingPlanesEnabled = true |
| Hide data outside the box.
|
|
bool | ScaleBoxWithPlot = true |
| When rotating the mousewheel, scale not only the plot but also the box.
|
|
|
int | XAxisToLabel [3] |
| Which line to label.
|
|
int | YAxisToLabel [3] |
| Which line to label.
|
|
int | ZAxisToLabel [3] |
| Which line to label.
|
|
double | Opacity = 1.0 |
|
vtkContextTransform * | Transform = nullptr |
|
vtkContextScene * | Scene |
| Point to the scene the item is on - can be null.
|
|
vtkAbstractContextItem * | Parent |
| Point to the parent item - can be null.
|
|
vtkContextScenePrivate * | Children |
| This structure provides a list of children, along with convenience functions to paint the children etc.
|
|
bool | Visible |
| Store the visibility of the item (default is true).
|
|
bool | Interactive |
| Store whether the item should respond to interactions (default is true).
|
|
bool | Debug |
|
vtkTimeStamp | MTime |
|
vtkSubjectHelper * | SubjectHelper |
|
std::atomic< int32_t > | ReferenceCount |
|
vtkWeakPointerBase ** | WeakPointers |
|