56 "): setting Position to (" << x <<
"," << y <<
"," <<
58 if ((this->Position[0] != x)||
59 (this->Position[1] != y)||
60 (this->Position[2] != z))
62 this->Position[0] = x;
63 this->Position[1] = y;
64 this->Position[2] = z;
72 { this->SetPosition(pos[0], pos[1], pos[2]); }
73 vtkGetVectorMacro(Position,
double, 3);
74 void AddPosition(
double deltaPosition[3]);
75 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
80 virtual void SetOrigin(
double x,
double y,
double z)
83 "): setting Origin to (" << x <<
"," << y <<
"," <<
85 if ((this->Origin[0] != x)||
86 (this->Origin[1] != y)||
87 (this->Origin[2] != z))
97 { this->SetOrigin(pos[0], pos[1], pos[2]); }
98 vtkGetVectorMacro(Origin,
double, 3);
105 virtual void SetScale(
double x,
double y,
double z)
107 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
108 "): setting Scale to (" << x <<
"," << y <<
"," <<
110 if (this->Scale[0] != x ||
111 this->Scale[1] != y ||
112 this->Scale[2] != z )
118 this->IsIdentity = 0;
122 { this->SetScale(scale[0], scale[1], scale[2]); }
123 vtkGetVectorMacro(Scale,
double, 3);
129 { this->SetScale(s, s, s); }
188 void RotateX(
double);
195 void RotateY(
double);
202 void RotateZ(
double);
207 void RotateWXYZ(
double w,
double x,
double y,
double z);
212 void SetOrientation(
double x,
double y,
double z);
224 double *GetOrientation();
225 void GetOrientation(
double orentation[3]);
229 double *GetOrientationWXYZ();
234 void AddOrientation(
double x,
double y,
double z);
239 void AddOrientation(
double orentation[3]);
259 unsigned long int GetUserTransformMatrixMTime();
262 virtual void ComputeMatrix();
268 this->ComputeMatrix();
275 vtkGetMacro(IsIdentity,
int);
288 double Orientation[3];
abstract superclass for all actors, volumes and annotations
virtual vtkMatrix4x4 * GetMatrix()
void PrintSelf(ostream &os, vtkIndent indent)
represent and manipulate 4x4 transformation matrices
virtual void ShallowCopy(vtkProp *prop)
vtkMatrix4x4 * UserMatrix
record modification and/or execution time
abstract specification for renderers
represents an 3D object for placement in a rendered scene
virtual double * GetBounds()
virtual void SetPosition(double x, double y, double z)
virtual unsigned long GetMTime()
a simple class to control print indentation
const char * GetClassName() const
virtual void SetOrigin(double x, double y, double z)
virtual void SetOrigin(const double pos[3])
virtual void SetPosition(double pos[3])
vtkLinearTransform * UserTransform
#define VTKRENDERINGCORE_EXPORT
virtual void PokeMatrix(vtkMatrix4x4 *vtkNotUsed(matrix))
virtual void SetScale(double scale[3])
vtkMatrix4x4 * GetMatrix()
virtual void InitPathTraversal()
virtual void SetScale(double x, double y, double z)