41 #include "vtkRenderingCoreModule.h"
66 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Position to (" << x <<
","
67 << y <<
"," << z <<
")");
80 vtkGetVectorMacro(
Position,
double, 3);
81 void AddPosition(
double deltaPosition[3]);
82 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
89 virtual void SetOrigin(
double x,
double y,
double z)
91 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Origin to (" << x <<
","
92 << y <<
"," << z <<
")");
93 if ((this->Origin[0] != x) || (this->Origin[1] != y) || (this->Origin[2] != z))
103 vtkGetVectorMacro(Origin,
double, 3);
111 virtual void SetScale(
double x,
double y,
double z)
113 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Scale to (" << x <<
","
114 << y <<
"," << z <<
")");
115 if (this->Scale[0] != x || this->Scale[1] != y || this->Scale[2] != z)
121 this->IsIdentity = 0;
125 vtkGetVectorMacro(Scale,
double, 3);
165 virtual void GetMatrix(
double result[16]);
173 virtual void GetModelToWorldMatrix(
vtkMatrix4x4* result);
180 virtual void SetPropertiesFromModelToWorldMatrix(
vtkMatrix4x4* modelToWorld);
202 double* GetXRange() VTK_SIZEHINT(2);
207 double* GetYRange() VTK_SIZEHINT(2);
212 double* GetZRange() VTK_SIZEHINT(2);
226 void RotateX(
double);
235 void RotateY(
double);
244 void RotateZ(
double);
252 void RotateWXYZ(
double w,
double x,
double y,
double z);
259 void SetOrientation(
double x,
double y,
double z);
275 double* GetOrientation() VTK_SIZEHINT(3);
276 void GetOrientation(
double orentation[3]);
282 double* GetOrientationWXYZ() VTK_SIZEHINT(4);
290 void AddOrientation(
double x,
double y,
double z);
298 void AddOrientation(
double orentation[3]);
316 void InitPathTraversal() override;
332 virtual
void ComputeMatrix();
341 this->ComputeMatrix();
350 vtkGetMacro(IsIdentity,
int);
371 void SetCoordinateSystem(CoordinateSystems val);
372 vtkGetMacro(CoordinateSystem, CoordinateSystems);
373 const char* GetCoordinateSystemAsString();
381 void SetCoordinateSystemRenderer(
vtkRenderer* ren);
390 vtkSetMacro(CoordinateSystemDevice,
int);
391 vtkGetMacro(CoordinateSystemDevice,
int);
404 double Orientation[3];
419 void operator=(
const vtkProp3D&) =
delete;
abstract superclass for all actors, volumes and annotations
virtual vtkMatrix4x4 * GetMatrix()
CoordinateSystems
Specify the coordinate system that this prop is relative to.
represent and manipulate 4x4 transformation matrices
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
vtkTypeUInt32 vtkMTimeType
void SetCoordinateSystemToWorld()
Specify the coordinate system that this prop is relative to.
struct Position_t Position
vtkMatrix4x4 * UserMatrix
record modification and/or execution time
void SetScale(double s)
Method to set the scale isotropically.
abstract specification for renderers
represents an 3D object for placement in a rendered scene
vtkWeakPointer< vtkRenderer > CoordinateSystemRenderer
virtual double * GetBounds()
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual void SetPosition(double x, double y, double z)
Set/Get/Add the position of the Prop3D in world coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
const char * GetClassName() const
Return the class name as a string.
virtual void Modified()
Update the modification time for this object.
virtual void SetOrigin(double x, double y, double z)
Set/Get the origin of the Prop3D.
virtual void SetOrigin(const double pos[3])
Set/Get the origin of the Prop3D.
virtual void SetPosition(double pos[3])
#define VTK_SIZEHINT(...)
void SetCoordinateSystemToPhysical()
Specify the coordinate system that this prop is relative to.
vtkLinearTransform * UserTransform
int CoordinateSystemDevice
virtual void SetScale(double scale[3])
Set/Get the scale of the actor.
void SetCoordinateSystemToDevice()
Specify the coordinate system that this prop is relative to.
vtkNew< vtkMatrix4x4 > TempMatrix4x4
virtual void SetScale(double x, double y, double z)
Set/Get the scale of the actor.