NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
MITK data-node property suitable for holding affine transforms. More...
Public Member Functions | |
mitkClassMacro (AffineTransformDataNodeProperty, mitk::BaseProperty) static Pointer New() | |
vtkMatrix4x4 & | GetTransform (void) |
const vtkMatrix4x4 & | GetTransform (void) const |
void | SetTransform (const vtkMatrix4x4 &transform) |
Sets transform. More... | |
virtual std::string | GetValueAsString () const override |
Defined in base class, returns the current value as a string for display in property view. More... | |
virtual void | Identity () |
Method to set these parameters back to identity. More... | |
Static Public Member Functions | |
static vtkSmartPointer < vtkMatrix4x4 > | LoadTransformFromNode (const std::string propertyName, const mitk::DataNode &node) |
Reads an affine transform from an MITK data node. More... | |
static void | StoreTransformInNode (const std::string propertyName, const vtkMatrix4x4 &transform, mitk::DataNode &r_node) |
Writes an affine transform to a node (as a 4x4 VTK Matrix) More... | |
Protected Member Functions | |
virtual | ~AffineTransformDataNodeProperty (void) |
AffineTransformDataNodeProperty (void) | |
AffineTransformDataNodeProperty (const AffineTransformDataNodeProperty &other) | |
MITK data-node property suitable for holding affine transforms.
|
inlineprotectedvirtual |
|
protected |
|
protected |
|
inline |
|
inline |
|
overridevirtual |
Defined in base class, returns the current value as a string for display in property view.
|
inlinevirtual |
Method to set these parameters back to identity.
|
static |
Reads an affine transform from an MITK data node.
If there is no affine transform set for the given node, the identity transform is returned.
niftk::AffineTransformDataNodeProperty::mitkClassMacro | ( | AffineTransformDataNodeProperty | , |
mitk::BaseProperty | |||
) |
|
inline |
Sets transform.
The transform is copied to memory managed by the property object.
|
static |
Writes an affine transform to a node (as a 4x4 VTK Matrix)