37 #include "vtkRenderingCoreModule.h"
60 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Position to (" << x <<
","
61 << y <<
"," << z <<
")");
62 if ((this->Position[0] != x) || (this->Position[1] != y) || (this->Position[2] != z))
64 this->Position[0] = x;
65 this->Position[1] = y;
66 this->Position[2] = z;
74 vtkGetVectorMacro(Position,
double, 3);
76 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
83 virtual void SetOrigin(
double x,
double y,
double z)
85 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Origin to (" << x <<
","
86 << y <<
"," << z <<
")");
87 if ((this->Origin[0] != x) || (this->Origin[1] != y) || (this->Origin[2] != z))
97 vtkGetVectorMacro(Origin,
double, 3);
105 virtual void SetScale(
double x,
double y,
double z)
107 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Scale to (" << x <<
","
108 << y <<
"," << z <<
")");
109 if (this->Scale[0] != x || this->Scale[1] != y || this->Scale[2] != z)
115 this->IsIdentity = 0;
119 vtkGetVectorMacro(Scale,
double, 3);
206 void RotateX(
double);
215 void RotateY(
double);
224 void RotateZ(
double);
232 void RotateWXYZ(
double w,
double x,
double y,
double z);
239 void SetOrientation(
double x,
double y,
double z);
256 void GetOrientation(
double orentation[3]);
270 void AddOrientation(
double x,
double y,
double z);
278 void AddOrientation(
double orentation[3]);
296 void InitPathTraversal() override;
311 virtual
void ComputeMatrix();
319 this->ComputeMatrix();
328 vtkGetMacro(IsIdentity,
int);
341 double Orientation[3];
351 void operator=(
const vtkProp3D&) =
delete;
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
const char * GetClassName() const
Return the class name as a string.
virtual void Modified()
Update the modification time for this object.
represents an 3D object for placement in a rendered scene
virtual void SetPosition(double x, double y, double z)
Set/Get/Add the position of the Prop3D in world coordinates.
void SetScale(double s)
Method to set the scale isotropically.
virtual void SetScale(double scale[3])
void AddPosition(double deltaX, double deltaY, double deltaZ)
void AddPosition(double deltaPosition[3])
vtkMatrix4x4 * UserMatrix
virtual void SetPosition(double pos[3])
virtual void SetOrigin(double x, double y, double z)
Set/Get the origin of the Prop3D.
virtual void SetScale(double x, double y, double z)
Set/Get the scale of the actor.
double * GetBounds() override=0
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetUserMatrix(vtkMatrix4x4 *matrix)
The UserMatrix can be used in place of UserTransform.
void SetUserTransform(vtkLinearTransform *transform)
In addition to the instance variables such as position and orientation, you can add an additional tra...
virtual void GetMatrix(double m[16])
void GetBounds(double bounds[6])
Return a reference to the Prop3D's composite transform.
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkProp3D.
virtual void GetMatrix(vtkMatrix4x4 *m)
Return a reference to the Prop3D's 4x4 composite matrix.
vtkMatrix4x4 * GetUserMatrix()
vtkLinearTransform * UserTransform
virtual void SetOrigin(const double pos[3])
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
record modification and/or execution time
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)