VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkAnnotatedCubeActor Class Reference

a 3D cube with face labels More...

#include <vtkAnnotatedCubeActor.h>

Inheritance diagram for vtkAnnotatedCubeActor:
Inheritance graph
[legend]
Collaboration diagram for vtkAnnotatedCubeActor:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkProp3D Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkAnnotatedCubeActorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void GetActors (vtkPropCollection *)
virtual int HasTranslucentPolygonalGeometry ()
void ShallowCopy (vtkProp *prop)
void ReleaseGraphicsResources (vtkWindow *)
unsigned long int GetMTime ()
vtkPropertyGetCubeProperty ()
vtkPropertyGetTextEdgesProperty ()
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
void GetBounds (double bounds[6])
doubleGetBounds ()
void SetFaceTextScale (double)
virtual double GetFaceTextScale ()
vtkPropertyGetXPlusFaceProperty ()
vtkPropertyGetXMinusFaceProperty ()
vtkPropertyGetYPlusFaceProperty ()
vtkPropertyGetYMinusFaceProperty ()
vtkPropertyGetZPlusFaceProperty ()
vtkPropertyGetZMinusFaceProperty ()
virtual void SetXPlusFaceText (const char *)
virtual char * GetXPlusFaceText ()
virtual void SetXMinusFaceText (const char *)
virtual char * GetXMinusFaceText ()
virtual void SetYPlusFaceText (const char *)
virtual char * GetYPlusFaceText ()
virtual void SetYMinusFaceText (const char *)
virtual char * GetYMinusFaceText ()
virtual void SetZPlusFaceText (const char *)
virtual char * GetZPlusFaceText ()
virtual void SetZMinusFaceText (const char *)
virtual char * GetZMinusFaceText ()
void SetTextEdgesVisibility (int)
int GetTextEdgesVisibility ()
void SetCubeVisibility (int)
int GetCubeVisibility ()
void SetFaceTextVisibility (int)
int GetFaceTextVisibility ()
virtual void SetXFaceTextRotation (double)
virtual double GetXFaceTextRotation ()
virtual void SetYFaceTextRotation (double)
virtual double GetYFaceTextRotation ()
virtual void SetZFaceTextRotation (double)
virtual double GetZFaceTextRotation ()
vtkAssemblyGetAssembly ()

Static Public Member Functions

static vtkAnnotatedCubeActorNew ()
static int IsTypeOf (const char *type)
static vtkAnnotatedCubeActorSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkAnnotatedCubeActor ()
 ~vtkAnnotatedCubeActor ()
void UpdateProps ()

Protected Attributes

vtkCubeSourceCubeSource
vtkActorCubeActor
vtkAppendPolyDataAppendTextEdges
vtkFeatureEdgesExtractTextEdges
vtkActorTextEdgesActor
char * XPlusFaceText
char * XMinusFaceText
char * YPlusFaceText
char * YMinusFaceText
char * ZPlusFaceText
char * ZMinusFaceText
double FaceTextScale
double XFaceTextRotation
double YFaceTextRotation
double ZFaceTextRotation
vtkVectorTextXPlusFaceVectorText
vtkVectorTextXMinusFaceVectorText
vtkVectorTextYPlusFaceVectorText
vtkVectorTextYMinusFaceVectorText
vtkVectorTextZPlusFaceVectorText
vtkVectorTextZMinusFaceVectorText
vtkActorXPlusFaceActor
vtkActorXMinusFaceActor
vtkActorYPlusFaceActor
vtkActorYMinusFaceActor
vtkActorZPlusFaceActor
vtkActorZMinusFaceActor
vtkTransformFilterTransformFilter
vtkTransformTransform
vtkAssemblyAssembly

Detailed Description

a 3D cube with face labels

vtkAnnotatedCubeActor is a hybrid 3D actor used to represent an anatomical orientation marker in a scene. The class consists of a 3D unit cube centered on the origin with each face labelled in correspondance to a particular coordinate direction. For example, with Cartesian directions, the user defined text labels could be: +X, -X, +Y, -Y, +Z, -Z, while for anatomical directions: A, P, L, R, S, I. Text is automatically centered on each cube face and is not restriceted to single characters. In addition to or in replace of a solid text label representation, the outline edges of the labels can be displayed. The individual properties of the cube, face labels and text outlines can be manipulated as can their visibility.

Warning:
vtkAnnotatedCubeActor is primarily intended for use with vtkOrientationMarkerWidget. The cube face text is generated by vtkVectorText and therefore the font attributes are restricted.
See also:
vtkAxesActor vtkOrientationMarkerWidget vtkVectorText
Examples:
vtkAnnotatedCubeActor (Examples)
Tests:
vtkAnnotatedCubeActor (Tests)

Definition at line 62 of file vtkAnnotatedCubeActor.h.


Member Typedef Documentation

Reimplemented from vtkProp3D.

Definition at line 66 of file vtkAnnotatedCubeActor.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkAnnotatedCubeActor::IsTypeOf ( const char *  name) [static]

Return 1 if this class type 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 vtkProp3D.

virtual int vtkAnnotatedCubeActor::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 vtkProp3D.

Reimplemented from vtkProp3D.

virtual vtkObjectBase* vtkAnnotatedCubeActor::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkProp3D.

Reimplemented from vtkProp3D.

void vtkAnnotatedCubeActor::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 vtkProp3D.

virtual void vtkAnnotatedCubeActor::GetActors ( vtkPropCollection ) [virtual]

