49#include "vtkCommonTransformsModule.h"
92 void RotateWXYZ(
double angle,
double x,
double y,
double z)
98 this->
RotateWXYZ(angle, axis[0], axis[1], axis[2]);
102 this->
RotateWXYZ(angle, axis[0], axis[1], axis[2]);
124 void Scale(
const double s[3]) { this->
Scale(s[0], s[1], s[2]); }
125 void Scale(
const float s[3]) { this->
Scale(s[0], s[1], s[2]); }
199 return this->
Concatenation->GetNumberOfTransforms() + (this->
Input ==
nullptr ? 0 : 1);
213 if (this->
Input ==
nullptr)
217 else if (i < this->
Concatenation->GetNumberOfPreTransforms())
221 else if (i > this->
Concatenation->GetNumberOfPreTransforms())
227 t = this->
Input->GetInverse();
247 orient[0] =
static_cast<float>(temp[0]);
248 orient[1] =
static_cast<float>(temp[1]);
249 orient[2] =
static_cast<float>(temp[2]);
274 wxyz[0] =
static_cast<float>(temp[0]);
275 wxyz[1] =
static_cast<float>(temp[1]);
276 wxyz[2] =
static_cast<float>(temp[2]);
277 wxyz[3] =
static_cast<float>(temp[3]);
297 pos[0] =
static_cast<float>(temp[0]);
298 pos[1] =
static_cast<float>(temp[1]);
299 pos[2] =
static_cast<float>(temp[2]);
320 scale[0] =
static_cast<float>(temp[0]);
321 scale[1] =
static_cast<float>(temp[1]);
322 scale[2] =
static_cast<float>(temp[2]);
372 if (this->
Stack ==
nullptr)
388 if (this->
Stack ==
nullptr)
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
void MultiplyPoint(const float in[4], float out[4])
Multiply a homogeneous coordinate by this matrix, i.e.
double Element[4][4]
The internal data is public for historical reasons. Do not use!
virtual void Modified()
Update the modification time for this object.
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)