Go to the documentation of this file.
39 #include "vtkRenderingCoreModule.h"
64 "): setting Position to (" << x <<
"," << y <<
"," <<
66 if ((this->Position[0] != x)||
67 (this->Position[1] != y)||
68 (this->Position[2] != z))
70 this->Position[0] = x;
71 this->Position[1] = y;
72 this->Position[2] = z;
80 { this->SetPosition(pos[0], pos[1], pos[2]); }
81 vtkGetVectorMacro(Position,
double, 3);
82 void AddPosition(
double deltaPosition[3]);
83 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
90 virtual void SetOrigin(
double x,
double y,
double z)
93 "): setting Origin to (" << x <<
"," << y <<
"," <<
95 if ((this->Origin[0] != x)||
96 (this->Origin[1] != y)||
97 (this->Origin[2] != z))
103 this->IsIdentity = 0;
107 { this->SetOrigin(pos[0], pos[1], pos[2]); }
108 vtkGetVectorMacro(Origin,
double, 3);
116 virtual void SetScale(
double x,
double y,
double z)
118 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
119 "): setting Scale to (" << x <<
"," << y <<
"," <<
121 if (this->Scale[0] != x ||
122 this->Scale[1] != y ||
123 this->Scale[2] != z )
129 this->IsIdentity = 0;
134 vtkGetVectorMacro(Scale,
double, 3);
141 { this->SetScale(s, s, s); }
222 void RotateX(
double);
231 void RotateY(
double);
240 void RotateZ(
double);
248 void RotateWXYZ(
double w,
double x,
double y,
double z);
255 void SetOrientation(
double x,
double y,
double z);
272 void GetOrientation(
double orentation[3]);
286 void AddOrientation(
double x,
double y,
double z);
294 void AddOrientation(
double orentation[3]);
312 void InitPathTraversal() override;
327 virtual
void ComputeMatrix();
335 this->ComputeMatrix();
344 vtkGetMacro(IsIdentity,
int);
357 double Orientation[3];
366 void operator=(
const vtkProp3D&) =
delete;
virtual vtkMatrix4x4 * GetMatrix()
virtual void SetPosition(double pos[3])
represents an 3D object for placement in a rendered scene
record modification and/or execution time
virtual void Modified()
Update the modification time for this object.
virtual void SetPosition(double x, double y, double z)
Set/Get/Add the position of the Prop3D in world coordinates.
virtual void SetScale(double scale[3])
const char * GetClassName() const
Return the class name as a string.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)
virtual void SetOrigin(double x, double y, double z)
Set/Get the origin of the Prop3D.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
vtkMatrix4x4 * UserMatrix
virtual void SetScale(double x, double y, double z)
Set/Get the scale of the actor.
virtual double * GetBounds()
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
virtual void SetOrigin(const double pos[3])
vtkLinearTransform * UserTransform
void SetScale(double s)
Method to set the scale isotropically.
vtkTypeUInt32 vtkMTimeType