For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process.

Reimplemented from vtkProp.

virtual int vtkAnnotatedCubeActor::RenderOpaqueGeometry ( vtkViewport viewport) [virtual]

Support the standard render methods.

Reimplemented from vtkProp.

Support the standard render methods.

Reimplemented from vtkProp.

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkProp.

void vtkAnnotatedCubeActor::ShallowCopy ( vtkProp prop) [virtual]

Shallow copy of an axes actor. Overloads the virtual vtkProp method.

Reimplemented from vtkProp3D.

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.

Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)

Reimplemented from vtkProp3D.

Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)

Implements vtkProp3D.

unsigned long int vtkAnnotatedCubeActor::GetMTime ( ) [virtual]

Get the actors mtime plus consider its properties and texture if set.

Reimplemented from vtkProp3D.

Set/Get the scale factor for the face text

Set/Get the scale factor for the face text

Get the individual face text properties.

Get the individual face text properties.

Get the individual face text properties.

Get the individual face text properties.

Get the individual face text properties.

Get the individual face text properties.

Get the cube properties.

Get the text edges properties.

virtual void vtkAnnotatedCubeActor::SetXPlusFaceText ( const char *  ) [virtual]

Set/get the face text.

virtual char* vtkAnnotatedCubeActor::GetXPlusFaceText ( ) [virtual]

Set/get the face text.

virtual void vtkAnnotatedCubeActor::SetXMinusFaceText ( const char *  ) [virtual]

Set/get the face text.

virtual char* vtkAnnotatedCubeActor::GetXMinusFaceText ( ) [virtual]

Set/get the face text.

virtual void vtkAnnotatedCubeActor::SetYPlusFaceText ( const char *  ) [virtual]

Set/get the face text.

virtual char* vtkAnnotatedCubeActor::GetYPlusFaceText ( ) [virtual]

Set/get the face text.

virtual void vtkAnnotatedCubeActor::SetYMinusFaceText ( const char *  ) [virtual]

Set/get the face text.

virtual char* vtkAnnotatedCubeActor::GetYMinusFaceText ( ) [virtual]

Set/get the face text.

virtual void vtkAnnotatedCubeActor::SetZPlusFaceText ( const char *  ) [virtual]

Set/get the face text.

virtual char* vtkAnnotatedCubeActor::GetZPlusFaceText ( ) [virtual]

Set/get the face text.

virtual void vtkAnnotatedCubeActor::SetZMinusFaceText ( const char *  ) [virtual]

Set/get the face text.

virtual char* vtkAnnotatedCubeActor::GetZMinusFaceText ( ) [virtual]

Set/get the face text.

Enable/disable drawing the vector text edges.

Enable/disable drawing the vector text edges.

Enable/disable drawing the cube.

Enable/disable drawing the cube.

Enable/disable drawing the vector text.

Enable/disable drawing the vector text.

Augment individual face text orientations.

Augment individual face text orientations.

Augment individual face text orientations.

Augment individual face text orientations.

Augment individual face text orientations.

Augment individual face text orientations.

Get the assembly so that user supplied transforms can be applied

Definition at line 170 of file vtkAnnotatedCubeActor.h.

void vtkAnnotatedCubeActor::UpdateProps ( ) [protected]

Member Data Documentation

Definition at line 178 of file vtkAnnotatedCubeActor.h.

Definition at line 179 of file vtkAnnotatedCubeActor.h.

Definition at line 181 of file vtkAnnotatedCubeActor.h.

Definition at line 182 of file vtkAnnotatedCubeActor.h.

Definition at line 183 of file vtkAnnotatedCubeActor.h.

Definition at line 187 of file vtkAnnotatedCubeActor.h.

Definition at line 188 of file vtkAnnotatedCubeActor.h.

Definition at line 189 of file vtkAnnotatedCubeActor.h.

Definition at line 190 of file vtkAnnotatedCubeActor.h.

Definition at line 191 of file vtkAnnotatedCubeActor.h.

Definition at line 192 of file vtkAnnotatedCubeActor.h.

Definition at line 194 of file vtkAnnotatedCubeActor.h.

Definition at line 196 of file vtkAnnotatedCubeActor.h.

Definition at line 197 of file vtkAnnotatedCubeActor.h.

Definition at line 198 of file vtkAnnotatedCubeActor.h.

Definition at line 200 of file vtkAnnotatedCubeActor.h.

Definition at line 201 of file vtkAnnotatedCubeActor.h.

Definition at line 202 of file vtkAnnotatedCubeActor.h.

Definition at line 203 of file vtkAnnotatedCubeActor.h.

Definition at line 204 of file vtkAnnotatedCubeActor.h.

Definition at line 205 of file vtkAnnotatedCubeActor.h.

Definition at line 207 of file vtkAnnotatedCubeActor.h.

Definition at line 208 of file vtkAnnotatedCubeActor.h.

Definition at line 209 of file vtkAnnotatedCubeActor.h.

Definition at line 210 of file vtkAnnotatedCubeActor.h.

Definition at line 211 of file vtkAnnotatedCubeActor.h.

Definition at line 212 of file vtkAnnotatedCubeActor.h.

Definition at line 214 of file vtkAnnotatedCubeActor.h.

Reimplemented from vtkProp3D.

Definition at line 215 of file vtkAnnotatedCubeActor.h.

Definition at line 217 of file vtkAnnotatedCubeActor.h.


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