29 #include "vtkRenderingCoreModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
56 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Position to (" << x <<
","
57 << y <<
"," << z <<
")");
70 vtkGetVectorMacro(
Position,
double, 3);
71 void AddPosition(
double deltaPosition[3]);
72 void AddPosition(
double deltaX,
double deltaY,
double deltaZ);
79 virtual void SetOrigin(
double x,
double y,
double z)
81 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Origin to (" << x <<
","
82 << y <<
"," << z <<
")");
83 if ((this->Origin[0] != x) || (this->Origin[1] != y) || (this->Origin[2] != z))
93 vtkGetVectorMacro(Origin,
double, 3);
101 virtual void SetScale(
double x,
double y,
double z)
103 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Scale to (" << x <<
","
104 << y <<
"," << z <<
")");
105 if (this->Scale[0] != x || this->Scale[1] != y || this->Scale[2] != z)
111 this->IsIdentity = 0;
115 vtkGetVectorMacro(Scale,
double, 3);
157 virtual
void GetMatrix(
double result[16]);
165 virtual
void GetModelToWorldMatrix(
vtkMatrix4x4* result);
172 virtual
void SetPropertiesFromModelToWorldMatrix(
vtkMatrix4x4* modelToWorld);
194 double* GetXRange() VTK_SIZEHINT(2);
199 double* GetYRange() VTK_SIZEHINT(2);
204 double* GetZRange() VTK_SIZEHINT(2);
218 void RotateX(
double);
227 void RotateY(
double);
236 void RotateZ(
double);
244 void RotateWXYZ(
double w,
double x,
double y,
double z);
251 void SetOrientation(
double x,
double y,
double z);
267 double* GetOrientation() VTK_SIZEHINT(3);
268 void GetOrientation(
double orentation[3]);
274 double* GetOrientationWXYZ() VTK_SIZEHINT(4);
282 void AddOrientation(
double x,
double y,
double z);
290 void AddOrientation(
double orentation[3]);
308 void InitPathTraversal() override;
324 virtual
void ComputeMatrix();
333 this->ComputeMatrix();
363 void SetCoordinateSystem(CoordinateSystems val);
364 vtkGetMacro(CoordinateSystem, CoordinateSystems);
365 const char* GetCoordinateSystemAsString();
373 void SetCoordinateSystemRenderer(
vtkRenderer* ren);
382 vtkSetMacro(CoordinateSystemDevice,
int);
383 vtkGetMacro(CoordinateSystemDevice,
int);
396 double Orientation[3];
411 void operator=(
const vtkProp3D&) =
delete;
414 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
void GetBounds(T a, double bds[6])
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 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
#define VTK_MARSHALEXCLUDE(reason)
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.
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL