A representer for scalar valued itk Meshs. More...
#include <itkStandardMeshRepresenter.h>
Inherits statismo::Representer< T >, and Object.
Public Types | |
| typedef StandardMeshRepresenter | Self |
| typedef Object | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
|
typedef itk::Mesh< TPixel, MeshDimension > | MeshType |
|
typedef statismo::Representer < MeshType > | RepresenterBaseType |
|
typedef RepresenterBaseType::DomainType | DomainType |
|
typedef RepresenterBaseType::PointType | PointType |
|
typedef RepresenterBaseType::ValueType | ValueType |
|
typedef RepresenterBaseType::DatasetPointerType | DatasetPointerType |
|
typedef RepresenterBaseType::DatasetConstPointerType | DatasetConstPointerType |
| typedef MeshType::PointsContainer | PointsContainerType |
| typedef MeshType | DatasetType |
| The type of the data set to be used. | |
|
typedef boost::unordered_map < PointType, unsigned > | PointCacheType |
Public Member Functions | |
| itkSimpleNewMacro (Self) | |
| itkTypeMacro (StandardMeshRepresenter, Object) | |
| void | Load (const H5::Group &fg) |
| StandardMeshRepresenter * | Clone () const |
| unsigned | GetDimensions () const |
| std::string | GetName () const |
| RepresenterBaseType::RepresenterDataType | GetType () const |
| std::string | GetVersion () const |
| const DomainType & | GetDomain () const |
| void | SetReference (DatasetPointerType ds) |
| statismo::VectorType | PointToVector (const PointType &pt) const |
| DatasetPointerType | DatasetToSample (DatasetConstPointerType ds) const |
| statismo::VectorType | SampleToSampleVector (DatasetConstPointerType sample) const |
| DatasetPointerType | SampleVectorToSample (const statismo::VectorType &sample) const |
| ValueType | PointSampleFromSample (DatasetConstPointerType sample, unsigned ptid) const |
| ValueType | PointSampleVectorToPointSample (const statismo::VectorType &pointSample) const |
| statismo::VectorType | PointSampleToPointSampleVector (const ValueType &v) const |
| void | Save (const H5::Group &fg) const |
| virtual unsigned | GetNumberOfPoints () const |
| return the number of points of the reference | |
| virtual unsigned | GetPointIdForPoint (const PointType &point) const |
| DatasetConstPointerType | GetReference () const |
| return the reference used in the representer | |
| void | Delete () const |
| void | DeleteDataset (DatasetPointerType d) const |
| DatasetPointerType | CloneDataset (DatasetConstPointerType mesh) const |
Static Public Member Functions | |
| static StandardMeshRepresenter * | Create () |
A representer for scalar valued itk Meshs.
| StandardMeshRepresenter< TPixel, MeshDimension >::DatasetPointerType itk::StandardMeshRepresenter< TPixel, MeshDimension >::DatasetToSample | ( | DatasetConstPointerType | ds | ) | const |
Create a sample from the dataset. No alignment or registration is done
|
virtual |
return the point id associated with the given point
| itk::StandardMeshRepresenter< TPixel, MeshDimension >::itkSimpleNewMacro | ( | Self | ) |
New macro for creation of through a Smart Pointer.
| itk::StandardMeshRepresenter< TPixel, MeshDimension >::itkTypeMacro | ( | StandardMeshRepresenter< TPixel, MeshDimension > | , |
| Object | |||
| ) |
Run-time type information (and related methods).
| StandardMeshRepresenter< TPixel, MeshDimension >::ValueType itk::StandardMeshRepresenter< TPixel, MeshDimension >::PointSampleFromSample | ( | DatasetConstPointerType | sample, |
| unsigned | ptid | ||
| ) | const |
Returns the value of the sample at the point with the given id.
| statismo::VectorType itk::StandardMeshRepresenter< TPixel, MeshDimension >::PointSampleToPointSampleVector | ( | const ValueType & | v | ) | const |
Given an itkPoint, convert it to a sample vector
| StandardMeshRepresenter< TPixel, MeshDimension >::ValueType itk::StandardMeshRepresenter< TPixel, MeshDimension >::PointSampleVectorToPointSample | ( | const statismo::VectorType & | pointSample | ) | const |
Given a vector, represening a points convert it to an itkPoint
| statismo::VectorType itk::StandardMeshRepresenter< TPixel, MeshDimension >::SampleToSampleVector | ( | DatasetConstPointerType | sample | ) | const |
Converts a sample to its vectorial representation
| StandardMeshRepresenter< TPixel, MeshDimension >::DatasetPointerType itk::StandardMeshRepresenter< TPixel, MeshDimension >::SampleVectorToSample | ( | const statismo::VectorType & | sample | ) | const |
Converts the given sample Vector to a Sample (an itk::Mesh)
| void itk::StandardMeshRepresenter< TPixel, MeshDimension >::Save | ( | const H5::Group & | fg | ) | const |
Save the state of the representer (this simply saves the reference)
| void itk::StandardMeshRepresenter< TPixel, MeshDimension >::SetReference | ( | DatasetPointerType | ds | ) |
Set the reference that is used to build the model
1.8.6