------------------------------------------------------------------------------
| 11 | |
| 12 | //------------------------------------------------------------------------------ |
| 13 | vtkTransform::vtkTransform() |
| 14 | { |
| 15 | this->Input = nullptr; |
| 16 | |
| 17 | // most of the functionality is provided by the concatenation |
| 18 | this->Concatenation = vtkTransformConcatenation::New(); |
| 19 | |
| 20 | // the stack will be allocated the first time Push is called |
| 21 | this->Stack = nullptr; |
| 22 | |
| 23 | // initialize the legacy 'Point' info |
| 24 | this->Point[0] = this->Point[1] = this->Point[2] = this->Point[3] = 0.0; |
| 25 | this->DoublePoint[0] = this->DoublePoint[1] = this->DoublePoint[2] = this->DoublePoint[3] = 0.0; |
| 26 | |
| 27 | // save the original matrix MTime as part of a hack to support legacy code |
| 28 | this->MatrixUpdateMTime = this->Matrix->GetMTime(); |
| 29 | } |
| 30 | |
| 31 | //------------------------------------------------------------------------------ |
| 32 | vtkTransform::~vtkTransform() |