VTK
|
a 3D cube with face labels More...
#include <vtkAnnotatedCubeActor.h>
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.
Definition at line 62 of file vtkAnnotatedCubeActor.h.
Reimplemented from vtkProp3D.
Definition at line 66 of file vtkAnnotatedCubeActor.h.
vtkAnnotatedCubeActor::vtkAnnotatedCubeActor | ( | ) | [protected] |
vtkAnnotatedCubeActor::~vtkAnnotatedCubeActor | ( | ) | [protected] |
static vtkAnnotatedCubeActor* vtkAnnotatedCubeActor::New | ( | ) | [static] |
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.
static vtkAnnotatedCubeActor* vtkAnnotatedCubeActor::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkProp3D.
virtual vtkObjectBase* vtkAnnotatedCubeActor::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkProp3D.
Reimplemented from vtkProp3D.
void vtkAnnotatedCubeActor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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.
virtual int vtkAnnotatedCubeActor::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkProp.
virtual int vtkAnnotatedCubeActor::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkProp.
void vtkAnnotatedCubeActor::ShallowCopy | ( | vtkProp * | prop | ) | [virtual] |
void vtkAnnotatedCubeActor::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 vtkProp.
void vtkAnnotatedCubeActor::GetBounds | ( | double | bounds[6] | ) |
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.
double* vtkAnnotatedCubeActor::GetBounds | ( | ) | [virtual] |
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
virtual double vtkAnnotatedCubeActor::GetFaceTextScale | ( | ) | [virtual] |
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.
virtual void vtkAnnotatedCubeActor::SetXFaceTextRotation | ( | double | ) | [virtual] |
Augment individual face text orientations.
virtual double vtkAnnotatedCubeActor::GetXFaceTextRotation | ( | ) | [virtual] |
Augment individual face text orientations.
virtual void vtkAnnotatedCubeActor::SetYFaceTextRotation | ( | double | ) | [virtual] |
Augment individual face text orientations.
virtual double vtkAnnotatedCubeActor::GetYFaceTextRotation | ( | ) | [virtual] |
Augment individual face text orientations.
virtual void vtkAnnotatedCubeActor::SetZFaceTextRotation | ( | double | ) | [virtual] |
Augment individual face text orientations.
virtual double vtkAnnotatedCubeActor::GetZFaceTextRotation | ( | ) | [virtual] |
Augment individual face text orientations.
vtkAssembly* vtkAnnotatedCubeActor::GetAssembly | ( | ) | [inline] |
Get the assembly so that user supplied transforms can be applied
Definition at line 170 of file vtkAnnotatedCubeActor.h.
void vtkAnnotatedCubeActor::UpdateProps | ( | ) | [protected] |
vtkCubeSource* vtkAnnotatedCubeActor::CubeSource [protected] |
Definition at line 178 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::CubeActor [protected] |
Definition at line 179 of file vtkAnnotatedCubeActor.h.
vtkAppendPolyData* vtkAnnotatedCubeActor::AppendTextEdges [protected] |
Definition at line 181 of file vtkAnnotatedCubeActor.h.
vtkFeatureEdges* vtkAnnotatedCubeActor::ExtractTextEdges [protected] |
Definition at line 182 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::TextEdgesActor [protected] |
Definition at line 183 of file vtkAnnotatedCubeActor.h.
char* vtkAnnotatedCubeActor::XPlusFaceText [protected] |
Definition at line 187 of file vtkAnnotatedCubeActor.h.
char* vtkAnnotatedCubeActor::XMinusFaceText [protected] |
Definition at line 188 of file vtkAnnotatedCubeActor.h.
char* vtkAnnotatedCubeActor::YPlusFaceText [protected] |
Definition at line 189 of file vtkAnnotatedCubeActor.h.
char* vtkAnnotatedCubeActor::YMinusFaceText [protected] |
Definition at line 190 of file vtkAnnotatedCubeActor.h.
char* vtkAnnotatedCubeActor::ZPlusFaceText [protected] |
Definition at line 191 of file vtkAnnotatedCubeActor.h.
char* vtkAnnotatedCubeActor::ZMinusFaceText [protected] |
Definition at line 192 of file vtkAnnotatedCubeActor.h.
double vtkAnnotatedCubeActor::FaceTextScale [protected] |
Definition at line 194 of file vtkAnnotatedCubeActor.h.
double vtkAnnotatedCubeActor::XFaceTextRotation [protected] |
Definition at line 196 of file vtkAnnotatedCubeActor.h.
double vtkAnnotatedCubeActor::YFaceTextRotation [protected] |
Definition at line 197 of file vtkAnnotatedCubeActor.h.
double vtkAnnotatedCubeActor::ZFaceTextRotation [protected] |
Definition at line 198 of file vtkAnnotatedCubeActor.h.
vtkVectorText* vtkAnnotatedCubeActor::XPlusFaceVectorText [protected] |
Definition at line 200 of file vtkAnnotatedCubeActor.h.
vtkVectorText* vtkAnnotatedCubeActor::XMinusFaceVectorText [protected] |
Definition at line 201 of file vtkAnnotatedCubeActor.h.
vtkVectorText* vtkAnnotatedCubeActor::YPlusFaceVectorText [protected] |
Definition at line 202 of file vtkAnnotatedCubeActor.h.
vtkVectorText* vtkAnnotatedCubeActor::YMinusFaceVectorText [protected] |
Definition at line 203 of file vtkAnnotatedCubeActor.h.
vtkVectorText* vtkAnnotatedCubeActor::ZPlusFaceVectorText [protected] |
Definition at line 204 of file vtkAnnotatedCubeActor.h.
vtkVectorText* vtkAnnotatedCubeActor::ZMinusFaceVectorText [protected] |
Definition at line 205 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::XPlusFaceActor [protected] |
Definition at line 207 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::XMinusFaceActor [protected] |
Definition at line 208 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::YPlusFaceActor [protected] |
Definition at line 209 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::YMinusFaceActor [protected] |
Definition at line 210 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::ZPlusFaceActor [protected] |
Definition at line 211 of file vtkAnnotatedCubeActor.h.
vtkActor* vtkAnnotatedCubeActor::ZMinusFaceActor [protected] |
Definition at line 212 of file vtkAnnotatedCubeActor.h.
vtkTransformFilter* vtkAnnotatedCubeActor::TransformFilter [protected] |
Definition at line 214 of file vtkAnnotatedCubeActor.h.
vtkTransform* vtkAnnotatedCubeActor::Transform [protected] |
Reimplemented from vtkProp3D.
Definition at line 215 of file vtkAnnotatedCubeActor.h.
vtkAssembly* vtkAnnotatedCubeActor::Assembly [protected] |
Definition at line 217 of file vtkAnnotatedCubeActor.h.