Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkTransformixInputPointFileReader.h>
A reader that understands transformix input point files.
A reader that understands transformix input point files.
The first word in the text file indicates whether the input points are given as an integer image index or as a point (world coordinates). If the file does not start with "index" or "point" it is assumed that the points are entered as indices, for compatibility with elastix versions < 3.503.
The second word in the text file represents the number of points that should be read.
Definition at line 46 of file itkTransformixInputPointFileReader.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectPointer | DatabObjectPointer |
typedef Superclass::OutputMeshPointer | OutputMeshPointer |
typedef Superclass::OutputMeshType | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef TransformixInputPointFileReader | Self |
typedef MeshFileReaderBase< TOutputMesh > | Superclass |
Public Types inherited from itk::MeshFileReaderBase< TOutputMesh > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectPointer | DatabObjectPointer |
typedef Superclass::OutputMeshPointer | OutputMeshPointer |
typedef Superclass::OutputMeshType | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef MeshFileReaderBase | Self |
typedef MeshSource< TOutputMesh > | Superclass |
Public Member Functions | |
void | GenerateOutputInformation (void) override |
virtual const char * | GetClassName () const |
virtual unsigned long | GetNumberOfPoints () const |
virtual bool | GetPointsAreIndices () const |
Public Member Functions inherited from itk::MeshFileReaderBase< TOutputMesh > | |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
void | GenerateOutputInformation (void) override |
virtual const char * | GetClassName () const |
virtual const char * | GetFileName () const |
virtual void | SetFileName (const char *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MeshFileReaderBase< TOutputMesh > | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData (void) override |
TransformixInputPointFileReader () | |
~TransformixInputPointFileReader () override | |
Protected Member Functions inherited from itk::MeshFileReaderBase< TOutputMesh > | |
MeshFileReaderBase () | |
virtual void | TestFileExistanceAndReadability (void) |
~MeshFileReaderBase () override | |
Protected Attributes | |
unsigned long | m_NumberOfPoints |
bool | m_PointsAreIndices |
std::ifstream | m_Reader |
Protected Attributes inherited from itk::MeshFileReaderBase< TOutputMesh > | |
std::string | m_FileName |
Private Member Functions | |
void | operator= (const Self &) |
TransformixInputPointFileReader (const Self &) | |
typedef SmartPointer< const Self > itk::TransformixInputPointFileReader< TOutputMesh >::ConstPointer |
Definition at line 54 of file itkTransformixInputPointFileReader.h.
typedef Superclass::DataObjectPointer itk::TransformixInputPointFileReader< TOutputMesh >::DatabObjectPointer |
Some convenient typedefs.
Definition at line 63 of file itkTransformixInputPointFileReader.h.
typedef Superclass::OutputMeshPointer itk::TransformixInputPointFileReader< TOutputMesh >::OutputMeshPointer |
Definition at line 65 of file itkTransformixInputPointFileReader.h.
typedef Superclass::OutputMeshType itk::TransformixInputPointFileReader< TOutputMesh >::OutputMeshType |
Definition at line 64 of file itkTransformixInputPointFileReader.h.
typedef SmartPointer< Self > itk::TransformixInputPointFileReader< TOutputMesh >::Pointer |
Definition at line 53 of file itkTransformixInputPointFileReader.h.
typedef TransformixInputPointFileReader itk::TransformixInputPointFileReader< TOutputMesh >::Self |
Standard class typedefs.
Definition at line 51 of file itkTransformixInputPointFileReader.h.
typedef MeshFileReaderBase< TOutputMesh > itk::TransformixInputPointFileReader< TOutputMesh >::Superclass |
Definition at line 52 of file itkTransformixInputPointFileReader.h.
|
protected |
|
overrideprotected |
|
private |
|
overrideprotected |
Fill the point container of the output.
|
override |
Prepare the allocation of the output mesh during the first back propagation of the pipeline. Updates the PointsAreIndices and NumberOfPoints.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.
|
virtual |
Get the number of points that are defined in the file. In fact we also should store this somehow in the output dataobject, but that would mean resizing the point container, while still filled with invalid data (since the GetNumberOfPoints method in a PointSet returns the size of the point container. Storing as metadata would be another option. For now leave it like this. This is a little similar to the ImageIO classes. They also contain information about the image that they will read. For the Mesh readers I didn't choose for a MeshIO-design, but for a MeshReaderBase class and inheriting classes, so somehow it seems logic to store this kind of data in the inheriting reader classes.
|
virtual |
Get whether the read points are indices; actually we should store this as a kind of meta data in the output, but i don't understand this concept yet...
|
static |
Method for creation through the object factory.
|
private |
|
protected |
Definition at line 98 of file itkTransformixInputPointFileReader.h.
|
protected |
Definition at line 99 of file itkTransformixInputPointFileReader.h.
|
protected |
Definition at line 101 of file itkTransformixInputPointFileReader.h.
Generated on 1667476801 for elastix by 1.9.4 |