itk::ParticlePositionReader
#include <itkParticlePositionReader.h>
Inherits from DataObject
Public Types
Name | |
---|---|
typedef ParticlePositionReader | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Point< double, 3 > | PointType |
Public Functions
Name | |
---|---|
itkNewMacro(Self ) | |
itkTypeMacro(ParticlePositionReader , DataObject ) | |
const std::vector< PointType > & | GetOutput() const |
itkSetStringMacro(FileName ) | |
itkGetStringMacro(FileName ) | |
void | Read() |
void | Update() |
Protected Functions
Name | |
---|---|
ParticlePositionReader() | |
void | PrintSelf(std::ostream & os, Indent indent) const |
virtual | ~ParticlePositionReader() |
Detailed Description
class itk::ParticlePositionReader;
This class reads a set of Points from disk and stores them in a vector. The file format is simple an ascii list of VDimension-tuples stored one per line (delimited by std::endl). There is no header required for the file, but the file should not contain leading or trailing empty lines.
In 3D, for example, a fragment of a points file looks like this:
1.0 2.0 5.4 2.3 8.7 33.0 4.0 8.21 4.44
etc..
Public Types Documentation
typedef Self
typedef ParticlePositionReader itk::ParticlePositionReader::Self;
Standard class typedefs
typedef Superclass
typedef DataObject itk::ParticlePositionReader::Superclass;
typedef Pointer
typedef SmartPointer<Self> itk::ParticlePositionReader::Pointer;
typedef ConstPointer
typedef SmartPointer<const Self> itk::ParticlePositionReader::ConstPointer;
typedef ConstWeakPointer
typedef WeakPointer<const Self> itk::ParticlePositionReader::ConstWeakPointer;
typedef PointType
typedef Point<double, 3> itk::ParticlePositionReader::PointType;
The point type that this class reads.
Public Functions Documentation
function itkNewMacro
itkNewMacro(
Self
)
Method for creation through the object factory.
function itkTypeMacro
itkTypeMacro(
ParticlePositionReader ,
DataObject
)
Run-time type information (and related methods).
function GetOutput
inline const std::vector< PointType > & GetOutput() const
Get the output of the reader. The output is a std::vector of PointType.
function itkSetStringMacro
itkSetStringMacro(
FileName
)
Set/Get the filename.
function itkGetStringMacro
itkGetStringMacro(
FileName
)
function Read
inline void Read()
Read the file.
function Update
inline void Update()
Protected Functions Documentation
function ParticlePositionReader
inline ParticlePositionReader()
function PrintSelf
inline void PrintSelf(
std::ostream & os,
Indent indent
) const
function ~ParticlePositionReader
inline virtual ~ParticlePositionReader()
Updated on 2022-07-23 at 17:50:03 -0600