VTK  9.1.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAxisActor Class Reference

Create an axis with tick marks and labels. More...

#include <vtkAxisActor.h>

Inheritance diagram for vtkAxisActor:
[legend]
Collaboration diagram for vtkAxisActor:
[legend]

Public Types

enum  TickLocation { VTK_TICKS_INSIDE = 0 , VTK_TICKS_OUTSIDE = 1 , VTK_TICKS_BOTH = 2 }
 
enum  AlignLocation { VTK_ALIGN_TOP = 0 , VTK_ALIGN_BOTTOM = 1 , VTK_ALIGN_POINT1 = 2 , VTK_ALIGN_POINT2 = 3 }
 
enum  AxisType { VTK_AXIS_TYPE_X = 0 , VTK_AXIS_TYPE_Y = 1 , VTK_AXIS_TYPE_Z = 2 }
 
enum  AxisPosition { VTK_AXIS_POS_MINMIN = 0 , VTK_AXIS_POS_MINMAX = 1 , VTK_AXIS_POS_MAXMAX = 2 , VTK_AXIS_POS_MAXMIN = 3 }
 
typedef vtkActor Superclass
 
- Public Types inherited from vtkActor
typedef vtkProp3D Superclass
 
- Public Types inherited from vtkProp3D
typedef vtkProp Superclass
 
- Public Types inherited from vtkProp
typedef vtkObject Superclass
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkAxisActorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void SetTickLocationToInside (void)
 
void SetTickLocationToOutside (void)
 
void SetTickLocationToBoth (void)
 
virtual void SetDrawGridlinesLocation (int)
 
virtual int GetDrawGridlinesLocation ()
 
void SetAxisPositionToMinMin (void)
 
void SetAxisPositionToMinMax (void)
 
void SetAxisPositionToMaxMax (void)
 
void SetAxisPositionToMaxMin (void)
 
void ReleaseGraphicsResources (vtkWindow *) override
 Release any graphics resources that are being consumed by this actor.
 
double ComputeMaxLabelLength (const double[3])
 
double ComputeTitleLength (const double[3])
 
void SetLabelScale (const double scale)
 
void SetLabelScale (int labelIndex, const double scale)
 
void SetTitleScale (const double scale)
 
void SetLabels (vtkStringArray *labels)
 
void BuildAxis (vtkViewport *viewport, bool)
 
vtkAxisFollower ** GetLabelActors ()
 Get label actors responsigle for drawing label text.
 
vtkProp3DAxisFollower ** GetLabelProps3D ()
 Get label actors responsigle for drawing label text.
 
virtual vtkCoordinateGetPoint1Coordinate ()
 Specify the position of the first point defining the axis.
 
virtual void SetPoint1 (double x[3])
 Specify the position of the first point defining the axis.
 
virtual void SetPoint1 (double x, double y, double z)
 Specify the position of the first point defining the axis.
 
virtual double * GetPoint1 ()
 Specify the position of the first point defining the axis.
 
virtual vtkCoordinateGetPoint2Coordinate ()
 Specify the position of the second point defining the axis.
 
virtual void SetPoint2 (double x[3])
 Specify the position of the second point defining the axis.
 
virtual void SetPoint2 (double x, double y, double z)
 Specify the position of the second point defining the axis.
 
virtual double * GetPoint2 ()
 Specify the position of the second point defining the axis.
 
virtual void SetRange (double, double)
 Specify the (min,max) axis range.
 
void SetRange (double[2])
 Specify the (min,max) axis range.
 
virtual double * GetRange ()
 Specify the (min,max) axis range.
 
virtual void GetRange (double data[2])
 Specify the (min,max) axis range.
 
void SetBounds (const double bounds[6])
 Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
void SetBounds (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
double * GetBounds (void) override
 Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
void GetBounds (double bounds[6])
 Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
virtual void SetLabelFormat (const char *)
 Set/Get the format with which to print the labels on the axis.
 
virtual char * GetLabelFormat ()
 Set/Get the format with which to print the labels on the axis.
 
virtual void SetUseTextActor3D (int)
 Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).
 
virtual int GetUseTextActor3D ()
 Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).
 
virtual void SetMinorTicksVisible (vtkTypeBool)
 Set/Get the flag that controls whether the minor ticks are visible.
 
virtual vtkTypeBool GetMinorTicksVisible ()
 Set/Get the flag that controls whether the minor ticks are visible.
 
virtual void MinorTicksVisibleOn ()
 Set/Get the flag that controls whether the minor ticks are visible.
 
virtual void MinorTicksVisibleOff ()
 Set/Get the flag that controls whether the minor ticks are visible.
 
void SetTitle (const char *t)
 Set/Get the title of the axis actor,.
 
virtual char * GetTitle ()
 Set/Get the title of the axis actor,.
 
void SetExponent (const char *t)
 Set/Get the common exponent of the labels values.
 
virtual char * GetExponent ()
 Set/Get the common exponent of the labels values.
 
virtual void SetMajorTickSize (double)
 Set/Get the size of the major tick marks.
 
virtual double GetMajorTickSize ()
 Set/Get the size of the major tick marks.
 
virtual void SetMinorTickSize (double)
 Set/Get the size of the major tick marks.
 
virtual double GetMinorTickSize ()
 Set/Get the size of the major tick marks.
 
virtual void SetTickLocation (int)
 Set/Get the location of the ticks.
 
virtual int GetTickLocation ()
 Set/Get the location of the ticks.
 
virtual void SetAxisVisibility (vtkTypeBool)
 Set/Get visibility of the axis line.
 
virtual vtkTypeBool GetAxisVisibility ()
 Set/Get visibility of the axis line.
 
virtual void AxisVisibilityOn ()
 Set/Get visibility of the axis line.
 
virtual void AxisVisibilityOff ()
 Set/Get visibility of the axis line.
 
virtual void SetTickVisibility (vtkTypeBool)
 Set/Get visibility of the axis major tick marks.
 
virtual vtkTypeBool GetTickVisibility ()
 Set/Get visibility of the axis major tick marks.
 
virtual void TickVisibilityOn ()
 Set/Get visibility of the axis major tick marks.
 
virtual void TickVisibilityOff ()
 Set/Get visibility of the axis major tick marks.
 
virtual void SetLabelVisibility (vtkTypeBool)
 Set/Get visibility of the axis labels.
 
virtual vtkTypeBool GetLabelVisibility ()
 Set/Get visibility of the axis labels.
 
virtual void LabelVisibilityOn ()
 Set/Get visibility of the axis labels.
 
virtual void LabelVisibilityOff ()
 Set/Get visibility of the axis labels.
 
virtual void SetTitleVisibility (vtkTypeBool)
 Set/Get visibility of the axis title.
 
virtual vtkTypeBool GetTitleVisibility ()
 Set/Get visibility of the axis title.
 
virtual void TitleVisibilityOn ()
 Set/Get visibility of the axis title.
 
virtual void TitleVisibilityOff ()
 Set/Get visibility of the axis title.
 
virtual void SetExponentVisibility (bool)
 Set/Get visibility of the axis detached exponent.
 
virtual bool GetExponentVisibility ()
 Set/Get visibility of the axis detached exponent.
 
virtual void ExponentVisibilityOn ()
 Set/Get visibility of the axis detached exponent.
 
virtual void ExponentVisibilityOff ()
 Set/Get visibility of the axis detached exponent.
 
virtual void SetLastMajorTickPointCorrection (bool)
 Set/Get visibility of the axis detached exponent.
 
virtual bool GetLastMajorTickPointCorrection ()
 Set/Get visibility of the axis detached exponent.
 
virtual void LastMajorTickPointCorrectionOn ()
 Set/Get visibility of the axis detached exponent.
 
virtual void LastMajorTickPointCorrectionOff ()
 Set/Get visibility of the axis detached exponent.
 
virtual void SetTitleAlignLocation (int location)
 Get/Set the alignment of the title related to the axis.
 
virtual int GetTitleAlignLocation ()
 Get/Set the alignment of the title related to the axis.
 
virtual void SetExponentLocation (int location)
 Get/Set the location of the Detached Exponent related to the axis.
 
virtual int GetExponentLocation ()
 Get/Set the location of the Detached Exponent related to the axis.
 
virtual void SetTitleTextProperty (vtkTextProperty *p)
 Set/Get the axis title text property.
 
virtual vtkTextPropertyGetTitleTextProperty ()
 Set/Get the axis title text property.
 
virtual void SetLabelTextProperty (vtkTextProperty *p)
 Set/Get the axis labels text property.
 
virtual vtkTextPropertyGetLabelTextProperty ()
 Set/Get the axis labels text property.
 
void SetAxisLinesProperty (vtkProperty *)
 Get/Set axis actor property (axis and its ticks) (kept for compatibility)
 
vtkPropertyGetAxisLinesProperty ()
 Get/Set axis actor property (axis and its ticks) (kept for compatibility)
 
void SetAxisMainLineProperty (vtkProperty *)
 Get/Set main line axis actor property.
 
vtkPropertyGetAxisMainLineProperty ()
 Get/Set main line axis actor property.
 
void SetAxisMajorTicksProperty (vtkProperty *)
 Get/Set axis actor property (axis and its ticks)
 
vtkPropertyGetAxisMajorTicksProperty ()
 Get/Set axis actor property (axis and its ticks)
 
void SetAxisMinorTicksProperty (vtkProperty *)
 Get/Set axis actor property (axis and its ticks)
 
vtkPropertyGetAxisMinorTicksProperty ()
 Get/Set axis actor property (axis and its ticks)
 
void SetGridlinesProperty (vtkProperty *)
 Get/Set gridlines actor property (outer grid lines)
 
vtkPropertyGetGridlinesProperty ()
 Get/Set gridlines actor property (outer grid lines)
 
void SetInnerGridlinesProperty (vtkProperty *)
 Get/Set inner gridlines actor property.
 
vtkPropertyGetInnerGridlinesProperty ()
 Get/Set inner gridlines actor property.
 
void SetGridpolysProperty (vtkProperty *)
 Get/Set gridPolys actor property (grid quads)
 
