55#include "vtkCommonTransformsModule.h"
98 void RotateWXYZ(
double angle,
double x,
double y,
double z)
104 this->
RotateWXYZ(angle, axis[0], axis[1], axis[2]);
108 this->
RotateWXYZ(angle, axis[0], axis[1], axis[2]);
130 void Scale(
const double s[3]) { this->
Scale(s[0], s[1], s[2]); }
131 void Scale(
const float s[3]) { this->
Scale(s[0], s[1], s[2]); }
205 return this->
Concatenation->GetNumberOfTransforms() + (this->
Input ==
nullptr ? 0 : 1);
219 if (this->
Input ==
nullptr)
223 else if (i < this->
Concatenation->GetNumberOfPreTransforms())
227 else if (i > this->
Concatenation->GetNumberOfPreTransforms())
233 t = this->
Input->GetInverse();
253 orient[0] =
static_cast<float>(temp[0]);
254 orient[1] =
static_cast<float>(temp[1]);
255 orient[2] =
static_cast<float>(temp[2]);
280 wxyz[0] =
static_cast<float>(temp[0]);
281 wxyz[1] =
static_cast<float>(temp[1]);
282 wxyz[2] =
static_cast<float>(temp[2]);
283 wxyz[3] =
static_cast<float>(temp[3]);
303 pos[0] =
static_cast<float>(temp[0]);
304 pos[1] =
static_cast<float>(temp[1]);
305 pos[2] =
static_cast<float>(temp[2]);
326 scale[0] =
static_cast<float>(temp[0]);
327 scale[1] =
static_cast<float>(temp[1]);
328 scale[2] =
static_cast<float>(temp[2]);
378 if (this->
Stack ==
nullptr)
394 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(...)