29#ifndef vtkTransform2D_h
30#define vtkTransform2D_h
32#include "vtkCommonTransformsModule.h"
38VTK_ABI_NAMESPACE_BEGIN
77 void Scale(
const double s[2]) { this->
Scale(s[0], s[1]); }
78 void Scale(
const float s[2]) { this->
Scale(s[0], s[1]); }
104 this->GetPosition(temp);
105 pos[0] =
static_cast<float>(temp[0]);
106 pos[1] =
static_cast<float>(temp[1]);
120 this->GetScale(temp);
121 pos[0] =
static_cast<float>(temp[0]);
122 pos[1] =
static_cast<float>(temp[1]);
190 void MultiplyPoint(
const float in[3],
float out[3]) { this->GetMatrix()->MultiplyPoint(in, out); }
193 this->GetMatrix()->MultiplyPoint(in, out);
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