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

create a 2D plot of a bounding box edges - used for navigation More...

#include <vtkCubeAxesActor2D.h>

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

Public Types

typedef vtkActor2D Superclass
 
- Public Types inherited from vtkActor2D
typedef vtkProp Superclass
 
- Public Types inherited from vtkProp
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkCubeAxesActor2DNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int HasTranslucentPolygonalGeometry ()
 
void ReleaseGraphicsResources (vtkWindow *)
 
void ShallowCopy (vtkCubeAxesActor2D *actor)
 
int RenderOverlay (vtkViewport *)
 
int RenderOpaqueGeometry (vtkViewport *)
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
 
virtual void SetInputConnection (vtkAlgorithmOutput *)
 
virtual void SetInputData (vtkDataSet *)
 
virtual vtkDataSetGetInput ()
 
void SetViewProp (vtkProp *prop)
 
virtual vtkPropGetViewProp ()
 
virtual void SetBounds (double, double, double, double, double, double)
 
virtual void SetBounds (double[6])
 
doubleGetBounds ()
 
void GetBounds (double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax)
 
void GetBounds (double bounds[6])
 
virtual void SetRanges (double, double, double, double, double, double)
 
virtual void SetRanges (double[6])
 
doubleGetRanges ()
 
void GetRanges (double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax)
 
void GetRanges (double ranges[6])
 
virtual void SetXOrigin (double)
 
virtual void SetYOrigin (double)
 
virtual void SetZOrigin (double)
 
virtual void SetUseRanges (int)
 
virtual int GetUseRanges ()
 
virtual void UseRangesOn ()
 
virtual void UseRangesOff ()
 
virtual void SetCamera (vtkCamera *)
 
virtual vtkCameraGetCamera ()
 
virtual void SetFlyMode (int)
 
virtual int GetFlyMode ()
 
void SetFlyModeToOuterEdges ()
 
void SetFlyModeToClosestTriad ()
 
void SetFlyModeToNone ()
 
virtual void SetScaling (int)
 
virtual int GetScaling ()
 
virtual void ScalingOn ()
 
virtual void ScalingOff ()
 
virtual void SetNumberOfLabels (int)
 
virtual int GetNumberOfLabels ()
 
virtual void SetXLabel (const char *)
 
virtual char * GetXLabel ()
 
virtual void SetYLabel (const char *)
 
virtual char * GetYLabel ()
 
virtual void SetZLabel (const char *)
 
virtual char * GetZLabel ()
 
vtkAxisActor2DGetXAxisActor2D ()
 
vtkAxisActor2DGetYAxisActor2D ()
 
vtkAxisActor2DGetZAxisActor2D ()
 
virtual void SetAxisTitleTextProperty (vtkTextProperty *p)
 
virtual vtkTextPropertyGetAxisTitleTextProperty ()
 
virtual void SetAxisLabelTextProperty (vtkTextProperty *p)
 
virtual vtkTextPropertyGetAxisLabelTextProperty ()
 
virtual void SetLabelFormat (const char *)
 
virtual char * GetLabelFormat ()
 
virtual void SetFontFactor (double)
 
virtual double GetFontFactor ()
 
virtual void SetInertia (int)
 
virtual int GetInertia ()
 
virtual void SetShowActualBounds (int)
 
virtual int GetShowActualBounds ()
 
virtual void SetCornerOffset (double)
 
virtual double GetCornerOffset ()
 
virtual void SetXAxisVisibility (int)
 
virtual int GetXAxisVisibility ()
 
virtual void XAxisVisibilityOn ()
 
virtual void XAxisVisibilityOff ()
 
virtual void SetYAxisVisibility (int)
 
virtual int GetYAxisVisibility ()
 
virtual void YAxisVisibilityOn ()
 
virtual void YAxisVisibilityOff ()
 
virtual void SetZAxisVisibility (int)
 
virtual int GetZAxisVisibility ()
 
virtual void ZAxisVisibilityOn ()
 
virtual void ZAxisVisibilityOff ()
 
- Public Member Functions inherited from vtkActor2D
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkActor2DNewInstance () const
 
vtkProperty2DGetProperty ()
 
virtual void SetProperty (vtkProperty2D *)
 
void SetDisplayPosition (int, int)
 
virtual unsigned long GetMTime ()
 
virtual void GetActors2D (vtkPropCollection *pc)
 
