NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to enable the data to represent coordinate axes to be added as a mitk::BaseData to the mitk::DataStorage. This class turns out to be very simple, as the BaseData contains the mitk::BaseGeometry, which contains all the information we need. So this class is effectively a dummy class. More...
Public Types | |
typedef itk::ImageRegion< 5 > | RegionType |
typedef RegionType::IndexType | IndexType |
typedef RegionType::SizeType | SizeType |
Public Member Functions | |
mitkClassMacro (CoordinateAxesData, mitk::BaseData) static Pointer New() | |
void | SetRequestedRegionToLargestPossibleRegion () override |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
virtual bool | VerifyRequestedRegion () override |
virtual void | SetRequestedRegion (const itk::DataObject *data) override |
const RegionType & | GetLargestPossibleRegion () const |
virtual const RegionType & | GetRequestedRegion () const |
virtual void | UpdateOutputInformation () override |
void | GetVtkMatrix (vtkMatrix4x4 &matrixToWriteTo) const |
void | SetVtkMatrix (const vtkMatrix4x4 &matrix) |
bool | SaveToFile (const std::string &fileName) const |
mitk::Point3D | MultiplyPoint (const mitk::Point3D &point) const |
Warning: slow method to transform point by current matrix. More... | |
void | SetTranslation (const mitk::Point3D &translation) |
Utility method for unit testing that will simply set the transformation to be equal to a translation. More... | |
void | SetTranslation (double tx, double ty, double tz) |
Utility method for unit testing that will simply set the transformation to be equal to a translation. More... | |
Static Public Attributes | |
static const char * | FILE_NAME = "CoordinateAxesTransform.4x4" |
static const char * | FILE_EXTENSION = ".4x4" |
static const char * | FILE_EXTENSION_WITH_ASTERISK = "*.4x4" |
static const char * | FILE_DIALOG_PATTERN = "Coordinate Axes Transform (*.4x4)" |
static const char * | FILE_DIALOG_NAME = "Coordinate Axes Transform 4x4" |
Protected Member Functions | |
CoordinateAxesData () | |
~CoordinateAxesData () | |
Class to enable the data to represent coordinate axes to be added as a mitk::BaseData to the mitk::DataStorage. This class turns out to be very simple, as the BaseData contains the mitk::BaseGeometry, which contains all the information we need. So this class is effectively a dummy class.
typedef RegionType::IndexType niftk::CoordinateAxesData::IndexType |
typedef itk::ImageRegion<5> niftk::CoordinateAxesData::RegionType |
typedef RegionType::SizeType niftk::CoordinateAxesData::SizeType |
|
protected |
|
protected |
const CoordinateAxesData::RegionType & niftk::CoordinateAxesData::GetLargestPossibleRegion | ( | ) | const |
|
virtual |
void niftk::CoordinateAxesData::GetVtkMatrix | ( | vtkMatrix4x4 & | matrixToWriteTo | ) | const |
niftk::CoordinateAxesData::mitkClassMacro | ( | CoordinateAxesData | , |
mitk::BaseData | |||
) |
mitk::Point3D niftk::CoordinateAxesData::MultiplyPoint | ( | const mitk::Point3D & | point | ) | const |
Warning: slow method to transform point by current matrix.
|
override |
bool niftk::CoordinateAxesData::SaveToFile | ( | const std::string & | fileName | ) | const |
|
overridevirtual |
|
override |
void niftk::CoordinateAxesData::SetTranslation | ( | const mitk::Point3D & | translation | ) |
Utility method for unit testing that will simply set the transformation to be equal to a translation.
void niftk::CoordinateAxesData::SetTranslation | ( | double | tx, |
double | ty, | ||
double | tz | ||
) |
Utility method for unit testing that will simply set the transformation to be equal to a translation.
void niftk::CoordinateAxesData::SetVtkMatrix | ( | const vtkMatrix4x4 & | matrix | ) |
|
overridevirtual |
|
overridevirtual |
|
static |
|
static |
|
static |
|
static |
|
static |