78 #include "vtkRenderingCoreModule.h"
82 VTK_ABI_NAMESPACE_BEGIN
105 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Position to (" << x <<
","
106 << y <<
"," << z <<
")");
113 this->IsIdentity = 0;
130 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Origin to (" << x <<
","
131 << y <<
"," << z <<
")");
132 if ((this->Origin[0] != x) || (this->Origin[1] != y) || (this->Origin[2] != z))
138 this->IsIdentity = 0;
142 vtkGetVectorMacro(Origin,
double, 3);
150 virtual void SetScale(
double x,
double y,
double z)
152 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Scale to (" << x <<
","
153 << y <<
"," << z <<
")");
154 if (this->Scale[0] != x || this->Scale[1] != y || this->Scale[2] != z)
160 this->IsIdentity = 0;
164 vtkGetVectorMacro(Scale,
double, 3);
206 virtual
void GetMatrix(
double result[16]);
221 virtual
void SetPropertiesFromModelToWorldMatrix(
vtkMatrix4x4* modelToWorld);
267 void RotateX(
double);
276 void RotateY(
double);
285 void RotateZ(
double);
293 void RotateWXYZ(
double w,
double x,
double y,
double z);
300 void SetOrientation(
double x,
double y,
double z);
317 void GetOrientation(
double orentation[3]);
331 void AddOrientation(
double x,
double y,
double z);
339 void AddOrientation(
double orentation[3]);
357 void InitPathTraversal() override;
373 virtual
void ComputeMatrix();
382 this->ComputeMatrix();
431 vtkSetMacro(CoordinateSystemDevice,
int);
432 vtkGetMacro(CoordinateSystemDevice,
int);
445 double Orientation[3];
460 void operator=(
const vtkProp3D&) =
delete;
463 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
const char * GetClassName() const
Return the class name as a string.
virtual void Modified()
Update the modification time for this object.
represents an 3D object for placement in a rendered scene
virtual void SetPosition(double x, double y, double z)
Set/Get/Add the position of the Prop3D in world coordinates.
vtkWeakPointer< vtkRenderer > CoordinateSystemRenderer
const char * GetCoordinateSystemAsString()
Specify the coordinate system that this prop is relative to.
void SetCoordinateSystem(CoordinateSystems val)
Specify the coordinate system that this prop is relative to.
void SetScale(double s)
Method to set the scale isotropically.
virtual void SetScale(double scale[3])
Set/Get the scale of the actor.
vtkNew< vtkMatrix4x4 > TempMatrix4x4
void AddPosition(double deltaX, double deltaY, double deltaZ)
void AddPosition(double deltaPosition[3])
vtkMatrix4x4 * UserMatrix
virtual void SetPosition(double pos[3])
virtual void SetOrigin(double x, double y, double z)
Set/Get the origin of the Prop3D.
virtual void SetScale(double x, double y, double z)
Set/Get the scale of the actor.
void SetCoordinateSystemToWorld()
Specify the coordinate system that this prop is relative to.
void SetCoordinateSystemRenderer(vtkRenderer *ren)
Specify the Renderer that the prop3d is relative to when the coordinate system is set to PHYSICAL or ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int CoordinateSystemDevice
void SetCoordinateSystemToDevice()
Specify the coordinate system that this prop is relative to.
void SetCoordinateSystemToPhysical()
Specify the coordinate system that this prop is relative to.
CoordinateSystems
Specify the coordinate system that this prop is relative to.
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkProp3D.
vtkRenderer * GetCoordinateSystemRenderer()
Specify the Renderer that the prop3d is relative to when the coordinate system is set to PHYSICAL or ...
vtkLinearTransform * UserTransform
virtual void SetOrigin(const double pos[3])
Set/Get the origin of the Prop3D.
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
record modification and/or execution time
void GetBounds(T a, double bds[6])
struct Position_t Position
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHALEXCLUDE(reason)