VTK
9.3.0
|
create a 2D plot of a bounding box edges - used for navigation More...
#include <vtkCubeAxesActor2D.h>
Public Types | |
enum | FlyMode { VTK_FLY_OUTER_EDGES = 0 , VTK_FLY_CLOSEST_TRIAD = 1 , VTK_FLY_NONE = 2 } |
typedef vtkActor2D | Superclass |
![]() | |
typedef vtkProp | Superclass |
![]() | |
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. | |
vtkCubeAxesActor2D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
vtkTypeBool | HasTranslucentPolygonalGeometry () override |
Does this prop have some translucent polygonal geometry? | |
vtkAxisActor2D * | GetXAxisActor2D () |
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example) | |
vtkAxisActor2D * | GetYAxisActor2D () |
vtkAxisActor2D * | GetZAxisActor2D () |
void | ReleaseGraphicsResources (vtkWindow *) override |
Release any graphics resources that are being consumed by this actor. | |
void | ShallowCopy (vtkCubeAxesActor2D *actor) |
Shallow copy of a CubeAxesActor2D. | |
int | RenderOverlay (vtkViewport *) override |
Draw the axes as per the vtkProp superclass' API. | |
int | RenderOpaqueGeometry (vtkViewport *) override |
Draw the axes as per the vtkProp superclass' API. | |
int | RenderTranslucentPolygonalGeometry (vtkViewport *) override |
Draw the axes as per the vtkProp superclass' API. | |
virtual void | SetInputConnection (vtkAlgorithmOutput *) |
Use the bounding box of this input dataset to draw the cube axes. | |
virtual void | SetInputData (vtkDataSet *) |
Use the bounding box of this input dataset to draw the cube axes. | |
virtual vtkDataSet * | GetInput () |
Use the bounding box of this input dataset to draw the cube axes. | |
void | SetViewProp (vtkProp *prop) |
Use the bounding box of this prop to draw the cube axes. | |
virtual vtkProp * | GetViewProp () |
Use the bounding box of this prop to draw the cube axes. | |
virtual void | SetBounds (double, double, double, double, double, double) |
Explicitly specify the region in space around which to draw the bounds. | |
virtual void | SetBounds (double[6]) |
Explicitly specify the region in space around which to draw the bounds. | |
double * | GetBounds () override |
Explicitly specify the region in space around which to draw the bounds. | |
void | 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. | |
void | GetBounds (double bounds[6]) |
Explicitly specify the region in space around which to draw the bounds. | |
virtual void | SetRanges (double, double, double, double, double, double) |
Explicitly specify the range of values used on the bounds. | |
virtual void | SetRanges (double[6]) |
Explicitly specify the range of values used on the bounds. | |
double * | GetRanges () |
Explicitly specify the range of values used on the bounds. | |
void | GetRanges (double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax) |
Explicitly specify the range of values used on the bounds. | |
void | GetRanges (double ranges[6]) |
Explicitly specify the range of values used on the bounds. | |
virtual void | SetXOrigin (double) |
Explicitly specify an origin for the axes. | |
virtual void | SetYOrigin (double) |
Explicitly specify an origin for the axes. | |
virtual void | SetZOrigin (double) |
Explicitly specify an origin for the axes. | |
virtual void | SetUseRanges (vtkTypeBool) |
Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. | |
virtual vtkTypeBool | GetUseRanges () |
Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. | |
virtual void | UseRangesOn () |
Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. | |
virtual void | UseRangesOff () |
Set/Get a flag that controls whether the axes use the data ranges or the ranges set by SetRanges. | |
virtual void | SetCamera (vtkCamera *) |
Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D. | |
virtual vtkCamera * | GetCamera () |
Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D. | |
virtual void | SetFlyMode (int) |
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 | GetFlyMode () |
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 | SetFlyModeToOuterEdges () |
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 | SetFlyModeToClosestTriad () |
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 | SetFlyModeToNone () |
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 void | SetScaling (vtkTypeBool) |
Set/Get a flag that controls whether the axes are scaled to fit in the viewport. | |
virtual vtkTypeBool | GetScaling () |
Set/Get a flag that controls whether the axes are scaled to fit in the viewport. | |
virtual void | ScalingOn () |
Set/Get a flag that controls whether the axes are scaled to fit in the viewport. | |
virtual void | ScalingOff () |
Set/Get a flag that controls whether the axes are scaled to fit in the viewport. | |
virtual void | SetNumberOfLabels (int) |
Set/Get the number of annotation labels to show along the x, y, and z axes. | |
virtual int | GetNumberOfLabels () |
Set/Get the number of annotation labels to show along the x, y, and z axes. | |
virtual void | SetXLabel (const char *) |
Set/Get the labels for the x, y, and z axes. | |
virtual char * | GetXLabel () |
Set/Get the labels for the x, y, and z axes. | |
virtual void | SetYLabel (const char *) |
Set/Get the labels for the x, y, and z axes. | |
virtual char * | GetYLabel () |
Set/Get the labels for the x, y, and z axes. | |
virtual void | SetZLabel (const char *) |
Set/Get the labels for the x, y, and z axes. | |
virtual char * | GetZLabel () |
Set/Get the labels for the x, y, and z axes. | |
virtual void | SetAxisTitleTextProperty (vtkTextProperty *p) |
Set/Get the title text property of all axes. | |
virtual vtkTextProperty * | GetAxisTitleTextProperty () |
Set/Get the title text property of all axes. | |
virtual void | SetAxisLabelTextProperty (vtkTextProperty *p) |
Set/Get the labels text property of all axes. | |
virtual vtkTextProperty * | GetAxisLabelTextProperty () |
Set/Get the labels text property of all axes. | |
virtual void | SetLabelFormat (const char *) |
Set/Get the format with which to print the labels on each of the x-y-z axes. | |
virtual char * | GetLabelFormat () |
Set/Get the format with which to print the labels on each of the x-y-z axes. | |
virtual void | SetFontFactor (double) |
Set/Get the factor that controls the overall size of the fonts used to label and title the axes. | |
virtual double | GetFontFactor () |
Set/Get the factor that controls the overall size of the fonts used to label and title the axes. | |
virtual void | SetInertia (int) |
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 | GetInertia () |
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 | SetShowActualBounds (int) |
Set/Get the variable that controls whether the actual bounds of the dataset are always shown. | |
virtual int | GetShowActualBounds () |
Set/Get the variable that controls whether the actual bounds of the dataset are always shown. | |
virtual void | SetCornerOffset (double) |
Specify an offset value to "pull back" the axes from the corner at which they are joined to avoid overlap of axes labels. | |
virtual double | GetCornerOffset () |
Specify an offset value to "pull back" the axes from the corner at which they are joined to avoid overlap of axes labels. | |
virtual void | SetXAxisVisibility (vtkTypeBool) |
Turn on and off the visibility of each axis. | |
virtual vtkTypeBool | GetXAxisVisibility () |
Turn on and off the visibility of each axis. | |
virtual void | XAxisVisibilityOn () |
Turn on and off the visibility of each axis. | |
virtual void | XAxisVisibilityOff () |
Turn on and off the visibility of each axis. | |
virtual void | SetYAxisVisibility (vtkTypeBool) |
Turn on and off the visibility of each axis. | |
virtual vtkTypeBool | GetYAxisVisibility () |
Turn on and off the visibility of each axis. | |
virtual void | YAxisVisibilityOn () |
Turn on and off the visibility of each axis. | |
virtual void | YAxisVisibilityOff () |
Turn on and off the visibility of each axis. | |
virtual void | SetZAxisVisibility (vtkTypeBool) |
Turn on and off the visibility of each axis. | |
virtual vtkTypeBool | GetZAxisVisibility () |
Turn on and off the visibility of each axis. | |
virtual void | ZAxisVisibilityOn () |
Turn on and off the visibility of each axis. | |
virtual void | ZAxisVisibilityOff () |
Turn on and off the visibility of each axis. | |
![]() | |
vtkActor2D * | NewInstance () const |
vtkProperty2D * | GetProperty () |
Returns this actor's vtkProperty2D. | |
virtual void | SetProperty (vtkProperty2D *) |
Set this vtkProp's vtkProperty2D. | |
void | SetDisplayPosition (int, int) |
Set the Prop2D's position in display coordinates. | |
vtkMTimeType | GetMTime () override |
Return this objects MTime. | |
void | GetActors2D (vtkPropCollection *pc) override |
For some exporters and other other operations we must be able to collect all the actors or volumes. | |
virtual vtkCoordinate * | GetActualPositionCoordinate () |
Return the actual vtkCoordinate reference that the mapper should use to position the actor. | |
virtual vtkCoordinate * | GetActualPosition2Coordinate () |
Return the actual vtkCoordinate reference that the mapper should use to position the actor. | |
virtual void | SetMapper (vtkMapper2D *mapper) |
Set/Get the vtkMapper2D which defines the data to be drawn. | |
virtual vtkMapper2D * | GetMapper () |
Set/Get the vtkMapper2D which defines the data to be drawn. | |
virtual void | SetLayerNumber (int) |
Set/Get the layer number in the overlay planes into which to render. | |
virtual int | GetLayerNumber () |
Set/Get the layer number in the overlay planes into which to render. | |
virtual vtkCoordinate * | GetPositionCoordinate () |
Get the PositionCoordinate instance of vtkCoordinate. | |
virtual void | SetPosition (float x[2]) |
Get the PositionCoordinate instance of vtkCoordinate. | |
virtual void | SetPosition (float x, float y) |
Get the PositionCoordinate instance of vtkCoordinate. | |
virtual float * | GetPosition () |
Get the PositionCoordinate instance of vtkCoordinate. | |
virtual vtkCoordinate * | GetPosition2Coordinate () |
Access the Position2 instance variable. | |
virtual void | SetPosition2 (float x[2]) |
Access the Position2 instance variable. | |
virtual void | SetPosition2 (float x, float y) |
Access the Position2 instance variable. | |
virtual float * | GetPosition2 () |
Access the Position2 instance variable. | |
void | SetWidth (double w) |
Set/Get the height and width of the Actor2D. | |
double | GetWidth () |
Set/Get the height and width of the Actor2D. | |
void | SetHeight (double h) |
Set/Get the height and width of the Actor2D. | |
double | GetHeight () |
Set/Get the height and width of the Actor2D. | |
![]() | |
vtkProp * | NewInstance () 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 | 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 void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering. | |
virtual vtkMatrix4x4 * | GetMatrix () |
virtual bool | HasKeys (vtkInformation *requiredKeys) |
Tells if the prop has all the required keys. | |
virtual int | RenderVolumetricGeometry (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 | 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 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 void | InitPathTraversal () |
vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). | |
virtual vtkAssemblyPath * | GetNextPath () |
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 vtkInformation * | GetPropertyKeys () |
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,. | |
vtkObject * | GetConsumer (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 vtkShaderProperty * | GetShaderProperty () |
Set/Get the shader property. | |
virtual bool | IsRenderingTranslucentPolygonalGeometry () |
![]() | |
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. | |
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) |
vtkTypeBool | InvokeEvent (unsigned long event) |
vtkTypeBool | InvokeEvent (const char *event) |
std::string | GetObjectDescription () const override |
The object description printed in messages and PrintSelf output. | |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkCommand * | GetCommand (unsigned long tag) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObserver (vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObservers (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObservers (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Allow user to set the AbortFlagOn() with the return value of the callback method. | |
vtkTypeBool | InvokeEvent (unsigned long event, void *callData) |
This method invokes an event and return whether the event was aborted or not. | |
vtkTypeBool | InvokeEvent (const char *event, void *callData) |
This method invokes an event and return whether the event was aborted or not. | |
virtual void | SetObjectName (const std::string &objectName) |
Set/get the name of this object for reporting purposes. | |
virtual std::string | GetObjectName () const |
Set/get the name of this object for reporting purposes. | |
![]() | |
const char * | GetClassName () const |
Return the class name as a string. | |
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
virtual void | Delete () |
Delete a VTK object. | |
virtual void | FastDelete () |
Delete a reference to this object. | |
void | InitializeObjectBase () |
void | Print (ostream &os) |
Print an object to an ostream. | |
virtual void | Register (vtkObjectBase *o) |
Increase the reference count (mark as used by another object). | |
virtual void | UnRegister (vtkObjectBase *o) |
Decrease the reference count (release by another object). | |
int | GetReferenceCount () |
Return the current reference count of this object. | |
void | SetReferenceCount (int) |
Sets the reference count. | |
bool | GetIsInMemkind () const |
A local state flag that remembers whether this object lives in the normal or extended memory space. | |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. | |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. | |
virtual bool | UsesGarbageCollector () const |
Indicate whether the class uses vtkGarbageCollector or not. | |
Static Public Member Functions | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkCubeAxesActor2D * | SafeDownCast (vtkObjectBase *o) |
static vtkCubeAxesActor2D * | New () |
Instantiate object with bold, italic, and shadow enabled; font family set to Arial; and label format "6.3g". | |
![]() | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkActor2D * | SafeDownCast (vtkObjectBase *o) |
static vtkActor2D * | New () |
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at layer 0. | |
![]() | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkProp * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerKey * | GeneralTextureUnit () |
Optional Key Indicating the texture unit for general texture mapping Old OpenGL was a state machine where you would push or pop items. | |
static vtkInformationDoubleVectorKey * | GeneralTextureTransform () |
Optional Key Indicating the texture transform for general texture mapping Old OpenGL was a state machine where you would push or pop items. | |
![]() | |
static vtkObject * | New () |
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 (vtkTypeBool 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 vtkTypeBool | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
![]() | |
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 vtkObjectBase * | New () |
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 vtkObjectBase * | NewInstanceInternal () const |
vtkCubeAxesActor2D () | |
~vtkCubeAxesActor2D () override | |
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]) |
![]() | |
vtkActor2D () | |
~vtkActor2D () override | |
![]() | |
vtkProp () | |
~vtkProp () override | |
![]() | |
vtkObject () | |
~vtkObject () override | |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
These methods allow a command to exclusively grab all events. | |
void | InternalReleaseFocus () |
These methods allow a command to exclusively grab all events. | |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
![]() | |
static vtkMallocingFunction | GetCurrentMallocFunction () |
static vtkReallocingFunction | GetCurrentReallocFunction () |
static vtkFreeingFunction | GetCurrentFreeFunction () |
static vtkFreeingFunction | GetAlternateFreeFunction () |
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.
Definition at line 51 of file vtkCubeAxesActor2D.h.
Definition at line 54 of file vtkCubeAxesActor2D.h.
Enumerator | |
---|---|
VTK_FLY_OUTER_EDGES | |
VTK_FLY_CLOSEST_TRIAD | |
VTK_FLY_NONE |
Definition at line 157 of file vtkCubeAxesActor2D.h.
|
protected |
|
overrideprotected |
|
static |
|
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 |
|
protectedvirtual |
Reimplemented from vtkActor2D.
vtkCubeAxesActor2D * vtkCubeAxesActor2D::NewInstance | ( | ) | const |
|
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 vtkActor2D.
|
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.
|
overridevirtual |
Draw the axes as per the vtkProp superclass' API.
Reimplemented from vtkActor2D.
|
overridevirtual |
Draw the axes as per the vtkProp superclass' API.
Reimplemented from vtkActor2D.
|
inlineoverridevirtual |
Draw the axes as per the vtkProp superclass' API.
Reimplemented from vtkActor2D.
Definition at line 70 of file vtkCubeAxesActor2D.h.
|
overridevirtual |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkActor2D.
|
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 |
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 |
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 |
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 |
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 |
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.
|
overridevirtual |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D.
|
virtual |
Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D.
|
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 |
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.
|
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 172 of file vtkCubeAxesActor2D.h.
|
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 173 of file vtkCubeAxesActor2D.h.
|
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 174 of file vtkCubeAxesActor2D.h.
|
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 |
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 |
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 |
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 |
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 |
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 |
Set/Get the labels for the x, y, and z axes.
By default, use "X", "Y" and "Z".
|
virtual |
Set/Get the labels for the x, y, and z axes.
By default, use "X", "Y" and "Z".
|
virtual |
Set/Get the labels for the x, y, and z axes.
By default, use "X", "Y" and "Z".
|
virtual |
Set/Get the labels for the x, y, and z axes.
By default, use "X", "Y" and "Z".
|
virtual |
Set/Get the labels for the x, y, and z axes.
By default, use "X", "Y" and "Z".
|
virtual |
Set/Get the labels for the x, y, and z axes.
By default, use "X", "Y" and "Z".
|
inline |
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
Definition at line 216 of file vtkCubeAxesActor2D.h.
|
inline |
Definition at line 217 of file vtkCubeAxesActor2D.h.
|
inline |
Definition at line 218 of file vtkCubeAxesActor2D.h.
|
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 |
Set/Get the title text property of all axes.
Note that each axis can be controlled individually through the GetX/Y/ZAxisActor2D() methods.
|
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 |
Set/Get the labels text property of all axes.
Note that each axis can be controlled individually through the GetX/Y/ZAxisActor2D() methods.
|
virtual |
Set/Get the format with which to print the labels on each of the x-y-z axes.
|
virtual |
Set/Get the format with which to print the labels on each of the x-y-z axes.
|
virtual |
Set/Get the factor that controls the overall size of the fonts used to label and title the axes.
|
virtual |
Set/Get the factor that controls the overall size of the fonts used to label and title the axes.
|
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 |
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 |
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 |
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 |
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 |
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.
|
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 vtkActor2D.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
|
virtual |
Turn on and off the visibility of each axis.
void vtkCubeAxesActor2D::ShallowCopy | ( | vtkCubeAxesActor2D * | actor | ) |
Shallow copy of a CubeAxesActor2D.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 320 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 322 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 323 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 324 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 325 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 327 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 328 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 329 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 331 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 332 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 333 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 335 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 336 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 338 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 340 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 341 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 342 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 343 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 344 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 346 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 347 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 348 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 350 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 351 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 352 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 353 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 354 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 355 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 357 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 360 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 362 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 363 of file vtkCubeAxesActor2D.h.
|
protected |
Definition at line 364 of file vtkCubeAxesActor2D.h.