vtkPropertyGetGridpolysProperty ()
 Get/Set gridPolys actor property (grid quads)
 
virtual void SetDrawGridlines (vtkTypeBool)
 Set/Get whether gridlines should be drawn.
 
virtual vtkTypeBool GetDrawGridlines ()
 Set/Get whether gridlines should be drawn.
 
virtual void DrawGridlinesOn ()
 Set/Get whether gridlines should be drawn.
 
virtual void DrawGridlinesOff ()
 Set/Get whether gridlines should be drawn.
 
virtual void SetDrawGridlinesOnly (vtkTypeBool)
 Set/Get whether ONLY the gridlines should be drawn.
 
virtual vtkTypeBool GetDrawGridlinesOnly ()
 Set/Get whether ONLY the gridlines should be drawn.
 
virtual void DrawGridlinesOnlyOn ()
 Set/Get whether ONLY the gridlines should be drawn.
 
virtual void DrawGridlinesOnlyOff ()
 Set/Get whether ONLY the gridlines should be drawn.
 
virtual void SetDrawInnerGridlines (vtkTypeBool)
 Set/Get whether inner gridlines should be drawn.
 
virtual vtkTypeBool GetDrawInnerGridlines ()
 Set/Get whether inner gridlines should be drawn.
 
virtual void DrawInnerGridlinesOn ()
 Set/Get whether inner gridlines should be drawn.
 
virtual void DrawInnerGridlinesOff ()
 Set/Get whether inner gridlines should be drawn.
 
virtual void SetGridlineXLength (double)
 Set/Get the length to use when drawing gridlines.
 
virtual double GetGridlineXLength ()
 Set/Get the length to use when drawing gridlines.
 
virtual void SetGridlineYLength (double)
 Set/Get the length to use when drawing gridlines.
 
virtual double GetGridlineYLength ()
 Set/Get the length to use when drawing gridlines.
 
virtual void SetGridlineZLength (double)
 Set/Get the length to use when drawing gridlines.
 
virtual double GetGridlineZLength ()
 Set/Get the length to use when drawing gridlines.
 
virtual void SetDrawGridpolys (vtkTypeBool)
 Set/Get whether gridpolys should be drawn.
 
virtual vtkTypeBool GetDrawGridpolys ()
 Set/Get whether gridpolys should be drawn.
 
virtual void DrawGridpolysOn ()
 Set/Get whether gridpolys should be drawn.
 
virtual void DrawGridpolysOff ()
 Set/Get whether gridpolys should be drawn.
 
virtual void SetAxisType (int)
 Set/Get the type of this axis.
 
virtual int GetAxisType ()
 Set/Get the type of this axis.
 
void SetAxisTypeToX (void)
 Set/Get the type of this axis.
 
void SetAxisTypeToY (void)
 Set/Get the type of this axis.
 
void SetAxisTypeToZ (void)
 Set/Get the type of this axis.
 
virtual void SetLog (bool)
 Set/Get The type of scale, enable logarithmic scale or linear by default.
 
virtual bool GetLog ()
 Set/Get The type of scale, enable logarithmic scale or linear by default.
 
virtual void LogOn ()
 Set/Get The type of scale, enable logarithmic scale or linear by default.
 
virtual void LogOff ()
 Set/Get The type of scale, enable logarithmic scale or linear by default.
 
virtual void SetAxisPosition (int)
 Set/Get the position of this axis (in relation to an an assumed bounding box).
 
virtual int GetAxisPosition ()
 Set/Get the position of this axis (in relation to an an assumed bounding box).
 
virtual void SetCamera (vtkCamera *)
 Set/Get the camera for this axis.
 
virtual vtkCameraGetCamera ()
 Set/Get the camera for this axis.
 
int RenderOpaqueGeometry (vtkViewport *viewport) override
 Draw the axis.
 
virtual int RenderTranslucentGeometry (vtkViewport *viewport)
 Draw the axis.
 
int RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override
 Draw the axis.
 
int RenderOverlay (vtkViewport *viewport) override
 Draw the axis.
 
vtkTypeBool HasTranslucentPolygonalGeometry () override
 Draw the axis.
 
virtual void SetMinorStart (double)
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
virtual double GetMinorStart ()
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
double GetMajorStart (int axis)
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
void SetMajorStart (int axis, double value)
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
virtual void SetDeltaMinor (double)
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
virtual double GetDeltaMinor ()
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
double GetDeltaMajor (int axis)
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
void SetDeltaMajor (int axis, double value)
 Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.
 
virtual void SetMinorRangeStart (double)
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual double GetMinorRangeStart ()
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual void SetMajorRangeStart (double)
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual double GetMajorRangeStart ()
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual void SetDeltaRangeMinor (double)
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual double GetDeltaRangeMinor ()
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual void SetDeltaRangeMajor (double)
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual double GetDeltaRangeMajor ()
 Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.
 
virtual vtkAxisFollowerGetTitleActor ()
 Get title actor and it is responsible for drawing title text.
 
virtual vtkAxisFollowerGetExponentActor ()
 Get exponent follower actor.
 
virtual vtkProp3DAxisFollowerGetTitleProp3D ()
 Get title actor and it is responsible for drawing title text.
 
virtual vtkProp3DAxisFollowerGetExponentProp3D ()
 Get title actor and it is responsible for drawing title text.
 
virtual int GetNumberOfLabelsBuilt ()
 Get total number of labels built.
 
virtual void SetCalculateTitleOffset (vtkTypeBool)
 Set/Get flag whether to calculate title offset.
 
virtual vtkTypeBool GetCalculateTitleOffset ()
 Set/Get flag whether to calculate title offset.
 
virtual void CalculateTitleOffsetOn ()
 Set/Get flag whether to calculate title offset.
 
virtual void CalculateTitleOffsetOff ()
 Set/Get flag whether to calculate title offset.
 
virtual void SetCalculateLabelOffset (vtkTypeBool)
 Set/Get flag whether to calculate label offset.
 
virtual vtkTypeBool GetCalculateLabelOffset ()
 Set/Get flag whether to calculate label offset.
 
virtual void CalculateLabelOffsetOn ()
 Set/Get flag whether to calculate label offset.
 
virtual void CalculateLabelOffsetOff ()
 Set/Get flag whether to calculate label offset.
 
virtual void SetUse2DMode (int)
 Set/Get the 2D mode.
 
virtual int GetUse2DMode ()
 Set/Get the 2D mode.
 
virtual void SetVerticalOffsetXTitle2D (double)
 Set/Get the 2D mode the vertical offset for X title in 2D mode.
 
virtual double GetVerticalOffsetXTitle2D ()
 Set/Get the 2D mode the vertical offset for X title in 2D mode.
 
virtual void SetHorizontalOffsetYTitle2D (double)
 Set/Get the 2D mode the horizontal offset for Y title in 2D mode.
 
virtual double GetHorizontalOffsetYTitle2D ()
 Set/Get the 2D mode the horizontal offset for Y title in 2D mode.
 
virtual void SetSaveTitlePosition (int)
 Set/Get whether title position must be saved in 2D mode.
 
virtual int GetSaveTitlePosition ()
 Set/Get whether title position must be saved in 2D mode.
 
virtual void SetAxisBaseForX (double, double, double)
 Provide real vector for non aligned axis.
 
virtual void SetAxisBaseForX (double[3])
 Provide real vector for non aligned axis.
 
virtual double * GetAxisBaseForX ()
 Provide real vector for non aligned axis.
 
virtual void GetAxisBaseForX (double &, double &, double &)
 Provide real vector for non aligned axis.
 
virtual void GetAxisBaseForX (double[3])
 Provide real vector for non aligned axis.
 
virtual void SetAxisBaseForY (double, double, double)
 Provide real vector for non aligned axis.
 
virtual void SetAxisBaseForY (double[3])
 Provide real vector for non aligned axis.
 
virtual double * GetAxisBaseForY ()
 Provide real vector for non aligned axis.
 
virtual void GetAxisBaseForY (double &, double &, double &)
 Provide real vector for non aligned axis.
 
virtual void GetAxisBaseForY (double[3])
 Provide real vector for non aligned axis.
 
virtual void SetAxisBaseForZ (double, double, double)
 Provide real vector for non aligned axis.
 
virtual void SetAxisBaseForZ (double[3])
 Provide real vector for non aligned axis.
 
virtual double * GetAxisBaseForZ ()
 Provide real vector for non aligned axis.
 
virtual void GetAxisBaseForZ (double &, double &, double &)
 Provide real vector for non aligned axis.
 
virtual void GetAxisBaseForZ (double[3])
 Provide real vector for non aligned axis.
 
virtual void SetAxisOnOrigin (int)
 Notify the axes that is not part of a cube anymore.
 
virtual int GetAxisOnOrigin ()
 Notify the axes that is not part of a cube anymore.
 
virtual void SetLabelOffset (double)
 Set/Get the offsets used to position texts.
 
virtual double GetLabelOffset ()
 Set/Get the offsets used to position texts.
 
virtual void SetTitleOffset (double)
 Set/Get the offsets used to position texts.
 
virtual double GetTitleOffset ()
 Set/Get the offsets used to position texts.
 
virtual void SetExponentOffset (double)
 Set/Get the offsets used to position texts.
 
virtual double GetExponentOffset ()
 Set/Get the offsets used to position texts.
 
virtual void SetScreenSize (double)
 Set/Get the offsets used to position texts.
 
virtual double GetScreenSize ()
 Set/Get the offsets used to position texts.
 
- Public Member Functions inherited from vtkActor
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkActorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void GetActors (vtkPropCollection *) override
 For some exporters and other other operations we must be able to collect all the actors or volumes.
 
virtual void Render (vtkRenderer *, vtkMapper *)
 This causes the actor to be rendered.
 
void ShallowCopy (vtkProp *prop) override
 Shallow copy of an actor.
 
void ReleaseGraphicsResources (vtkWindow *) override
 Release any graphics resources that are being consumed by this actor.
 
