ParaView
|
a 3D axes representation More...
#include <vtkPVAxesActor.h>
Inherits vtkProp3D.
Public Types | |
enum | { CYLINDER_SHAFT, LINE_SHAFT, USER_DEFINED_SHAFT } |
enum | { CONE_TIP, SPHERE_TIP, USER_DEFINED_TIP } |
typedef vtkProp3D | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | GetActors (vtkPropCollection *) |
For some exporters and other other operations we must be able to collect all the actors or volumes. More... | |
void | ShallowCopy (vtkProp *prop) |
Shallow copy of an axes actor. More... | |
void | ReleaseGraphicsResources (vtkWindow *) |
Release any graphics resources that are being consumed by this actor. More... | |
vtkMTimeType | GetMTime () |
Get the actors mtime plus consider its properties and texture if set. More... | |
virtual vtkMTimeType | GetRedrawMTime () |
Return the mtime of anything that would cause the rendered image to appear differently. More... | |
void | SetShaftType (int type) |
Set the type of the shaft to a cylinder, line, or user defined geometry. More... | |
void | SetShaftTypeToCylinder () |
void | SetShaftTypeToLine () |
void | SetShaftTypeToUserDefined () |
void | SetTipType (int type) |
Set the type of the tip to a cone, sphere, or user defined geometry. More... | |
void | SetTipTypeToCone () |
void | SetTipTypeToSphere () |
void | SetTipTypeToUserDefined () |
virtual int | RenderOpaqueGeometry (vtkViewport *viewport) |
Support the standard render methods. More... | |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) |
Support the standard render methods. More... | |
virtual int | HasTranslucentPolygonalGeometry () |
Support the standard render methods. More... | |
void | GetBounds (double bounds[6]) |
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). More... | |
double * | GetBounds () |
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). More... | |
void | SetTotalLength (float v[3]) |
Set the total length of the axes in 3 dimensions. More... | |
void | SetTotalLength (float x, float y, float z) |
Set the total length of the axes in 3 dimensions. More... | |
virtual float * | GetTotalLength () |
Set the total length of the axes in 3 dimensions. More... | |
virtual void | GetTotalLength (float data[3]) |
Set the total length of the axes in 3 dimensions. More... | |
void | SetNormalizedShaftLength (float v[3]) |
Set the normalized (0-1) length of the shaft. More... | |
void | SetNormalizedShaftLength (float x, float y, float z) |
Set the normalized (0-1) length of the shaft. More... | |
virtual float * | GetNormalizedShaftLength () |
Set the normalized (0-1) length of the shaft. More... | |
virtual void | GetNormalizedShaftLength (float data[3]) |
Set the normalized (0-1) length of the shaft. More... | |
void | SetNormalizedTipLength (float v[3]) |
Set the normalized (0-1) length of the tip. More... | |
void | SetNormalizedTipLength (float x, float y, float z) |
Set the normalized (0-1) length of the tip. More... | |
virtual float * | GetNormalizedTipLength () |
Set the normalized (0-1) length of the tip. More... | |
virtual void | GetNormalizedTipLength (float data[3]) |
Set the normalized (0-1) length of the tip. More... | |
virtual void | SetConeResolution (int) |
Set/get the resolution of the pieces of the axes actor. More... | |
virtual int | GetConeResolution () |
Set/get the resolution of the pieces of the axes actor. More... | |
virtual void | SetSphereResolution (int) |
Set/get the resolution of the pieces of the axes actor. More... | |
virtual int | GetSphereResolution () |
Set/get the resolution of the pieces of the axes actor. More... | |
virtual void | SetCylinderResolution (int) |
Set/get the resolution of the pieces of the axes actor. More... | |
virtual int | GetCylinderResolution () |
Set/get the resolution of the pieces of the axes actor. More... | |
virtual void | SetConeRadius (float) |
Set/get the radius of the pieces of the axes actor. More... | |
virtual float | GetConeRadius () |
Set/get the radius of the pieces of the axes actor. More... | |
virtual void | SetSphereRadius (float) |
Set/get the radius of the pieces of the axes actor. More... | |
virtual float | GetSphereRadius () |
Set/get the radius of the pieces of the axes actor. More... | |
virtual void | SetCylinderRadius (float) |
Set/get the radius of the pieces of the axes actor. More... | |
virtual float | GetCylinderRadius () |
Set/get the radius of the pieces of the axes actor. More... | |
virtual void | SetXAxisLabelPosition (float) |
Set/get the positions of the axis labels. More... | |
virtual float | GetXAxisLabelPosition () |
Set/get the positions of the axis labels. More... | |
virtual void | SetYAxisLabelPosition (float) |
Set/get the positions of the axis labels. More... | |
virtual float | GetYAxisLabelPosition () |
Set/get the positions of the axis labels. More... | |
virtual void | SetZAxisLabelPosition (float) |
Set/get the positions of the axis labels. More... | |
virtual float | GetZAxisLabelPosition () |
Set/get the positions of the axis labels. More... | |
void | SetUserDefinedTip (vtkPolyData *) |
Set the user defined tip polydata. More... | |
virtual vtkPolyData * | GetUserDefinedTip () |
Set the user defined tip polydata. More... | |
void | SetUserDefinedShaft (vtkPolyData *) |
Set the user defined shaft polydata. More... | |
virtual vtkPolyData * | GetUserDefinedShaft () |
Set the user defined shaft polydata. More... | |
vtkProperty * | GetXAxisTipProperty () |
Get the tip properties. More... | |
vtkProperty * | GetYAxisTipProperty () |
Get the tip properties. More... | |
vtkProperty * | GetZAxisTipProperty () |
Get the tip properties. More... | |
vtkProperty * | GetXAxisShaftProperty () |
Get the shaft properties. More... | |
vtkProperty * | GetYAxisShaftProperty () |
Get the shaft properties. More... | |
vtkProperty * | GetZAxisShaftProperty () |
Get the shaft properties. More... | |
vtkProperty * | GetXAxisLabelProperty () |
Get the label properties. More... | |
vtkProperty * | GetYAxisLabelProperty () |
Get the label properties. More... | |
vtkProperty * | GetZAxisLabelProperty () |
Get the label properties. More... | |
virtual void | SetXAxisLabelText (const char *) |
Set the label text. More... | |
virtual void | SetYAxisLabelText (const char *) |
Set the label text. More... | |
virtual void | SetZAxisLabelText (const char *) |
Set the label text. More... | |
Static Public Member Functions | |
static vtkPVAxesActor * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVAxesActor * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPVAxesActor () | |
~vtkPVAxesActor () | |
void | UpdateProps () |
Protected Attributes | |
vtkCylinderSource * | CylinderSource |
vtkLineSource * | LineSource |
vtkConeSource * | ConeSource |
vtkSphereSource * | SphereSource |
vtkActor * | XAxisShaft |
vtkActor * | YAxisShaft |
vtkActor * | ZAxisShaft |
vtkActor * | XAxisTip |
vtkActor * | YAxisTip |
vtkActor * | ZAxisTip |
float | TotalLength [3] |
float | NormalizedShaftLength [3] |
float | NormalizedTipLength [3] |
int | ShaftType |
int | TipType |
vtkPolyData * | UserDefinedTip |
vtkPolyData * | UserDefinedShaft |
char * | XAxisLabelText |
char * | YAxisLabelText |
char * | ZAxisLabelText |
vtkVectorText * | XAxisVectorText |
vtkVectorText * | YAxisVectorText |
vtkVectorText * | ZAxisVectorText |
vtkFollower * | XAxisLabel |
vtkFollower * | YAxisLabel |
vtkFollower * | ZAxisLabel |
int | ConeResolution |
int | SphereResolution |
int | CylinderResolution |
float | ConeRadius |
float | SphereRadius |
float | CylinderRadius |
float | XAxisLabelPosition |
float | YAxisLabelPosition |
float | ZAxisLabelPosition |
a 3D axes representation
vtkPVAxesActor is used to represent 3D axes in the scene. The user can define the geometry to use for the shaft and the tip, and the user can set the text for the three axes. The text will follow the camera.
Definition at line 44 of file vtkPVAxesActor.h.
typedef vtkProp3D vtkPVAxesActor::Superclass |
Definition at line 48 of file vtkPVAxesActor.h.
anonymous enum |
Enumerator | |
---|---|
CYLINDER_SHAFT | |
LINE_SHAFT | |
USER_DEFINED_SHAFT |
Definition at line 233 of file vtkPVAxesActor.h.
anonymous enum |
Enumerator | |
---|---|
CONE_TIP | |
SPHERE_TIP | |
USER_DEFINED_TIP |
Definition at line 240 of file vtkPVAxesActor.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkPVAxesActor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
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.
|
virtual |
Support the standard render methods.
|
virtual |
Support the standard render methods.
|
virtual |
Support the standard render methods.
void vtkPVAxesActor::ShallowCopy | ( | vtkProp * | prop | ) |
Shallow copy of an axes actor.
Overloads the virtual vtkProp method.
void vtkPVAxesActor::ReleaseGraphicsResources | ( | vtkWindow * | ) |
Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic resources to release.
void vtkPVAxesActor::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.)
double* vtkPVAxesActor::GetBounds | ( | ) |
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
(The method GetBounds(double bounds[6]) is available from the superclass.)
vtkMTimeType vtkPVAxesActor::GetMTime | ( | ) |
Get the actors mtime plus consider its properties and texture if set.
|
virtual |
Return the mtime of anything that would cause the rendered image to appear differently.
Usually this involves checking the mtime of the prop plus anything else it depends on such as properties, textures etc.
|
inline |
Set the total length of the axes in 3 dimensions.
Definition at line 105 of file vtkPVAxesActor.h.
void vtkPVAxesActor::SetTotalLength | ( | float | x, |
float | y, | ||
float | z | ||
) |
Set the total length of the axes in 3 dimensions.
|
virtual |
Set the total length of the axes in 3 dimensions.
|
virtual |
Set the total length of the axes in 3 dimensions.
|
inline |
Set the normalized (0-1) length of the shaft.
Definition at line 114 of file vtkPVAxesActor.h.
void vtkPVAxesActor::SetNormalizedShaftLength | ( | float | x, |
float | y, | ||
float | z | ||
) |
Set the normalized (0-1) length of the shaft.
|
virtual |
Set the normalized (0-1) length of the shaft.
|
virtual |
Set the normalized (0-1) length of the shaft.
|
inline |
Set the normalized (0-1) length of the tip.
Definition at line 123 of file vtkPVAxesActor.h.
void vtkPVAxesActor::SetNormalizedTipLength | ( | float | x, |
float | y, | ||
float | z | ||
) |
Set the normalized (0-1) length of the tip.
|
virtual |
Set the normalized (0-1) length of the tip.
|
virtual |
Set the normalized (0-1) length of the tip.
|
virtual |
Set/get the resolution of the pieces of the axes actor.
|
virtual |
Set/get the resolution of the pieces of the axes actor.
|
virtual |
Set/get the resolution of the pieces of the axes actor.
|
virtual |
Set/get the resolution of the pieces of the axes actor.
|
virtual |
Set/get the resolution of the pieces of the axes actor.
|
virtual |
Set/get the resolution of the pieces of the axes actor.
|
virtual |
Set/get the radius of the pieces of the axes actor.
|
virtual |
Set/get the radius of the pieces of the axes actor.
|
virtual |
Set/get the radius of the pieces of the axes actor.
|
virtual |
Set/get the radius of the pieces of the axes actor.
|
virtual |
Set/get the radius of the pieces of the axes actor.
|
virtual |
Set/get the radius of the pieces of the axes actor.
|
virtual |
Set/get the positions of the axis labels.
|
virtual |
Set/get the positions of the axis labels.
|
virtual |
Set/get the positions of the axis labels.
|
virtual |
Set/get the positions of the axis labels.
|
virtual |
Set/get the positions of the axis labels.
|
virtual |
Set/get the positions of the axis labels.
void vtkPVAxesActor::SetShaftType | ( | int | type | ) |
Set the type of the shaft to a cylinder, line, or user defined geometry.
|
inline |
Definition at line 168 of file vtkPVAxesActor.h.
|
inline |
Definition at line 169 of file vtkPVAxesActor.h.
|
inline |
Definition at line 170 of file vtkPVAxesActor.h.
void vtkPVAxesActor::SetTipType | ( | int | type | ) |
Set the type of the tip to a cone, sphere, or user defined geometry.
|
inline |
Definition at line 176 of file vtkPVAxesActor.h.
|
inline |
Definition at line 177 of file vtkPVAxesActor.h.
|
inline |
Definition at line 178 of file vtkPVAxesActor.h.
void vtkPVAxesActor::SetUserDefinedTip | ( | vtkPolyData * | ) |
Set the user defined tip polydata.
|
virtual |
Set the user defined tip polydata.
void vtkPVAxesActor::SetUserDefinedShaft | ( | vtkPolyData * | ) |
Set the user defined shaft polydata.
|
virtual |
Set the user defined shaft polydata.
vtkProperty* vtkPVAxesActor::GetXAxisTipProperty | ( | ) |
Get the tip properties.
vtkProperty* vtkPVAxesActor::GetYAxisTipProperty | ( | ) |
Get the tip properties.
vtkProperty* vtkPVAxesActor::GetZAxisTipProperty | ( | ) |
Get the tip properties.
vtkProperty* vtkPVAxesActor::GetXAxisShaftProperty | ( | ) |
Get the shaft properties.
vtkProperty* vtkPVAxesActor::GetYAxisShaftProperty | ( | ) |
Get the shaft properties.
vtkProperty* vtkPVAxesActor::GetZAxisShaftProperty | ( | ) |
Get the shaft properties.
vtkProperty* vtkPVAxesActor::GetXAxisLabelProperty | ( | ) |
Get the label properties.
vtkProperty* vtkPVAxesActor::GetYAxisLabelProperty | ( | ) |
Get the label properties.
vtkProperty* vtkPVAxesActor::GetZAxisLabelProperty | ( | ) |
Get the label properties.
|
virtual |
Set the label text.
|
virtual |
Set the label text.
|
virtual |
Set the label text.
|
protected |
|
protected |
Definition at line 251 of file vtkPVAxesActor.h.
|
protected |
Definition at line 252 of file vtkPVAxesActor.h.
|
protected |
Definition at line 253 of file vtkPVAxesActor.h.
|
protected |
Definition at line 254 of file vtkPVAxesActor.h.
|
protected |
Definition at line 256 of file vtkPVAxesActor.h.
|
protected |
Definition at line 257 of file vtkPVAxesActor.h.
|
protected |
Definition at line 258 of file vtkPVAxesActor.h.
|
protected |
Definition at line 260 of file vtkPVAxesActor.h.
|
protected |
Definition at line 261 of file vtkPVAxesActor.h.
|
protected |
Definition at line 262 of file vtkPVAxesActor.h.
|
protected |
Definition at line 266 of file vtkPVAxesActor.h.
|
protected |
Definition at line 267 of file vtkPVAxesActor.h.
|
protected |
Definition at line 268 of file vtkPVAxesActor.h.
|
protected |
Definition at line 270 of file vtkPVAxesActor.h.
|
protected |
Definition at line 271 of file vtkPVAxesActor.h.
|
protected |
Definition at line 273 of file vtkPVAxesActor.h.
|
protected |
Definition at line 274 of file vtkPVAxesActor.h.
|
protected |
Definition at line 276 of file vtkPVAxesActor.h.
|
protected |
Definition at line 277 of file vtkPVAxesActor.h.
|
protected |
Definition at line 278 of file vtkPVAxesActor.h.
|
protected |
Definition at line 280 of file vtkPVAxesActor.h.
|
protected |
Definition at line 281 of file vtkPVAxesActor.h.
|
protected |
Definition at line 282 of file vtkPVAxesActor.h.
|
protected |
Definition at line 284 of file vtkPVAxesActor.h.
|
protected |
Definition at line 285 of file vtkPVAxesActor.h.
|
protected |
Definition at line 286 of file vtkPVAxesActor.h.
|
protected |
Definition at line 288 of file vtkPVAxesActor.h.
|
protected |
Definition at line 289 of file vtkPVAxesActor.h.
|
protected |
Definition at line 290 of file vtkPVAxesActor.h.
|
protected |
Definition at line 292 of file vtkPVAxesActor.h.
|
protected |
Definition at line 293 of file vtkPVAxesActor.h.
|
protected |
Definition at line 294 of file vtkPVAxesActor.h.
|
protected |
Definition at line 296 of file vtkPVAxesActor.h.
|
protected |
Definition at line 297 of file vtkPVAxesActor.h.
|
protected |
Definition at line 298 of file vtkPVAxesActor.h.