29 #ifndef vtkTransform2D_h
30 #define vtkTransform2D_h
32 #include "vtkCommonTransformsModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
76 void Scale(
const double s[2]) { this->
Scale(s[0], s[1]); }
77 void Scale(
const float s[2]) { this->
Scale(s[0], s[1]); }
103 this->GetPosition(temp);
104 pos[0] =
static_cast<float>(temp[0]);
105 pos[1] =
static_cast<float>(temp[1]);
119 this->GetScale(temp);
120 pos[0] =
static_cast<float>(temp[0]);
121 pos[1] =
static_cast<float>(temp[1]);
189 void MultiplyPoint(
const float in[3],
float out[3]) { this->GetMatrix()->MultiplyPoint(in, out); }
192 this->GetMatrix()->MultiplyPoint(in, out);
210 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
represent and manipulate 3x3 transformation matrices
double * GetData()
Return a pointer to the first element of the matrix (double[9]).
abstract base class for most VTK objects
represent and manipulate 2D points
vtkTypeUInt32 vtkMTimeType