virtual vtkPropertyMakeProperty ()
 Create a new property suitable for use with this type of Actor.
 
virtual void SetMapper (vtkMapper *)
 This is the method that is used to connect an actor to the end of a visualization pipeline, i.e.
 
double * GetBounds () override
 Return a reference to the Prop3D's composite transform.
 
virtual void ApplyProperties ()
 Apply the current properties to all parts that compose this actor.
 
vtkMTimeType GetMTime () override
 Get the actors mtime plus consider its properties and texture if set.
 
vtkMTimeType GetRedrawMTime () override
 Return the mtime of anything that would cause the rendered image to appear differently.
 
bool GetSupportsSelection () override
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.
 
void ProcessSelectorPixelBuffers (vtkHardwareSelector *sel, std::vector< unsigned int > &pixeloffsets) override
 allows a prop to update a selections color buffers Default just forwards to the Mapper
 
void GetBounds (double bounds[6])
 Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
double * GetBounds () override=0
 Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
int RenderOpaqueGeometry (vtkViewport *viewport) override
 Support the standard render methods.
 
int RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override
 Support the standard render methods.
 
vtkTypeBool HasTranslucentPolygonalGeometry () override
 Does this prop have some opaque/translucent polygonal geometry?
 
vtkTypeBool HasOpaqueGeometry () override
 Does this prop have some opaque/translucent polygonal geometry?
 
void SetProperty (vtkProperty *lut)
 Set/Get the property object that controls this actors surface properties.
 
vtkPropertyGetProperty ()
 Set/Get the property object that controls this actors surface properties.
 
void SetBackfaceProperty (vtkProperty *lut)
 Set/Get the property object that controls this actors backface surface properties.
 
virtual vtkPropertyGetBackfaceProperty ()
 Set/Get the property object that controls this actors backface surface properties.
 
virtual void SetTexture (vtkTexture *)
 Set/Get the texture object to control rendering texture maps.
 
virtual vtkTextureGetTexture ()
 Set/Get the texture object to control rendering texture maps.
 
virtual vtkMapperGetMapper ()
 Returns the Mapper that this actor is getting its data from.
 
virtual bool GetForceOpaque ()
 Force the actor to be treated as opaque or translucent.
 
virtual void SetForceOpaque (bool)
 Force the actor to be treated as opaque or translucent.
 
virtual void ForceOpaqueOn ()
 Force the actor to be treated as opaque or translucent.
 
virtual void ForceOpaqueOff ()
 Force the actor to be treated as opaque or translucent.
 
virtual bool GetForceTranslucent ()
 Force the actor to be treated as opaque or translucent.
 
virtual void SetForceTranslucent (bool)
 Force the actor to be treated as opaque or translucent.
 
virtual void ForceTranslucentOn ()
 Force the actor to be treated as opaque or translucent.
 
virtual void ForceTranslucentOff ()
 Force the actor to be treated as opaque or translucent.
 
bool IsRenderingTranslucentPolygonalGeometry () override
 
void SetIsRenderingTranslucentPolygonalGeometry (bool val)
 
- Public Member Functions inherited from vtkProp3D
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkProp3DNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void ShallowCopy (vtkProp *prop) override
 Shallow copy of this vtkProp3D.
 
virtual void SetPosition (double pos[3])
 
virtual double * GetPosition ()
 
virtual void GetPosition (double data[3])
 
void AddPosition (double deltaPosition[3])
 
void AddPosition (double deltaX, double deltaY, double deltaZ)
 
void SetScale (double s)
 Method to set the scale isotropically.
 
double * GetCenter ()
 Get the center of the bounding box in world coordinates.
 
double * GetXRange ()
 Get the Prop3D's x range in world coordinates.
 
double * GetYRange ()
 Get the Prop3D's y range in world coordinates.
 
double * GetZRange ()
 Get the Prop3D's z range in world coordinates.
 
double GetLength ()
 Get the length of the diagonal of the bounding box.
 
void RotateX (double)
 Rotate the Prop3D in degrees about the X axis using the right hand rule.
 
void RotateY (double)
 Rotate the Prop3D in degrees about the Y axis using the right hand rule.
 
void RotateZ (double)
 Rotate the Prop3D in degrees about the Z axis using the right hand rule.
 
void RotateWXYZ (double w, double x, double y, double z)
 Rotate the Prop3D in degrees about an arbitrary axis specified by the last three arguments.
 
void SetOrientation (double x, double y, double z)
 Sets the orientation of the Prop3D.
 
void SetOrientation (double orientation[3])
 Sets the orientation of the Prop3D.
 
double * GetOrientationWXYZ ()
 Returns the WXYZ orientation of the Prop3D.
 
void AddOrientation (double x, double y, double z)
 Add to the current orientation.
 
void AddOrientation (double orentation[3])
 Add to the current orientation.
 
void PokeMatrix (vtkMatrix4x4 *matrix) override
 This method modifies the vtkProp3D so that its transformation state is set to the matrix specified.
 
void InitPathTraversal () override
 Overload vtkProp's method for setting up assembly paths.
 
vtkMTimeType GetMTime () override
 Get the vtkProp3D's mtime.
 
vtkMTimeType GetUserTransformMatrixMTime ()
 Get the modified time of the user matrix or user transform.
 
virtual void ComputeMatrix ()
 Generate the matrix based on ivars.
 
virtual void SetPosition (double x, double y, double z)
 Set/Get/Add the position of the Prop3D in world coordinates.
 
virtual void SetOrigin (double x, double y, double z)
 Set/Get the origin of the Prop3D.
 
virtual void SetOrigin (const double pos[3])
 Set/Get the origin of the Prop3D.
 
virtual double * GetOrigin ()
 Set/Get the origin of the Prop3D.
 
virtual void GetOrigin (double data[3])
 Set/Get the origin of the Prop3D.
 
virtual void SetScale (double x, double y, double z)
 Set/Get the scale of the actor.
 
virtual void SetScale (double scale[3])
 Set/Get the scale of the actor.
 
virtual double * GetScale ()
 Set/Get the scale of the actor.
 
virtual void GetScale (double data[3])
 Set/Get the scale of the actor.
 
void SetUserTransform (vtkLinearTransform *transform)
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use.
 
virtual vtkLinearTransformGetUserTransform ()
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use.
 
void SetUserMatrix (vtkMatrix4x4 *matrix)
 The UserMatrix can be used in place of UserTransform.
 
vtkMatrix4x4GetUserMatrix ()
 The UserMatrix can be used in place of UserTransform.
 
virtual void GetMatrix (vtkMatrix4x4 *result)
 Return a reference to the Prop3D's 4x4 composite matrix.
 
virtual void GetMatrix (double result[16])
 Return a reference to the Prop3D's 4x4 composite matrix.
 
void GetBounds (double bounds[6])
 Return a reference to the Prop3D's composite transform.
 
double * GetOrientation ()
 Returns the orientation of the Prop3D as s vector of X,Y and Z rotation.
 
void GetOrientation (double orentation[3])
 Returns the orientation of the Prop3D as s vector of X,Y and Z rotation.
 
vtkMatrix4x4GetMatrix () override
 Get a pointer to an internal vtkMatrix4x4.
 
virtual int GetIsIdentity ()
 Is the matrix for this actor identity.
 
- Public Member Functions inherited from vtkProp
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkPropNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
virtual void GetActors (vtkPropCollection *)
 For some exporters and other other operations we must be able to collect all the actors or volumes.
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual void Pick ()
 Method fires PickEvent if the prop is picked.
 
virtual vtkMTimeType GetRedrawMTime ()
 Return the mtime of anything that would cause the rendered image to appear differently.
 
virtual double * GetBounds ()
 Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
 
virtual void ShallowCopy (vtkProp *prop)
 Shallow copy of this vtkProp.
 
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
 These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering.
 
virtual vtkMatrix4x4GetMatrix ()
 
virtual bool HasKeys (vtkInformation *requiredKeys)
 Tells if the prop has all the required keys.
 
virtual int RenderOpaqueGeometry (vtkViewport *)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete subclasses must be able to render themselves.
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
 
virtual int RenderVolumetricGeometry (vtkViewport *)
 
virtual int RenderOverlay (vtkViewport *)
 
virtual bool RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 Render the opaque geometry only if the prop has all the requiredKeys.
 
virtual bool RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 Render the translucent polygonal geometry only if the prop has all the requiredKeys.
 
virtual bool RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 Render the volumetric geometry only if the prop has all the requiredKeys.
 
virtual bool RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys)
 Render in the overlay of the viewport only if the prop has all the requiredKeys.
 
virtual vtkTypeBool HasTranslucentPolygonalGeometry ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop have some translucent polygonal geometry? This method is called during the rendering process to know if there is some translucent polygonal geometry.
 
virtual vtkTypeBool HasOpaqueGeometry ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop have some opaque geometry? This method is called during the rendering process to know if there is some opaque geometry.
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this actor.
 
virtual double GetEstimatedRenderTime (vtkViewport *)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS The EstimatedRenderTime may be used to select between different props, for example in LODProp it is used to select the level-of-detail.
 
virtual double GetEstimatedRenderTime ()
 
virtual void SetEstimatedRenderTime (double t)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS This method is used by, for example, the vtkLODProp3D in order to initialize the estimated render time at start-up to some user defined value.
 
virtual void RestoreEstimatedRenderTime ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS When the EstimatedRenderTime is first set to 0.0 (in the SetAllocatedRenderTime method) the old value is saved.
 
virtual void AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp))
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS This method is intended to allow the renderer to add to the EstimatedRenderTime in props that require information that the renderer has in order to do this.
 
void SetRenderTimeMultiplier (double t)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Get/Set the multiplier for the render time.
 
virtual double GetRenderTimeMultiplier ()
 
virtual void BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path)
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used to construct assembly paths and perform part traversal.
 
virtual bool GetSupportsSelection ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.
 
virtual void ProcessSelectorPixelBuffers (vtkHardwareSelector *, std::vector< unsigned int > &)
 allows a prop to update a selections color buffers
 
