Go to the documentation of this file.
36 #include "vtkRenderingCoreModule.h"
61 "): setting Position to (" << x <<
"," << y <<
"," <<
63 if ((this->Position[0] != x)||
64 (this->Position[1] != y)||
65 (this->Position[2] != z))
67 this->Position[0] = x;
68 this->Position[1] = y;
69 this->Position[2] = z;
77 { this->SetPosition(pos[0], pos[1], pos[2]); }
78 vtkGetVectorMacro(Position,
double, 3);
79 void AddPosition(
double deltaPosition[3]);
80 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
87 virtual void SetOrigin(
double x,
double y,
double z)
90 "): setting Origin to (" << x <<
"," << y <<
"," <<
92 if ((this->Origin[0] != x)||
93 (this->Origin[1] != y)||
94 (this->Origin[2] != z))
100 this->IsIdentity = 0;
104 { this->SetOrigin(pos[0], pos[1], pos[2]); }
105 vtkGetVectorMacro(Origin,
double, 3);
113 virtual void SetScale(
double x,
double y,
double z)
115 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
116 "): setting Scale to (" << x <<
"," << y <<
"," <<
118 if (this->Scale[0] != x ||
119 this->Scale[1] != y ||
120 this->Scale[2] != z )
126 this->IsIdentity = 0;
131 vtkGetVectorMacro(Scale,
double, 3);
138 { this->SetScale(s, s, s); }
219 void RotateX(
double);
228 void RotateY(
double);
237 void RotateZ(
double);
245 void RotateWXYZ(
double w,
double x,
double y,
double z);
252 void SetOrientation(
double x,
double y,
double z);
269 void GetOrientation(
double orentation[3]);
283 void AddOrientation(
double x,
double y,
double z);
291 void AddOrientation(
double orentation[3]);
309 void InitPathTraversal() override;
324 virtual
void ComputeMatrix();
332 this->ComputeMatrix();
341 vtkGetMacro(IsIdentity,
int);
354 double Orientation[3];
363 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