virtual void SetMapper (vtkMapper2D *mapper)
 
virtual vtkMapper2DGetMapper ()
 
virtual void SetLayerNumber (int)
 
virtual int GetLayerNumber ()
 
virtual vtkCoordinateGetPositionCoordinate ()
 
virtual void SetPosition (float x[2])
 
virtual void SetPosition (float x, float y)
 
virtual floatGetPosition ()
 
virtual vtkCoordinateGetPosition2Coordinate ()
 
virtual void SetPosition2 (float x[2])
 
virtual void SetPosition2 (float x, float y)
 
virtual floatGetPosition2 ()
 
void SetWidth (double w)
 
double GetWidth ()
 
void SetHeight (double h)
 
double GetHeight ()
 
virtual vtkCoordinateGetActualPositionCoordinate (void)
 
virtual vtkCoordinateGetActualPosition2Coordinate (void)
 
- Public Member Functions inherited from vtkProp
vtkPropNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Pick ()
 
virtual bool HasKeys (vtkInformation *requiredKeys)
 
virtual void BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path)
 
virtual void GetActors (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual void SetVisibility (int)
 
virtual int GetVisibility ()
 
virtual void VisibilityOn ()
 
virtual void VisibilityOff ()
 
virtual void SetPickable (int)
 
virtual int GetPickable ()
 
virtual void PickableOn ()
 
virtual void PickableOff ()
 
virtual void SetDragable (int)
 
virtual int GetDragable ()
 
virtual void DragableOn ()
 
virtual void DragableOff ()
 
virtual unsigned long GetRedrawMTime ()
 
virtual void SetUseBounds (bool)
 
virtual bool GetUseBounds ()
 
virtual void UseBoundsOn ()
 
virtual void UseBoundsOff ()
 
virtual void InitPathTraversal ()
 
virtual vtkAssemblyPathGetNextPath ()
 
virtual int GetNumberOfPaths ()
 
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
 
virtual vtkMatrix4x4GetMatrix ()
 
virtual vtkInformationGetPropertyKeys ()
 
virtual void SetPropertyKeys (vtkInformation *keys)
 
virtual int RenderVolumetricGeometry (vtkViewport *)
 
virtual bool RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual double GetEstimatedRenderTime (vtkViewport *)
 
virtual double GetEstimatedRenderTime ()
 
virtual void SetEstimatedRenderTime (double t)
 
virtual void RestoreEstimatedRenderTime ()
 
virtual void AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp))
 
virtual void SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v))
 
virtual double GetAllocatedRenderTime ()
 
void SetRenderTimeMultiplier (double t)
 
virtual double GetRenderTimeMultiplier ()
 
virtual bool GetSupportsSelection ()
 
virtual int GetNumberOfConsumers ()
 
void AddConsumer (vtkObject *c)
 
void RemoveConsumer (vtkObject *c)
 
vtkObjectGetConsumer (int i)
 
int IsConsumer (vtkObject *c)
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkCubeAxesActor2DSafeDownCast (vtkObjectBase *o)
 
static vtkCubeAxesActor2DNew ()
 
- Static Public Member Functions inherited from vtkActor2D
static int IsTypeOf (const char *type)
 
static vtkActor2DSafeDownCast (vtkObjectBase *o)
 
static vtkActor2DNew ()
 
- Static Public Member Functions inherited from vtkProp
static int IsTypeOf (const char *type)
 
static vtkPropSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyGeneralTextureUnit ()
 
static vtkInformationDoubleVectorKeyGeneralTextureTransform ()
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCubeAxesActor2D ()
 
 ~vtkCubeAxesActor2D ()
 
void TransformBounds (vtkViewport *viewport, double bounds[6], double pts[8][3])
 
int ClipBounds (vtkViewport *viewport, double pts[8][3], double bounds[6])
 
double EvaluatePoint (double planes[24], double x[3])
 
double EvaluateBounds (double planes[24], double bounds[6])
 
void AdjustAxes (double pts[8][3], double bounds[6], int idx, int xIdx, int yIdx, int zIdx, int zIdx2, int xAxes, int yAxes, int zAxes, double xCoords[4], double yCoords[4], double zCoords[4], double xRange[2], double yRange[2], double zRange[2])
 
- Protected Member Functions inherited from vtkActor2D
 vtkActor2D ()
 
 ~vtkActor2D ()
 
- Protected Member Functions inherited from vtkProp
 vtkProp ()
 
 ~vtkProp ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkCubeAxesActor2DConnection * ConnectionHolder
 
vtkPropViewProp
 
double Bounds [6]
 
double Ranges [6]
 
int UseRanges
 
vtkCameraCamera
 
int FlyMode
 
int Scaling
 
vtkAxisActor2DXAxis
 
vtkAxisActor2DYAxis
 
vtkAxisActor2DZAxis
 
vtkTextPropertyAxisTitleTextProperty
 
vtkTextPropertyAxisLabelTextProperty
 
vtkTimeStamp BuildTime
 
int NumberOfLabels
 
char * XLabel
 
char * YLabel
 
char * ZLabel
 
char * Labels [3]
 
int XAxisVisibility
 
int YAxisVisibility
 
int ZAxisVisibility
 
char * LabelFormat
 
double FontFactor
 
double CornerOffset
 
int Inertia
 
int RenderCount
 
int InertiaAxes [8]
 
int RenderSomething
 
int ShowActualBounds
 
double XOrigin
 
double YOrigin
 
double ZOrigin
 
- Protected Attributes inherited from vtkActor2D
vtkMapper2DMapper
 
int LayerNumber
 
vtkProperty2DProperty
 
vtkCoordinatePositionCoordinate
 
vtkCoordinatePosition2Coordinate
 
- Protected Attributes inherited from vtkProp
int Visibility
 
int Pickable
 
int Dragable
 
bool UseBounds
 
double AllocatedRenderTime
 
double EstimatedRenderTime
 
double SavedEstimatedRenderTime
 
double RenderTimeMultiplier
 
int NumberOfConsumers
 
vtkObject ** Consumers
 
vtkAssemblyPathsPaths
 
vtkInformationPropertyKeys
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

create a 2D plot of a bounding box edges - used for navigation

vtkCubeAxesActor2D is a composite actor that draws three axes of the bounding box of an input dataset. The axes include labels and titles for the x-y-z axes. The algorithm selects the axes that are on the "exterior" of the bounding box, exterior as determined from examining outer edges of the bounding box in projection (display) space. Alternatively, the edges closest to the viewer (i.e., camera position) can be drawn.

To use this object you must define a bounding box and the camera used to render the vtkCubeAxesActor2D. The camera is used to control the scaling and position of the vtkCubeAxesActor2D so that it fits in the viewport and always remains visible.)

The font property of the axes titles and labels can be modified through the AxisTitleTextProperty and AxisLabelTextProperty attributes. You may also use the GetXAxisActor2D, GetYAxisActor2D or GetZAxisActor2D methods to access each individual axis actor to modify their font properties.

The bounding box to use is defined in one of three ways. First, if the Input ivar is defined, then the input dataset's bounds is used. If the Input is not defined, and the Prop (superclass of all actors) is defined, then the Prop's bounds is used. If neither the Input or Prop is defined, then the Bounds instance variable (an array of six doubles) is used.

See also
vtkActor2D vtkAxisActor2D vtkXYPlotActor vtkTextProperty
Examples:
vtkCubeAxesActor2D (Examples)
Tests:
vtkCubeAxesActor2D (Tests)

Definition at line 68 of file vtkCubeAxesActor2D.h.

Member Typedef Documentation

Definition at line 71 of file vtkCubeAxesActor2D.h.

Constructor & Destructor Documentation

vtkCubeAxesActor2D::vtkCubeAxesActor2D ( )
protected
vtkCubeAxesActor2D::~vtkCubeAxesActor2D ( )
protected

Member Function Documentation

static int vtkCubeAxesActor2D::IsTypeOf ( const char *  type)
static
virtual int vtkCubeAxesActor2D::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 vtkActor2D.

static vtkCubeAxesActor2D* vtkCubeAxesActor2D::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkCubeAxesActor2D::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkActor2D.

vtkCubeAxesActor2D* vtkCubeAxesActor2D::NewInstance ( ) const
void vtkCubeAxesActor2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

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.

static vtkCubeAxesActor2D* vtkCubeAxesActor2D::New ( )
static

Instantiate object with bold, italic, and shadow enabled; font family set to Arial; and label format "6.3g". The number of labels per axis is set to 3.

int vtkCubeAxesActor2D::RenderOverlay ( vtkViewport )
virtual

Draw the axes as per the vtkProp superclass' API.

Reimplemented from vtkActor2D.

int vtkCubeAxesActor2D::RenderOpaqueGeometry ( vtkViewport )
virtual

Draw the axes as per the vtkProp superclass' API.

Reimplemented from vtkActor2D.

virtual int vtkCubeAxesActor2D::RenderTranslucentPolygonalGeometry ( vtkViewport )
inlinevirtual

Draw the axes as per the vtkProp superclass' API.

Reimplemented from vtkActor2D.

Definition at line 83 of file vtkCubeAxesActor2D.h.

virtual int vtkCubeAxesActor2D::HasTranslucentPolygonalGeometry ( )
virtual

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkActor2D.

virtual void vtkCubeAxesActor2D::SetInputConnection ( vtkAlgorithmOutput )
virtual

Use the bounding box of this input dataset to draw the cube axes. If this is not specified, then the class will attempt to determine the bounds from the defined Prop or Bounds.

virtual void vtkCubeAxesActor2D::SetInputData ( vtkDataSet )
virtual

Use the bounding box of this input dataset to draw the cube axes. If this is not specified, then the class will attempt to determine the bounds from the defined Prop or Bounds.

virtual vtkDataSet* vtkCubeAxesActor2D::GetInput ( )
virtual

Use the bounding box of this input dataset to draw the cube axes. If this is not specified, then the class will attempt to determine the bounds from the defined Prop or Bounds.

void vtkCubeAxesActor2D::SetViewProp ( vtkProp prop)

Use the bounding box of this prop to draw the cube axes. The ViewProp is used to determine the bounds only if the Input is not defined.

virtual vtkProp* vtkCubeAxesActor2D::GetViewProp ( )
virtual

Use the bounding box of this prop to draw the cube axes. The ViewProp is used to determine the bounds only if the Input is not defined.

virtual void vtkCubeAxesActor2D::SetBounds ( double  ,
double  ,
double  ,
double  ,
double  ,
double   
)
virtual

Explicitly specify the region in space around which to draw the bounds. The bounds is used only when no Input or Prop is specified. The bounds are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

virtual void vtkCubeAxesActor2D::SetBounds ( double  [6])
virtual

Explicitly specify the region in space around which to draw the bounds. The bounds is used only when no Input or Prop is specified. The bounds are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

double* vtkCubeAxesActor2D::GetBounds ( )
virtual

Explicitly specify the region in space around which to draw the bounds. The bounds is used only when no Input or Prop is specified. The bounds are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

Reimplemented from vtkProp.

void vtkCubeAxesActor2D::GetBounds ( double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax 
)

Explicitly specify the region in space around which to draw the bounds. The bounds is used only when no Input or Prop is specified. The bounds are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

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

Explicitly specify the region in space around which to draw the bounds. The bounds is used only when no Input or Prop is specified. The bounds are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

virtual void vtkCubeAxesActor2D::SetRanges ( double  ,
double  ,
double  ,
double  ,
double  ,
double   
)
virtual

Explicitly specify the range of values used on the bounds. The ranges are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

virtual void vtkCubeAxesActor2D::SetRanges ( double  [6])
virtual

Explicitly specify the range of values used on the bounds. The ranges are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

double* vtkCubeAxesActor2D::GetRanges ( )

Explicitly specify the range of values used on the bounds. The ranges are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

void vtkCubeAxesActor2D::GetRanges ( double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax 
)

Explicitly specify the range of values used on the bounds. The ranges are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

void vtkCubeAxesActor2D::GetRanges ( double  ranges[6])

Explicitly specify the range of values used on the bounds. The ranges are specified according to (xmin,xmax, ymin,ymax, zmin,zmax), making sure that the min's are less than the max's.

virtual void vtkCubeAxesActor2D::SetXOrigin ( double  )
virtual

Explicitly specify an origin for the axes. These usually intersect at one of the corners of the bounding box, however users have the option to override this if necessary

virtual void vtkCubeAxesActor2D::SetYOrigin ( double  )
virtual

Explicitly specify an origin for the axes. These usually intersect at one of the corners of the bounding box, however users have the option to override this if necessary

virtual void vtkCubeAxesActor2D::SetZOrigin ( double  )
virtual

Explicitly specify an origin for the axes. These usually intersect at one of the corners of the bounding box, however users have the option to override this if necessary

virtual void vtkCubeAxesActor2D::SetUseRanges ( int  )
virtual

Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. By default the axes use the data ranges.

virtual int vtkCubeAxesActor2D::GetUseRanges ( )
virtual

Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. By default the axes use the data ranges.

virtual void vtkCubeAxesActor2D::UseRangesOn ( )
virtual

Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. By default the axes use the data ranges.

virtual void vtkCubeAxesActor2D::UseRangesOff ( )
virtual

Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. By default the axes use the data ranges.

virtual void vtkCubeAxesActor2D::SetCamera ( vtkCamera )
virtual

Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D.

virtual vtkCamera* vtkCubeAxesActor2D::GetCamera ( )
virtual

Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D.

virtual void vtkCubeAxesActor2D::SetFlyMode ( int  )
virtual

Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera position, or you may also disable flying of the axes.

virtual int vtkCubeAxesActor2D::GetFlyMode ( )
virtual

Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera position, or you may also disable flying of the axes.

void vtkCubeAxesActor2D::SetFlyModeToOuterEdges ( )
inline

Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera position, or you may also disable flying of the axes.

Definition at line 158 of file vtkCubeAxesActor2D.h.

void vtkCubeAxesActor2D::SetFlyModeToClosestTriad ( )
inline

Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera position, or you may also disable flying of the axes.

Definition at line 160 of file vtkCubeAxesActor2D.h.

void vtkCubeAxesActor2D::SetFlyModeToNone ( )
inline

Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera position, or you may also disable flying of the axes.

Definition at line 162 of file vtkCubeAxesActor2D.h.

virtual void vtkCubeAxesActor2D::SetScaling ( int  )
virtual

Set/Get a flag that controls whether the axes are scaled to fit in the viewport. If off, the axes size remains constant (i.e., stay the size of the bounding box). By default scaling is on so the axes are scaled to fit inside the viewport.

virtual int vtkCubeAxesActor2D::GetScaling ( )
virtual

Set/Get a flag that controls whether the axes are scaled to fit in the viewport. If off, the axes size remains constant (i.e., stay the size of the bounding box). By default scaling is on so the axes are scaled to fit inside the viewport.

virtual void vtkCubeAxesActor2D::ScalingOn ( )
virtual

Set/Get a flag that controls whether the axes are scaled to fit in the viewport. If off, the axes size remains constant (i.e., stay the size of the bounding box). By default scaling is on so the axes are scaled to fit inside the viewport.

virtual void vtkCubeAxesActor2D::ScalingOff ( )
virtual

Set/Get a flag that controls whether the axes are scaled to fit in the viewport. If off, the axes size remains constant (i.e., stay the size of the bounding box). By default scaling is on so the axes are scaled to fit inside the viewport.

virtual void vtkCubeAxesActor2D::SetNumberOfLabels ( int  )
virtual

Set/Get the number of annotation labels to show along the x, y, and z axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data.

virtual int vtkCubeAxesActor2D::GetNumberOfLabels ( )
virtual

Set/Get the number of annotation labels to show along the x, y, and z axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data.

virtual void vtkCubeAxesActor2D::SetXLabel ( const char *  )
virtual

Set/Get the labels for the x, y, and z axes. By default, use "X", "Y" and "Z".

virtual char* vtkCubeAxesActor2D::GetXLabel ( )
virtual

Set/Get the labels for the x, y, and z axes. By default, use "X", "Y" and "Z".

virtual void vtkCubeAxesActor2D::SetYLabel ( const char *  )
virtual

Set/Get the labels for the x, y, and z axes. By default, use "X", "Y" and "Z".

virtual char* vtkCubeAxesActor2D::GetYLabel ( )
virtual

Set/Get the labels for the x, y, and z axes. By default, use "X", "Y" and "Z".

virtual void vtkCubeAxesActor2D::SetZLabel ( const char *  )
virtual

Set/Get the labels for the x, y, and z axes. By default, use "X", "Y" and "Z".

virtual char* vtkCubeAxesActor2D::GetZLabel ( )
virtual

Set/Get the labels for the x, y, and z axes. By default, use "X", "Y" and "Z".

vtkAxisActor2D* vtkCubeAxesActor2D::GetXAxisActor2D ( )
inline

Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)

Definition at line 198 of file vtkCubeAxesActor2D.h.

vtkAxisActor2D* vtkCubeAxesActor2D::GetYAxisActor2D ( )
inline

Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)