virtual void SetVisibility (vtkTypeBool)
 Set/Get visibility of this vtkProp.
 
virtual vtkTypeBool GetVisibility ()
 Set/Get visibility of this vtkProp.
 
virtual void VisibilityOn ()
 Set/Get visibility of this vtkProp.
 
virtual void VisibilityOff ()
 Set/Get visibility of this vtkProp.
 
virtual void SetPickable (vtkTypeBool)
 Set/Get the pickable instance variable.
 
virtual vtkTypeBool GetPickable ()
 Set/Get the pickable instance variable.
 
virtual void PickableOn ()
 Set/Get the pickable instance variable.
 
virtual void PickableOff ()
 Set/Get the pickable instance variable.
 
virtual void SetDragable (vtkTypeBool)
 Set/Get the value of the dragable instance variable.
 
virtual vtkTypeBool GetDragable ()
 Set/Get the value of the dragable instance variable.
 
virtual void DragableOn ()
 Set/Get the value of the dragable instance variable.
 
virtual void DragableOff ()
 Set/Get the value of the dragable instance variable.
 
virtual void SetUseBounds (bool)
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera().
 
virtual bool GetUseBounds ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera().
 
virtual void UseBoundsOn ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera().
 
virtual void UseBoundsOff ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera().
 
virtual vtkAssemblyPathGetNextPath ()
 vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker).
 
virtual int GetNumberOfPaths ()
 vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker).
 
virtual vtkInformationGetPropertyKeys ()
 Set/Get property keys.
 
virtual void SetPropertyKeys (vtkInformation *keys)
 Set/Get property keys.
 
virtual void SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v))
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS The renderer may use the allocated rendering time to determine how to render this actor.
 
virtual double GetAllocatedRenderTime ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS.
 
virtual int GetNumberOfConsumers ()
 Get the number of consumers.
 
void AddConsumer (vtkObject *c)
 Add or remove or get or check a consumer,.
 
void RemoveConsumer (vtkObject *c)
 Add or remove or get or check a consumer,.
 
vtkObjectGetConsumer (int i)
 Add or remove or get or check a consumer,.
 
int IsConsumer (vtkObject *c)
 Add or remove or get or check a consumer,.
 
virtual void SetShaderProperty (vtkShaderProperty *property)
 Set/Get the shader property.
 
virtual vtkShaderPropertyGetShaderProperty ()
 Set/Get the shader property.
 
- Public Member Functions inherited from vtkObject
 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.
 
vtkCommandGetCommand (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.
 
- Public Member Functions inherited from vtkObjectBase
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.
 

Static Public Member Functions

static vtkTypeBool IsTypeOf (const char *type)
 
static vtkAxisActorSafeDownCast (vtkObjectBase *o)
 
static vtkAxisActorNew ()
 Instantiate object.
 
- Static Public Member Functions inherited from vtkActor
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkActorSafeDownCast (vtkObjectBase *o)
 
static vtkActorNew ()
 Creates an actor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0).
 
- Static Public Member Functions inherited from vtkProp3D
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkProp3DSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkProp
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkPropSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyGeneralTextureUnit ()
 Optional Key Indicating the texture unit for general texture mapping Old OpenGL was a state machine where you would push or pop items.
 
static vtkInformationDoubleVectorKeyGeneralTextureTransform ()
 Optional Key Indicating the texture transform for general texture mapping Old OpenGL was a state machine where you would push or pop items.
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes.
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a 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).
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkAxisActor ()
 
 ~vtkAxisActor () override
 
- Protected Member Functions inherited from vtkActor
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkActor ()
 
 ~vtkActor () override
 
int GetIsOpaque ()
 
- Protected Member Functions inherited from vtkProp3D
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkProp3D ()
 
 ~vtkProp3D () override
 
- Protected Member Functions inherited from vtkProp
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkProp ()
 
 ~vtkProp () override
 
- Protected Member Functions inherited from vtkObject
 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.
 
- Protected Member Functions inherited from vtkObjectBase
 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 &)
 

Protected Attributes

char * Title
 
char * Exponent
 
double Range [2]
 
double LastRange [2]
 
char * LabelFormat
 
int UseTextActor3D
 
int NumberOfLabelsBuilt
 
vtkTypeBool MinorTicksVisible
 
int LastMinorTicksVisible
 
int TickLocation
 The location of the ticks.
 
int TitleAlignLocation
 Hold the alignment property of the title related to the axis.
 
int ExponentLocation
 Hold the alignment property of the exponent coming from the label values.
 
vtkTypeBool DrawGridlines
 
vtkTypeBool DrawGridlinesOnly
 
int LastDrawGridlines
 
int DrawGridlinesLocation
 
int LastDrawGridlinesLocation
 
double GridlineXLength
 
double GridlineYLength
 
double GridlineZLength
 
vtkTypeBool DrawInnerGridlines
 
int LastDrawInnerGridlines
 
vtkTypeBool DrawGridpolys
 
int LastDrawGridpolys
 
vtkTypeBool AxisVisibility
 
vtkTypeBool TickVisibility
 
int LastTickVisibility
 
vtkTypeBool LabelVisibility
 
vtkTypeBool TitleVisibility
 
bool ExponentVisibility
 
bool LastMajorTickPointCorrection
 
bool Log
 
int AxisType
 
int AxisPosition
 
double AxisBaseForX [3]
 
double AxisBaseForY [3]
 
double AxisBaseForZ [3]
 
- Protected Attributes inherited from vtkActor
bool ForceOpaque
 
bool ForceTranslucent
 
bool InTranslucentPass
 
vtkPropertyProperty
 
vtkPropertyBackfaceProperty
 
vtkTextureTexture
 
vtkMapperMapper
 
double MapperBounds [6]
 
vtkTimeStamp BoundsMTime
 
- Protected Attributes inherited from vtkProp3D
vtkLinearTransformUserTransform
 
vtkMatrix4x4UserMatrix
 
vtkMatrix4x4Matrix
 
vtkTimeStamp MatrixMTime
 
double Origin [3]
 
double Position [3]
 
double Orientation [3]
 
double Scale [3]
 
double Center [3]
 
vtkTransformTransform
 
double Bounds [6]
 
vtkProp3DCachedProp3D
 
int IsIdentity
 
- Protected Attributes inherited from vtkProp
vtkTypeBool Visibility
 
vtkTypeBool Pickable
 
vtkTypeBool Dragable
 
bool UseBounds
 
double AllocatedRenderTime
 
double EstimatedRenderTime
 
double SavedEstimatedRenderTime
 
double RenderTimeMultiplier
 
int NumberOfConsumers
 
vtkObject ** Consumers
 
vtkAssemblyPathsPaths
 
vtkInformationPropertyKeys
 
vtkShaderPropertyShaderProperty
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 

Detailed Description

Create an axis with tick marks and labels.

vtkAxisActor creates an axis with tick marks, labels, and/or a title, depending on the particular instance variable settings. It is assumed that the axes is part of a bounding box and is orthogonal to one of the coordinate axes. To use this class, you typically specify two points defining the start and end points of the line (xyz definition using vtkCoordinate class), the axis type (X, Y or Z), the axis location in relation to the bounding box, the bounding box, the number of labels, and the data range (min,max). You can also control what parts of the axis are visible including the line, the tick marks, the labels, and the title. It is also possible to control gridlines, and specify on which 'side' the tickmarks are drawn (again with respect to the underlying assumed bounding box). You can also specify the label format (a printf style format).

This class decides how to locate the labels, and how to create reasonable tick marks and labels.

Labels follow the camera so as to be legible from any viewpoint.

The instance variables Point1 and Point2 are instances of vtkCoordinate. All calculations and references are in World Coordinates.

Thanks:
This class was written by: Hank Childs, Kathleen Bonnell, Amy Squillacote, Brad Whitlock, Eric Brugger, Claire Guilbaud, Nicolas Dolegieviez, Will Schroeder, Karthik Krishnan, Aashish Chaudhary, Philippe Pebay, David Gobbi, David Partyka, Utkarsh Ayachit David Cole, Francois Bertel, and Mark Olesen Part of this work was supported by CEA/DIF - Commissariat a l'Energie Atomique, Centre DAM Ile-De-France, BP12, F-91297 Arpajon, France.
See also
vtkActor vtkVectorText vtkPolyDataMapper vtkAxisActor2D vtkCoordinate
Online Examples:

Definition at line 90 of file vtkAxisActor.h.

Member Typedef Documentation

◆ Superclass

Definition at line 93 of file vtkAxisActor.h.

Member Enumeration Documentation

◆ TickLocation

Enumerator
VTK_TICKS_INSIDE 
VTK_TICKS_OUTSIDE 
VTK_TICKS_BOTH 

Definition at line 201 of file vtkAxisActor.h.

◆ AlignLocation

Enumerator
VTK_ALIGN_TOP 
VTK_ALIGN_BOTTOM 
VTK_ALIGN_POINT1 
VTK_ALIGN_POINT2 

Definition at line 276 of file vtkAxisActor.h.

◆ AxisType

Enumerator
VTK_AXIS_TYPE_X 
VTK_AXIS_TYPE_Y 
VTK_AXIS_TYPE_Z 

Definition at line 427 of file vtkAxisActor.h.

◆ AxisPosition

Enumerator
VTK_AXIS_POS_MINMIN 
VTK_AXIS_POS_MINMAX 
VTK_AXIS_POS_MAXMAX 
VTK_AXIS_POS_MAXMIN 

Definition at line 445 of file vtkAxisActor.h.

Constructor & Destructor Documentation

◆ vtkAxisActor()

vtkAxisActor::vtkAxisActor ( )
protected

◆ ~vtkAxisActor()

vtkAxisActor::~vtkAxisActor ( )
overrideprotected

Member Function Documentation

◆ IsTypeOf()

static vtkTypeBool vtkAxisActor::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkAxisActor::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

◆ SafeDownCast()

static vtkAxisActor * vtkAxisActor::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkAxisActor::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkActor.

◆ NewInstance()

