29 #include "vtkRenderingCoreModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
55 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Position to (" << x <<
","
56 << y <<
"," << z <<
")");
69 vtkGetVectorMacro(
Position,
double, 3);
70 void AddPosition(
double deltaPosition[3]);
71 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
78 virtual void SetOrigin(
double x,
double y,
double z)
80 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Origin to (" << x <<
","
81 << y <<
"," << z <<
")");
82 if ((this->Origin[0] != x) || (this->Origin[1] != y) || (this->Origin[2] != z))
92 vtkGetVectorMacro(Origin,
double, 3);
100 virtual void SetScale(
double x,
double y,
double z)
102 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Scale to (" << x <<
","
103 << y <<
"," << z <<
")");
104 if (this->Scale[0] != x || this->Scale[1] != y || this->Scale[2] != z)
110 this->IsIdentity = 0;
114 vtkGetVectorMacro(Scale,
double, 3);
154 virtual void GetMatrix(
double result[16]);
162 virtual void GetModelToWorldMatrix(
vtkMatrix4x4* result);
169 virtual void SetPropertiesFromModelToWorldMatrix(
vtkMatrix4x4* modelToWorld);
191 double* GetXRange() VTK_SIZEHINT(2);
196 double* GetYRange() VTK_SIZEHINT(2);
201 double* GetZRange() VTK_SIZEHINT(2);
215 void RotateX(
double);
224 void RotateY(
double);
233 void RotateZ(
double);
241 void RotateWXYZ(
double w,
double x,
double y,
double z);
248 void SetOrientation(
double x,
double y,
double z);
264 double* GetOrientation() VTK_SIZEHINT(3);
265 void GetOrientation(
double orentation[3]);
271 double* GetOrientationWXYZ() VTK_SIZEHINT(4);
279 void AddOrientation(
double x,
double y,
double z);
287 void AddOrientation(
double orentation[3]);
305 void InitPathTraversal() override;
321 virtual
void ComputeMatrix();
330 this->ComputeMatrix();
360 void SetCoordinateSystem(CoordinateSystems val);
361 vtkGetMacro(CoordinateSystem, CoordinateSystems);
362 const char* GetCoordinateSystemAsString();
370 void SetCoordinateSystemRenderer(
vtkRenderer* ren);
379 vtkSetMacro(CoordinateSystemDevice,
int);
380 vtkGetMacro(CoordinateSystemDevice,
int);
393 double Orientation[3];
408 void operator=(
const vtkProp3D&) =
delete;
411 VTK_ABI_NAMESPACE_END
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.