Definition at line 200 of file vtkCubeAxesActor2D.h.

vtkAxisActor2D* vtkCubeAxesActor2D::GetZAxisActor2D ( )
inline

Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)

Definition at line 202 of file vtkCubeAxesActor2D.h.

virtual void vtkCubeAxesActor2D::SetAxisTitleTextProperty ( vtkTextProperty p)
virtual

Set/Get the title text property of all axes. Note that each axis can be controlled individually through the GetX/Y/ZAxisActor2D() methods.

virtual vtkTextProperty* vtkCubeAxesActor2D::GetAxisTitleTextProperty ( )
virtual

Set/Get the title text property of all axes. Note that each axis can be controlled individually through the GetX/Y/ZAxisActor2D() methods.

virtual void vtkCubeAxesActor2D::SetAxisLabelTextProperty ( vtkTextProperty p)
virtual

Set/Get the labels text property of all axes. Note that each axis can be controlled individually through the GetX/Y/ZAxisActor2D() methods.

virtual vtkTextProperty* vtkCubeAxesActor2D::GetAxisLabelTextProperty ( )
virtual

Set/Get the labels text property of all axes. Note that each axis can be controlled individually through the GetX/Y/ZAxisActor2D() methods.

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

Set/Get the format with which to print the labels on each of the x-y-z axes.

virtual char* vtkCubeAxesActor2D::GetLabelFormat ( )
virtual

Set/Get the format with which to print the labels on each of the x-y-z axes.

virtual void vtkCubeAxesActor2D::SetFontFactor ( double  )
virtual

Set/Get the factor that controls the overall size of the fonts used to label and title the axes.

virtual double vtkCubeAxesActor2D::GetFontFactor ( )
virtual

Set/Get the factor that controls the overall size of the fonts used to label and title the axes.

virtual void vtkCubeAxesActor2D::SetInertia ( int  )
virtual

Set/Get the inertial factor that controls how often (i.e, how many renders) the axes can switch position (jump from one axes to another).

virtual int vtkCubeAxesActor2D::GetInertia ( )
virtual

Set/Get the inertial factor that controls how often (i.e, how many renders) the axes can switch position (jump from one axes to another).

virtual void vtkCubeAxesActor2D::SetShowActualBounds ( int  )
virtual

Set/Get the variable that controls whether the actual bounds of the dataset are always shown. Setting this variable to 1 means that clipping is disabled and that the actual value of the bounds is displayed even with corner offsets Setting this variable to 0 means these axis will clip themselves and show variable bounds (legacy mode)

virtual int vtkCubeAxesActor2D::GetShowActualBounds ( )
virtual

Set/Get the variable that controls whether the actual bounds of the dataset are always shown. Setting this variable to 1 means that clipping is disabled and that the actual value of the bounds is displayed even with corner offsets Setting this variable to 0 means these axis will clip themselves and show variable bounds (legacy mode)

virtual void vtkCubeAxesActor2D::SetCornerOffset ( double  )
virtual

Specify an offset value to "pull back" the axes from the corner at which they are joined to avoid overlap of axes labels. The "CornerOffset" is the fraction of the axis length to pull back.

virtual double vtkCubeAxesActor2D::GetCornerOffset ( )
virtual

Specify an offset value to "pull back" the axes from the corner at which they are joined to avoid overlap of axes labels. The "CornerOffset" is the fraction of the axis length to pull back.

void vtkCubeAxesActor2D::ReleaseGraphicsResources ( vtkWindow )
virtual

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 vtkActor2D.

virtual void vtkCubeAxesActor2D::SetXAxisVisibility ( int  )
virtual

Turn on and off the visibility of each axis.

virtual int vtkCubeAxesActor2D::GetXAxisVisibility ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::XAxisVisibilityOn ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::XAxisVisibilityOff ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::SetYAxisVisibility ( int  )
virtual

Turn on and off the visibility of each axis.

virtual int vtkCubeAxesActor2D::GetYAxisVisibility ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::YAxisVisibilityOn ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::YAxisVisibilityOff ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::SetZAxisVisibility ( int  )
virtual

Turn on and off the visibility of each axis.

virtual int vtkCubeAxesActor2D::GetZAxisVisibility ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::ZAxisVisibilityOn ( )
virtual

Turn on and off the visibility of each axis.

virtual void vtkCubeAxesActor2D::ZAxisVisibilityOff ( )
virtual