vtkAxisActor * vtkAxisActor::NewInstance ( ) const

◆ PrintSelf()

void vtkAxisActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

◆ New()

static vtkAxisActor * vtkAxisActor::New ( )
static

Instantiate object.

◆ GetPoint1Coordinate()

virtual vtkCoordinate * vtkAxisActor::GetPoint1Coordinate ( )
virtual

Specify the position of the first point defining the axis.

◆ SetPoint1() [1/2]

virtual void vtkAxisActor::SetPoint1 ( double  x[3])
inlinevirtual

Specify the position of the first point defining the axis.

Definition at line 106 of file vtkAxisActor.h.

◆ SetPoint1() [2/2]

virtual void vtkAxisActor::SetPoint1 ( double  x,
double  y,
double  z 
)
virtual

Specify the position of the first point defining the axis.

◆ GetPoint1()

virtual double * vtkAxisActor::GetPoint1 ( )
virtual

Specify the position of the first point defining the axis.

◆ GetPoint2Coordinate()

virtual vtkCoordinate * vtkAxisActor::GetPoint2Coordinate ( )
virtual

Specify the position of the second point defining the axis.

◆ SetPoint2() [1/2]

virtual void vtkAxisActor::SetPoint2 ( double  x[3])
inlinevirtual

Specify the position of the second point defining the axis.

Definition at line 116 of file vtkAxisActor.h.

◆ SetPoint2() [2/2]

virtual void vtkAxisActor::SetPoint2 ( double  x,
double  y,
double  z 
)
virtual

Specify the position of the second point defining the axis.

◆ GetPoint2()

virtual double * vtkAxisActor::GetPoint2 ( )
virtual

Specify the position of the second point defining the axis.

◆ SetRange() [1/2]

virtual void vtkAxisActor::SetRange ( double  ,
double   
)
virtual

Specify the (min,max) axis range.

This will be used in the generation of labels, if labels are visible.

◆ SetRange() [2/2]

void vtkAxisActor::SetRange ( double  [2])

Specify the (min,max) axis range.

This will be used in the generation of labels, if labels are visible.

◆ GetRange() [1/2]

virtual double * vtkAxisActor::GetRange ( )
virtual

Specify the (min,max) axis range.

This will be used in the generation of labels, if labels are visible.

◆ GetRange() [2/2]

virtual void vtkAxisActor::GetRange ( double  data[2])
virtual

Specify the (min,max) axis range.

This will be used in the generation of labels, if labels are visible.

◆ SetBounds() [1/2]

void vtkAxisActor::SetBounds ( const double  bounds[6])

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

◆ SetBounds() [2/2]

void vtkAxisActor::SetBounds ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
)

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

◆ GetBounds() [1/2]

double * vtkAxisActor::GetBounds ( void  )
overridevirtual

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

Implements vtkProp3D.

◆ GetBounds() [2/2]

void vtkAxisActor::GetBounds ( double  bounds[6])

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

◆ SetLabelFormat()

virtual void vtkAxisActor::SetLabelFormat ( const char *  )
virtual

Set/Get the format with which to print the labels on the axis.

◆ GetLabelFormat()

virtual char * vtkAxisActor::GetLabelFormat ( )
virtual

Set/Get the format with which to print the labels on the axis.

◆ SetUseTextActor3D()

virtual void vtkAxisActor::SetUseTextActor3D ( int  )
virtual

Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).

In 2D mode, the value is ignored and text is rendered as vtkTextActor. False(0) by default. See Also: GetUse2DMode(), SetUse2DMode

◆ GetUseTextActor3D()

virtual int vtkAxisActor::GetUseTextActor3D ( )
virtual

Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).

In 2D mode, the value is ignored and text is rendered as vtkTextActor. False(0) by default. See Also: GetUse2DMode(), SetUse2DMode

◆ SetMinorTicksVisible()

virtual void vtkAxisActor::SetMinorTicksVisible ( vtkTypeBool  )
virtual

Set/Get the flag that controls whether the minor ticks are visible.

◆ GetMinorTicksVisible()

virtual vtkTypeBool vtkAxisActor::GetMinorTicksVisible ( )
virtual

Set/Get the flag that controls whether the minor ticks are visible.

◆ MinorTicksVisibleOn()

virtual void vtkAxisActor::MinorTicksVisibleOn ( )
virtual

Set/Get the flag that controls whether the minor ticks are visible.

◆ MinorTicksVisibleOff()

virtual void vtkAxisActor::MinorTicksVisibleOff ( )
virtual

Set/Get the flag that controls whether the minor ticks are visible.

◆ SetTitle()

void vtkAxisActor::SetTitle ( const char *  t)

Set/Get the title of the axis actor,.

◆ GetTitle()

virtual char * vtkAxisActor::GetTitle ( )
virtual

Set/Get the title of the axis actor,.

◆ SetExponent()

void vtkAxisActor::SetExponent ( const char *  t)

Set/Get the common exponent of the labels values.

◆ GetExponent()

virtual char * vtkAxisActor::GetExponent ( )
virtual

Set/Get the common exponent of the labels values.

◆ SetMajorTickSize()

virtual void vtkAxisActor::SetMajorTickSize ( double  )
virtual

Set/Get the size of the major tick marks.

◆ GetMajorTickSize()

virtual double vtkAxisActor::GetMajorTickSize ( )
virtual

Set/Get the size of the major tick marks.

◆ SetMinorTickSize()

virtual void vtkAxisActor::SetMinorTickSize ( double  )
virtual

Set/Get the size of the major tick marks.

◆ GetMinorTickSize()

virtual double vtkAxisActor::GetMinorTickSize ( )
virtual

Set/Get the size of the major tick marks.

◆ SetTickLocation()

virtual void vtkAxisActor::SetTickLocation ( int  )
virtual

Set/Get the location of the ticks.

Inside: tick end toward positive direction of perpendicular axes. Outside: tick end toward negative direction of perpendicular axes.

◆ GetTickLocation()

virtual int vtkAxisActor::GetTickLocation ( )
virtual

Set/Get the location of the ticks.

Inside: tick end toward positive direction of perpendicular axes. Outside: tick end toward negative direction of perpendicular axes.

◆ SetTickLocationToInside()

void vtkAxisActor::SetTickLocationToInside ( void  )
inline

Definition at line 218 of file vtkAxisActor.h.

◆ SetTickLocationToOutside()

void vtkAxisActor::SetTickLocationToOutside ( void  )
inline

Definition at line 219 of file vtkAxisActor.h.

◆ SetTickLocationToBoth()

void vtkAxisActor::SetTickLocationToBoth ( void  )
inline

Definition at line 220 of file vtkAxisActor.h.

◆ SetAxisVisibility()

virtual void vtkAxisActor::SetAxisVisibility ( vtkTypeBool  )
virtual

Set/Get visibility of the axis line.

◆ GetAxisVisibility()

virtual vtkTypeBool vtkAxisActor::GetAxisVisibility ( )
virtual

Set/Get visibility of the axis line.

◆ AxisVisibilityOn()

virtual void vtkAxisActor::AxisVisibilityOn ( )
virtual

Set/Get visibility of the axis line.

◆ AxisVisibilityOff()

virtual void vtkAxisActor::AxisVisibilityOff ( )
virtual

Set/Get visibility of the axis line.

◆ SetTickVisibility()

virtual void vtkAxisActor::SetTickVisibility ( vtkTypeBool  )
virtual

Set/Get visibility of the axis major tick marks.

◆ GetTickVisibility()

virtual vtkTypeBool vtkAxisActor::GetTickVisibility ( )
virtual

Set/Get visibility of the axis major tick marks.

◆ TickVisibilityOn()

virtual void vtkAxisActor::TickVisibilityOn ( )
virtual

Set/Get visibility of the axis major tick marks.

◆ TickVisibilityOff()

virtual void vtkAxisActor::TickVisibilityOff ( )
virtual

Set/Get visibility of the axis major tick marks.

◆ SetLabelVisibility()

virtual void vtkAxisActor::SetLabelVisibility ( vtkTypeBool  )
virtual

Set/Get visibility of the axis labels.

◆ GetLabelVisibility()

virtual vtkTypeBool vtkAxisActor::GetLabelVisibility ( )
virtual

Set/Get visibility of the axis labels.

◆ LabelVisibilityOn()

virtual void vtkAxisActor::LabelVisibilityOn ( )
virtual

Set/Get visibility of the axis labels.

◆ LabelVisibilityOff()

virtual void vtkAxisActor::LabelVisibilityOff ( )
virtual

Set/Get visibility of the axis labels.

◆ SetTitleVisibility()

virtual void vtkAxisActor::SetTitleVisibility ( vtkTypeBool  )
virtual

Set/Get visibility of the axis title.

◆ GetTitleVisibility()

virtual vtkTypeBool vtkAxisActor::GetTitleVisibility ( )
virtual

Set/Get visibility of the axis title.

◆ TitleVisibilityOn()

virtual void vtkAxisActor::TitleVisibilityOn ( )
virtual

Set/Get visibility of the axis title.

◆ TitleVisibilityOff()

virtual void vtkAxisActor::TitleVisibilityOff ( )
virtual

Set/Get visibility of the axis title.

◆ SetExponentVisibility()

virtual void vtkAxisActor::SetExponentVisibility ( bool  )
virtual

Set/Get visibility of the axis detached exponent.

◆ GetExponentVisibility()

virtual bool vtkAxisActor::GetExponentVisibility ( )
virtual

Set/Get visibility of the axis detached exponent.

◆ ExponentVisibilityOn()

virtual void vtkAxisActor::ExponentVisibilityOn ( )
virtual

Set/Get visibility of the axis detached exponent.

◆ ExponentVisibilityOff()

virtual void vtkAxisActor::ExponentVisibilityOff ( )
virtual

Set/Get visibility of the axis detached exponent.

◆ SetLastMajorTickPointCorrection()

virtual void vtkAxisActor::SetLastMajorTickPointCorrection ( bool  )
virtual

Set/Get visibility of the axis detached exponent.

◆ GetLastMajorTickPointCorrection()

virtual bool vtkAxisActor::GetLastMajorTickPointCorrection ( )
virtual

Set/Get visibility of the axis detached exponent.

◆ LastMajorTickPointCorrectionOn()

virtual void vtkAxisActor::LastMajorTickPointCorrectionOn ( )
virtual

Set/Get visibility of the axis detached exponent.

◆ LastMajorTickPointCorrectionOff()

virtual void vtkAxisActor::LastMajorTickPointCorrectionOff ( )
virtual

Set/Get visibility of the axis detached exponent.

◆ SetTitleAlignLocation()

virtual void vtkAxisActor::SetTitleAlignLocation ( int  location)
virtual

Get/Set the alignment of the title related to the axis.

Possible Alignment: VTK_ALIGN_TOP, VTK_ALIGN_BOTTOM, VTK_ALIGN_POINT1, VTK_ALIGN_POINT2

◆ GetTitleAlignLocation()

virtual int vtkAxisActor::GetTitleAlignLocation ( )
virtual

Get/Set the alignment of the title related to the axis.

Possible Alignment: VTK_ALIGN_TOP, VTK_ALIGN_BOTTOM, VTK_ALIGN_POINT1, VTK_ALIGN_POINT2

◆ SetExponentLocation()

virtual void vtkAxisActor::SetExponentLocation ( int  location)
virtual

Get/Set the location of the Detached Exponent related to the axis.

Possible Location: VTK_ALIGN_TOP, VTK_ALIGN_BOTTOM, VTK_ALIGN_POINT1, VTK_ALIGN_POINT2

◆ GetExponentLocation()

virtual int vtkAxisActor::GetExponentLocation ( )
virtual

Get/Set the location of the Detached Exponent related to the axis.

Possible Location: VTK_ALIGN_TOP, VTK_ALIGN_BOTTOM, VTK_ALIGN_POINT1, VTK_ALIGN_POINT2

◆ SetTitleTextProperty()

virtual void vtkAxisActor::SetTitleTextProperty ( vtkTextProperty p)
virtual

Set/Get the axis title text property.

◆ GetTitleTextProperty()

virtual vtkTextProperty * vtkAxisActor::GetTitleTextProperty ( )
virtual

Set/Get the axis title text property.

◆ SetLabelTextProperty()

virtual void vtkAxisActor::SetLabelTextProperty ( vtkTextProperty p)
virtual

Set/Get the axis labels text property.

◆ GetLabelTextProperty()

virtual vtkTextProperty * vtkAxisActor::GetLabelTextProperty ( )
virtual

Set/Get the axis labels text property.

◆ SetAxisLinesProperty()

void vtkAxisActor::SetAxisLinesProperty ( vtkProperty )

Get/Set axis actor property (axis and its ticks) (kept for compatibility)

◆ GetAxisLinesProperty()

vtkProperty * vtkAxisActor::GetAxisLinesProperty ( )

Get/Set axis actor property (axis and its ticks) (kept for compatibility)

◆ SetAxisMainLineProperty()

void vtkAxisActor::SetAxisMainLineProperty ( vtkProperty )

Get/Set main line axis actor property.

◆ GetAxisMainLineProperty()

vtkProperty * vtkAxisActor::GetAxisMainLineProperty ( )

Get/Set main line axis actor property.

◆ SetAxisMajorTicksProperty()

void vtkAxisActor::SetAxisMajorTicksProperty ( vtkProperty )

Get/Set axis actor property (axis and its ticks)

◆ GetAxisMajorTicksProperty()

vtkProperty * vtkAxisActor::GetAxisMajorTicksProperty ( )

Get/Set axis actor property (axis and its ticks)

◆ SetAxisMinorTicksProperty()

void vtkAxisActor::SetAxisMinorTicksProperty ( vtkProperty )

Get/Set axis actor property (axis and its ticks)

◆ GetAxisMinorTicksProperty()

vtkProperty * vtkAxisActor::GetAxisMinorTicksProperty ( )

Get/Set axis actor property (axis and its ticks)

◆ SetGridlinesProperty()

void vtkAxisActor::SetGridlinesProperty ( vtkProperty )

Get/Set gridlines actor property (outer grid lines)

◆ GetGridlinesProperty()

vtkProperty * vtkAxisActor::GetGridlinesProperty ( )

Get/Set gridlines actor property (outer grid lines)

◆ SetInnerGridlinesProperty()

void vtkAxisActor::SetInnerGridlinesProperty ( vtkProperty )

Get/Set inner gridlines actor property.

◆ GetInnerGridlinesProperty()

vtkProperty * vtkAxisActor::GetInnerGridlinesProperty ( )

Get/Set inner gridlines actor property.

◆ SetGridpolysProperty()

void vtkAxisActor::SetGridpolysProperty ( vtkProperty )

Get/Set gridPolys actor property (grid quads)

◆ GetGridpolysProperty()

vtkProperty * vtkAxisActor::GetGridpolysProperty ( )

Get/Set gridPolys actor property (grid quads)

◆ SetDrawGridlines()

virtual void vtkAxisActor::SetDrawGridlines ( vtkTypeBool  )
virtual

Set/Get whether gridlines should be drawn.

◆ GetDrawGridlines()

virtual vtkTypeBool vtkAxisActor::GetDrawGridlines ( )
virtual

Set/Get whether gridlines should be drawn.

◆ DrawGridlinesOn()

virtual void vtkAxisActor::DrawGridlinesOn ( )
virtual

Set/Get whether gridlines should be drawn.

◆ DrawGridlinesOff()

virtual void vtkAxisActor::DrawGridlinesOff ( )
virtual

Set/Get whether gridlines should be drawn.

◆ SetDrawGridlinesOnly()

virtual void vtkAxisActor::SetDrawGridlinesOnly ( vtkTypeBool  )
virtual

Set/Get whether ONLY the gridlines should be drawn.

This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

◆ GetDrawGridlinesOnly()

virtual vtkTypeBool vtkAxisActor::GetDrawGridlinesOnly ( )
virtual

Set/Get whether ONLY the gridlines should be drawn.

This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

◆ DrawGridlinesOnlyOn()

virtual void vtkAxisActor::DrawGridlinesOnlyOn ( )
virtual

Set/Get whether ONLY the gridlines should be drawn.

This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

◆ DrawGridlinesOnlyOff()

virtual void vtkAxisActor::DrawGridlinesOnlyOff ( )
virtual

Set/Get whether ONLY the gridlines should be drawn.

This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

◆ SetDrawGridlinesLocation()

virtual void vtkAxisActor::SetDrawGridlinesLocation ( int  )
virtual

◆ GetDrawGridlinesLocation()

virtual int vtkAxisActor::GetDrawGridlinesLocation ( )
virtual

◆ SetDrawInnerGridlines()

virtual void vtkAxisActor::SetDrawInnerGridlines ( vtkTypeBool  )
virtual

Set/Get whether inner gridlines should be drawn.

◆ GetDrawInnerGridlines()

virtual vtkTypeBool vtkAxisActor::GetDrawInnerGridlines ( )
virtual

Set/Get whether inner gridlines should be drawn.

◆ DrawInnerGridlinesOn()

virtual void vtkAxisActor::DrawInnerGridlinesOn ( )
virtual

Set/Get whether inner gridlines should be drawn.

◆ DrawInnerGridlinesOff()

virtual void vtkAxisActor::DrawInnerGridlinesOff ( )
virtual

Set/Get whether inner gridlines should be drawn.

◆ SetGridlineXLength()

virtual void vtkAxisActor::SetGridlineXLength ( double  )
virtual

Set/Get the length to use when drawing gridlines.

◆ GetGridlineXLength()

virtual double vtkAxisActor::GetGridlineXLength ( )
virtual

Set/Get the length to use when drawing gridlines.

◆ SetGridlineYLength()

virtual void vtkAxisActor::SetGridlineYLength ( double  )
virtual

Set/Get the length to use when drawing gridlines.

◆ GetGridlineYLength()

virtual double vtkAxisActor::GetGridlineYLength ( )
virtual

Set/Get the length to use when drawing gridlines.

◆ SetGridlineZLength()

virtual void vtkAxisActor::SetGridlineZLength ( double  )
virtual

Set/Get the length to use when drawing gridlines.

◆ GetGridlineZLength()

virtual double vtkAxisActor::GetGridlineZLength ( )
virtual

Set/Get the length to use when drawing gridlines.

◆ SetDrawGridpolys()

virtual void vtkAxisActor::SetDrawGridpolys ( vtkTypeBool  )
virtual

Set/Get whether gridpolys should be drawn.

◆ GetDrawGridpolys()

virtual vtkTypeBool vtkAxisActor::GetDrawGridpolys ( )
virtual

Set/Get whether gridpolys should be drawn.

◆ DrawGridpolysOn()

virtual void vtkAxisActor::DrawGridpolysOn ( )
virtual

Set/Get whether gridpolys should be drawn.

◆ DrawGridpolysOff()

virtual void vtkAxisActor::DrawGridpolysOff ( )
virtual

Set/Get whether gridpolys should be drawn.

◆ SetAxisType()

virtual void vtkAxisActor::SetAxisType ( int  )
virtual

Set/Get the type of this axis.

◆ GetAxisType()

virtual int vtkAxisActor::GetAxisType ( )
virtual

Set/Get the type of this axis.

◆ SetAxisTypeToX()

void vtkAxisActor::SetAxisTypeToX ( void  )
inline

Set/Get the type of this axis.

Definition at line 440 of file vtkAxisActor.h.

◆ SetAxisTypeToY()

void vtkAxisActor::SetAxisTypeToY ( void  )
inline

Set/Get the type of this axis.

Definition at line 441 of file vtkAxisActor.h.

◆ SetAxisTypeToZ()

void vtkAxisActor::SetAxisTypeToZ ( void  )
inline

Set/Get the type of this axis.

Definition at line 442 of file vtkAxisActor.h.

◆ SetLog()

virtual void vtkAxisActor::SetLog ( bool  )
virtual