Turn on and off the visibility of each axis.

void vtkCubeAxesActor2D::ShallowCopy ( vtkCubeAxesActor2D actor)

Shallow copy of a CubeAxesActor2D.

void vtkCubeAxesActor2D::TransformBounds ( vtkViewport viewport,
double  bounds[6],
double  pts[8][3] 
)
protected
int vtkCubeAxesActor2D::ClipBounds ( vtkViewport viewport,
double  pts[8][3],
double  bounds[6] 
)
protected
double vtkCubeAxesActor2D::EvaluatePoint ( double  planes[24],
double  x[3] 
)
protected
double vtkCubeAxesActor2D::EvaluateBounds ( double  planes[24],
double  bounds[6] 
)
protected
void vtkCubeAxesActor2D::AdjustAxes ( double  pts[8][3],
double  bounds[6],
int  idx,
int  xIdx,
int  yIdx,
int  zIdx,
int  zIdx2,
int  xAxes,
int  yAxes,
int  zAxes,
double  xCoords[4],
double  yCoords[4],
double  zCoords[4],
double  xRange[2],
double  yRange[2],
double  zRange[2] 
)
protected

Member Data Documentation

vtkCubeAxesActor2DConnection* vtkCubeAxesActor2D::ConnectionHolder
protected

Definition at line 286 of file vtkCubeAxesActor2D.h.

vtkProp* vtkCubeAxesActor2D::ViewProp
protected

Definition at line 288 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::Bounds[6]
protected

Definition at line 289 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::Ranges[6]
protected

Definition at line 290 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::UseRanges
protected

Definition at line 291 of file vtkCubeAxesActor2D.h.

vtkCamera* vtkCubeAxesActor2D::Camera
protected

Definition at line 293 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::FlyMode
protected

Definition at line 294 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::Scaling
protected

Definition at line 295 of file vtkCubeAxesActor2D.h.

vtkAxisActor2D* vtkCubeAxesActor2D::XAxis
protected

Definition at line 297 of file vtkCubeAxesActor2D.h.

vtkAxisActor2D* vtkCubeAxesActor2D::YAxis
protected

Definition at line 298 of file vtkCubeAxesActor2D.h.

vtkAxisActor2D* vtkCubeAxesActor2D::ZAxis
protected

Definition at line 299 of file vtkCubeAxesActor2D.h.

vtkTextProperty* vtkCubeAxesActor2D::AxisTitleTextProperty
protected

Definition at line 301 of file vtkCubeAxesActor2D.h.

vtkTextProperty* vtkCubeAxesActor2D::AxisLabelTextProperty
protected

Definition at line 302 of file vtkCubeAxesActor2D.h.

vtkTimeStamp vtkCubeAxesActor2D::BuildTime
protected

Definition at line 304 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::NumberOfLabels
protected

Definition at line 306 of file vtkCubeAxesActor2D.h.

char* vtkCubeAxesActor2D::XLabel
protected

Definition at line 307 of file vtkCubeAxesActor2D.h.

char* vtkCubeAxesActor2D::YLabel
protected

Definition at line 308 of file vtkCubeAxesActor2D.h.

char* vtkCubeAxesActor2D::ZLabel
protected

Definition at line 309 of file vtkCubeAxesActor2D.h.

char* vtkCubeAxesActor2D::Labels[3]
protected

Definition at line 310 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::XAxisVisibility
protected

Definition at line 312 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::YAxisVisibility
protected

Definition at line 313 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::ZAxisVisibility
protected

Definition at line 314 of file vtkCubeAxesActor2D.h.

char* vtkCubeAxesActor2D::LabelFormat
protected

Definition at line 316 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::FontFactor
protected

Definition at line 317 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::CornerOffset
protected

Definition at line 318 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::Inertia
protected

Definition at line 319 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::RenderCount
protected

Definition at line 320 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::InertiaAxes[8]
protected

Definition at line 321 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::RenderSomething
protected

Definition at line 323 of file vtkCubeAxesActor2D.h.

int vtkCubeAxesActor2D::ShowActualBounds
protected

Definition at line 326 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::XOrigin
protected

Definition at line 328 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::YOrigin
protected

Definition at line 329 of file vtkCubeAxesActor2D.h.

double vtkCubeAxesActor2D::ZOrigin
protected

Definition at line 330 of file vtkCubeAxesActor2D.h.


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