Set/Get The type of scale, enable logarithmic scale or linear by default.

◆ GetLog()

virtual bool vtkAxisActor::GetLog ( )
virtual

Set/Get The type of scale, enable logarithmic scale or linear by default.

◆ LogOn()

virtual void vtkAxisActor::LogOn ( )
virtual

Set/Get The type of scale, enable logarithmic scale or linear by default.

◆ LogOff()

virtual void vtkAxisActor::LogOff ( )
virtual

Set/Get The type of scale, enable logarithmic scale or linear by default.

◆ SetAxisPosition()

virtual void vtkAxisActor::SetAxisPosition ( int  )
virtual

Set/Get the position of this axis (in relation to an an assumed bounding box).

For an x-type axis, MINMIN corresponds to the x-edge in the bounding box where Y values are minimum and Z values are minimum. For a y-type axis, MAXMIN corresponds to the y-edge where X values are maximum and Z values are minimum.

◆ GetAxisPosition()

virtual int vtkAxisActor::GetAxisPosition ( )
virtual

Set/Get the position of this axis (in relation to an an assumed bounding box).

For an x-type axis, MINMIN corresponds to the x-edge in the bounding box where Y values are minimum and Z values are minimum. For a y-type axis, MAXMIN corresponds to the y-edge where X values are maximum and Z values are minimum.

◆ SetAxisPositionToMinMin()

void vtkAxisActor::SetAxisPositionToMinMin ( void  )
inline

Definition at line 474 of file vtkAxisActor.h.

◆ SetAxisPositionToMinMax()

void vtkAxisActor::SetAxisPositionToMinMax ( void  )
inline

Definition at line 475 of file vtkAxisActor.h.

◆ SetAxisPositionToMaxMax()

void vtkAxisActor::SetAxisPositionToMaxMax ( void  )
inline

Definition at line 476 of file vtkAxisActor.h.

◆ SetAxisPositionToMaxMin()

void vtkAxisActor::SetAxisPositionToMaxMin ( void  )
inline

Definition at line 477 of file vtkAxisActor.h.

◆ SetCamera()

virtual void vtkAxisActor::SetCamera ( vtkCamera )
virtual

Set/Get the camera for this axis.

The camera is used by the labels to 'follow' the camera and be legible from any viewpoint.

◆ GetCamera()

virtual vtkCamera * vtkAxisActor::GetCamera ( )
virtual

Set/Get the camera for this axis.

The camera is used by the labels to 'follow' the camera and be legible from any viewpoint.

◆ RenderOpaqueGeometry()

int vtkAxisActor::RenderOpaqueGeometry ( vtkViewport viewport)
overridevirtual

Draw the axis.

Reimplemented from vtkProp.

◆ RenderTranslucentGeometry()

virtual int vtkAxisActor::RenderTranslucentGeometry ( vtkViewport viewport)
virtual

Draw the axis.

◆ RenderTranslucentPolygonalGeometry()

int vtkAxisActor::RenderTranslucentPolygonalGeometry ( vtkViewport viewport)
overridevirtual

Draw the axis.

Reimplemented from vtkProp.

◆ RenderOverlay()

int vtkAxisActor::RenderOverlay ( vtkViewport viewport)
overridevirtual

Draw the axis.

Reimplemented from vtkProp.

◆ HasTranslucentPolygonalGeometry()

vtkTypeBool vtkAxisActor::HasTranslucentPolygonalGeometry ( )
overridevirtual

Draw the axis.

Reimplemented from vtkProp.

◆ ReleaseGraphicsResources()

void vtkAxisActor::ReleaseGraphicsResources ( vtkWindow )
overridevirtual

Release any graphics resources that are being consumed by this actor.

The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkProp.

◆ ComputeMaxLabelLength()

double vtkAxisActor::ComputeMaxLabelLength ( const double  [3])

◆ ComputeTitleLength()

double vtkAxisActor::ComputeTitleLength ( const double  [3])

◆ SetLabelScale() [1/2]

void vtkAxisActor::SetLabelScale ( const double  scale)

◆ SetLabelScale() [2/2]

void vtkAxisActor::SetLabelScale ( int  labelIndex,
const double  scale 
)

◆ SetTitleScale()

void vtkAxisActor::SetTitleScale ( const double  scale)

◆ SetMinorStart()

virtual void vtkAxisActor::SetMinorStart ( double  )
virtual

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ GetMinorStart()

virtual double vtkAxisActor::GetMinorStart ( )
virtual

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ GetMajorStart()

double vtkAxisActor::GetMajorStart ( int  axis)

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ SetMajorStart()

void vtkAxisActor::SetMajorStart ( int  axis,
double  value 
)

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ SetDeltaMinor()

virtual void vtkAxisActor::SetDeltaMinor ( double  )
virtual

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ GetDeltaMinor()

virtual double vtkAxisActor::GetDeltaMinor ( )
virtual

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ GetDeltaMajor()

double vtkAxisActor::GetDeltaMajor ( int  axis)

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ SetDeltaMajor()

void vtkAxisActor::SetDeltaMajor ( int  axis,
double  value 
)

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

◆ SetMinorRangeStart()

virtual void vtkAxisActor::SetMinorRangeStart ( double  )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ GetMinorRangeStart()

virtual double vtkAxisActor::GetMinorRangeStart ( )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ SetMajorRangeStart()

virtual void vtkAxisActor::SetMajorRangeStart ( double  )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ GetMajorRangeStart()

virtual double vtkAxisActor::GetMajorRangeStart ( )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ SetDeltaRangeMinor()

virtual void vtkAxisActor::SetDeltaRangeMinor ( double  )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ GetDeltaRangeMinor()

virtual double vtkAxisActor::GetDeltaRangeMinor ( )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ SetDeltaRangeMajor()

virtual void vtkAxisActor::SetDeltaRangeMajor ( double  )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ GetDeltaRangeMajor()

virtual double vtkAxisActor::GetDeltaRangeMajor ( )
virtual

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing.

The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

◆ SetLabels()

void vtkAxisActor::SetLabels ( vtkStringArray labels)

◆ BuildAxis()

void vtkAxisActor::BuildAxis ( vtkViewport viewport,
bool   
)

◆ GetTitleActor()

virtual vtkAxisFollower * vtkAxisActor::GetTitleActor ( )
virtual

Get title actor and it is responsible for drawing title text.

◆ GetExponentActor()

virtual vtkAxisFollower * vtkAxisActor::GetExponentActor ( )
virtual

Get exponent follower actor.

◆ GetLabelActors()

vtkAxisFollower ** vtkAxisActor::GetLabelActors ( )
inline

Get label actors responsigle for drawing label text.

Definition at line 571 of file vtkAxisActor.h.

◆ GetTitleProp3D()

virtual vtkProp3DAxisFollower * vtkAxisActor::GetTitleProp3D ( )
virtual

Get title actor and it is responsible for drawing title text.

◆ GetLabelProps3D()

vtkProp3DAxisFollower ** vtkAxisActor::GetLabelProps3D ( )
inline

Get label actors responsigle for drawing label text.

Definition at line 584 of file vtkAxisActor.h.

◆ GetExponentProp3D()

virtual vtkProp3DAxisFollower * vtkAxisActor::GetExponentProp3D ( )
virtual

Get title actor and it is responsible for drawing title text.

◆ GetNumberOfLabelsBuilt()

virtual int vtkAxisActor::GetNumberOfLabelsBuilt ( )
virtual

Get total number of labels built.

Once built this count does not change.

◆ SetCalculateTitleOffset()

virtual void vtkAxisActor::SetCalculateTitleOffset ( vtkTypeBool  )
virtual

Set/Get flag whether to calculate title offset.

Default is true.

◆ GetCalculateTitleOffset()

virtual vtkTypeBool vtkAxisActor::GetCalculateTitleOffset ( )
virtual

Set/Get flag whether to calculate title offset.

Default is true.

◆ CalculateTitleOffsetOn()

virtual void vtkAxisActor::CalculateTitleOffsetOn ( )
virtual

Set/Get flag whether to calculate title offset.

Default is true.

◆ CalculateTitleOffsetOff()

virtual void vtkAxisActor::CalculateTitleOffsetOff ( )
virtual

Set/Get flag whether to calculate title offset.

Default is true.

◆ SetCalculateLabelOffset()

virtual void vtkAxisActor::SetCalculateLabelOffset ( vtkTypeBool  )
virtual

Set/Get flag whether to calculate label offset.

Default is true.

◆ GetCalculateLabelOffset()

virtual vtkTypeBool vtkAxisActor::GetCalculateLabelOffset ( )
virtual

Set/Get flag whether to calculate label offset.

Default is true.

◆ CalculateLabelOffsetOn()

virtual void vtkAxisActor::CalculateLabelOffsetOn ( )
virtual

Set/Get flag whether to calculate label offset.

Default is true.

◆ CalculateLabelOffsetOff()

virtual void vtkAxisActor::CalculateLabelOffsetOff ( )
virtual

Set/Get flag whether to calculate label offset.

Default is true.

◆ SetUse2DMode()

virtual void vtkAxisActor::SetUse2DMode ( int  )
virtual

Set/Get the 2D mode.

◆ GetUse2DMode()

virtual int vtkAxisActor::GetUse2DMode ( )
virtual

Set/Get the 2D mode.

◆ SetVerticalOffsetXTitle2D()

virtual void vtkAxisActor::SetVerticalOffsetXTitle2D ( double  )
virtual

Set/Get the 2D mode the vertical offset for X title in 2D mode.

◆ GetVerticalOffsetXTitle2D()

virtual double vtkAxisActor::GetVerticalOffsetXTitle2D ( )
virtual

Set/Get the 2D mode the vertical offset for X title in 2D mode.

◆ SetHorizontalOffsetYTitle2D()

virtual void vtkAxisActor::SetHorizontalOffsetYTitle2D ( double  )
virtual

Set/Get the 2D mode the horizontal offset for Y title in 2D mode.

◆ GetHorizontalOffsetYTitle2D()

virtual double vtkAxisActor::GetHorizontalOffsetYTitle2D ( )
virtual

Set/Get the 2D mode the horizontal offset for Y title in 2D mode.

◆ SetSaveTitlePosition()

virtual void vtkAxisActor::SetSaveTitlePosition ( int  )
virtual

Set/Get whether title position must be saved in 2D mode.

◆ GetSaveTitlePosition()

virtual int vtkAxisActor::GetSaveTitlePosition ( )
virtual

Set/Get whether title position must be saved in 2D mode.

◆ SetAxisBaseForX() [1/2]

virtual void vtkAxisActor::SetAxisBaseForX ( double  ,
double  ,
double   
)
virtual

Provide real vector for non aligned axis.

◆ SetAxisBaseForX() [2/2]

virtual void vtkAxisActor::SetAxisBaseForX ( double  [3])
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForX() [1/3]

virtual double * vtkAxisActor::GetAxisBaseForX ( )
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForX() [2/3]

virtual void vtkAxisActor::GetAxisBaseForX ( double &  ,
double &  ,
double &   
)
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForX() [3/3]

virtual void vtkAxisActor::GetAxisBaseForX ( double  [3])
virtual

Provide real vector for non aligned axis.

◆ SetAxisBaseForY() [1/2]

virtual void vtkAxisActor::SetAxisBaseForY ( double  ,
double  ,
double   
)
virtual

Provide real vector for non aligned axis.

◆ SetAxisBaseForY() [2/2]

virtual void vtkAxisActor::SetAxisBaseForY ( double  [3])
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForY() [1/3]

virtual double * vtkAxisActor::GetAxisBaseForY ( )
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForY() [2/3]

virtual void vtkAxisActor::GetAxisBaseForY ( double &  ,
double &  ,
double &   
)
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForY() [3/3]

virtual void vtkAxisActor::GetAxisBaseForY ( double  [3])
virtual

Provide real vector for non aligned axis.

◆ SetAxisBaseForZ() [1/2]

virtual void vtkAxisActor::SetAxisBaseForZ ( double  ,
double  ,
double   
)
virtual

Provide real vector for non aligned axis.

◆ SetAxisBaseForZ() [2/2]

virtual void vtkAxisActor::SetAxisBaseForZ ( double  [3])
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForZ() [1/3]

virtual double * vtkAxisActor::GetAxisBaseForZ ( )
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForZ() [2/3]

virtual void vtkAxisActor::GetAxisBaseForZ ( double &  ,
double &  ,
double &   
)
virtual

Provide real vector for non aligned axis.

◆ GetAxisBaseForZ() [3/3]

virtual void vtkAxisActor::GetAxisBaseForZ ( double  [3])
virtual

Provide real vector for non aligned axis.

◆ SetAxisOnOrigin()

virtual void vtkAxisActor::SetAxisOnOrigin ( int  )
virtual

Notify the axes that is not part of a cube anymore.

◆ GetAxisOnOrigin()

virtual int vtkAxisActor::GetAxisOnOrigin ( )
virtual

Notify the axes that is not part of a cube anymore.

◆ SetLabelOffset()

virtual void vtkAxisActor::SetLabelOffset ( double  )
virtual

Set/Get the offsets used to position texts.

◆ GetLabelOffset()

virtual double vtkAxisActor::GetLabelOffset ( )
virtual

Set/Get the offsets used to position texts.

◆ SetTitleOffset()

virtual void vtkAxisActor::SetTitleOffset ( double  )
virtual

Set/Get the offsets used to position texts.

◆ GetTitleOffset()

virtual double vtkAxisActor::GetTitleOffset ( )
virtual

Set/Get the offsets used to position texts.

◆ SetExponentOffset()

virtual void vtkAxisActor::SetExponentOffset ( double  )
virtual

Set/Get the offsets used to position texts.

◆ GetExponentOffset()

virtual double vtkAxisActor::GetExponentOffset ( )
virtual

Set/Get the offsets used to position texts.

◆ SetScreenSize()

virtual void vtkAxisActor::SetScreenSize ( double  )
virtual

Set/Get the offsets used to position texts.

◆ GetScreenSize()

virtual double vtkAxisActor::GetScreenSize ( )
virtual

Set/Get the offsets used to position texts.

Member Data Documentation

◆ Title

char* vtkAxisActor::Title
protected

Definition at line 704 of file vtkAxisActor.h.

◆ Exponent

char* vtkAxisActor::Exponent
protected

Definition at line 705 of file vtkAxisActor.h.

◆ Range

double vtkAxisActor::Range[2]
protected

Definition at line 706 of file vtkAxisActor.h.

◆ LastRange

double vtkAxisActor::LastRange[2]
protected

Definition at line 707 of file vtkAxisActor.h.

◆ LabelFormat

char* vtkAxisActor::LabelFormat
protected

Definition at line 708 of file vtkAxisActor.h.

◆ UseTextActor3D

int vtkAxisActor::UseTextActor3D
protected

Definition at line 709 of file vtkAxisActor.h.

◆ NumberOfLabelsBuilt

int vtkAxisActor::NumberOfLabelsBuilt
protected

Definition at line 710 of file vtkAxisActor.h.

◆ MinorTicksVisible

vtkTypeBool vtkAxisActor::MinorTicksVisible
protected

Definition at line 711 of file vtkAxisActor.h.

◆ LastMinorTicksVisible

int vtkAxisActor::LastMinorTicksVisible
protected

Definition at line 712 of file vtkAxisActor.h.

◆ TickLocation

The location of the ticks.

Inside: tick end toward positive direction of perpendicular axes. Outside: tick end toward negative direction of perpendicular axes.

Definition at line 719 of file vtkAxisActor.h.

◆ TitleAlignLocation

int vtkAxisActor::TitleAlignLocation
protected

Hold the alignment property of the title related to the axis.

Possible Alignment: VTK_ALIGN_BOTTOM, VTK_ALIGN_TOP, VTK_ALIGN_POINT1, VTK_ALIGN_POINT2.

Definition at line 725 of file vtkAxisActor.h.

◆ ExponentLocation

int vtkAxisActor::ExponentLocation
protected

Hold the alignment property of the exponent coming from the label values.

Possible Alignment: VTK_ALIGN_BOTTOM, VTK_ALIGN_TOP, VTK_ALIGN_POINT1, VTK_ALIGN_POINT2.

Definition at line 731 of file vtkAxisActor.h.

◆ DrawGridlines

vtkTypeBool vtkAxisActor::DrawGridlines
protected

Definition at line 733 of file vtkAxisActor.h.

◆ DrawGridlinesOnly

vtkTypeBool vtkAxisActor::DrawGridlinesOnly
protected

Definition at line 734 of file vtkAxisActor.h.

◆ LastDrawGridlines

int vtkAxisActor::LastDrawGridlines
protected

Definition at line 735 of file vtkAxisActor.h.

◆ DrawGridlinesLocation

int vtkAxisActor::DrawGridlinesLocation
protected

Definition at line 736 of file vtkAxisActor.h.

◆ LastDrawGridlinesLocation

int vtkAxisActor::LastDrawGridlinesLocation
protected

Definition at line 737 of file vtkAxisActor.h.

◆ GridlineXLength

double vtkAxisActor::GridlineXLength
protected

Definition at line 738 of file vtkAxisActor.h.

◆ GridlineYLength

double vtkAxisActor::GridlineYLength
protected

Definition at line 739 of file vtkAxisActor.h.

◆ GridlineZLength

double vtkAxisActor::GridlineZLength
protected

Definition at line 740 of file vtkAxisActor.h.

◆ DrawInnerGridlines

vtkTypeBool vtkAxisActor::DrawInnerGridlines
protected

Definition at line 742 of file vtkAxisActor.h.

◆ LastDrawInnerGridlines

int vtkAxisActor::LastDrawInnerGridlines
protected

Definition at line 743 of file vtkAxisActor.h.

◆ DrawGridpolys

vtkTypeBool vtkAxisActor::DrawGridpolys
protected

Definition at line 745 of file vtkAxisActor.h.

◆ LastDrawGridpolys

int vtkAxisActor::LastDrawGridpolys
protected

Definition at line 746 of file vtkAxisActor.h.

◆ AxisVisibility

vtkTypeBool vtkAxisActor::AxisVisibility
protected

Definition at line 748 of file vtkAxisActor.h.

◆ TickVisibility

vtkTypeBool vtkAxisActor::TickVisibility
protected

Definition at line 749 of file vtkAxisActor.h.

◆ LastTickVisibility

int vtkAxisActor::LastTickVisibility
protected

Definition at line 750 of file vtkAxisActor.h.

◆ LabelVisibility

vtkTypeBool vtkAxisActor::LabelVisibility
protected

Definition at line 751 of file vtkAxisActor.h.

◆ TitleVisibility

vtkTypeBool vtkAxisActor::TitleVisibility
protected

Definition at line 752 of file vtkAxisActor.h.

◆ ExponentVisibility

bool vtkAxisActor::ExponentVisibility
protected

Definition at line 753 of file vtkAxisActor.h.

◆ LastMajorTickPointCorrection

bool vtkAxisActor::LastMajorTickPointCorrection
protected

Definition at line 754 of file vtkAxisActor.h.

◆ Log

bool vtkAxisActor::Log
protected

Definition at line 756 of file vtkAxisActor.h.

◆ AxisType

int vtkAxisActor::AxisType
protected

Definition at line 757 of file vtkAxisActor.h.

◆ AxisPosition

Definition at line 758 of file vtkAxisActor.h.

◆ AxisBaseForX

double vtkAxisActor::AxisBaseForX[3]
protected

Definition at line 761 of file vtkAxisActor.h.

◆ AxisBaseForY

double vtkAxisActor::AxisBaseForY[3]
protected

Definition at line 762 of file vtkAxisActor.h.

◆ AxisBaseForZ

double vtkAxisActor::AxisBaseForZ[3]
protected

Definition at line 763 of file vtkAxisActor.h.


The documentation for this class was generated from the following file: