itk::ParticlePositionWriter
#include <itkParticlePositionWriter.h>
Inherits from DataObject
Public Types
Name | |
---|---|
typedef ParticlePositionWriter | 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(ParticlePositionWriter , DataObject ) | |
void | SetInput(const std::vector< PointType > & p) |
itkSetStringMacro(FileName ) | |
itkGetStringMacro(FileName ) | |
void | Write() |
void | Update() |
Protected Functions
Name | |
---|---|
ParticlePositionWriter() | |
void | PrintSelf(std::ostream & os, Indent indent) const |
virtual | ~ParticlePositionWriter() |
Detailed Description
class itk::ParticlePositionWriter;
This class writes a set of Points to disk. Its input is a std::vector of points. 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 ParticlePositionWriter itk::ParticlePositionWriter::Self;
Standard class typedefs
typedef Superclass
typedef DataObject itk::ParticlePositionWriter::Superclass;
typedef Pointer
typedef SmartPointer<Self> itk::ParticlePositionWriter::Pointer;
typedef ConstPointer
typedef SmartPointer<const Self> itk::ParticlePositionWriter::ConstPointer;
typedef ConstWeakPointer
typedef WeakPointer<const Self> itk::ParticlePositionWriter::ConstWeakPointer;
typedef PointType
typedef Point<double, 3> itk::ParticlePositionWriter::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(
ParticlePositionWriter ,
DataObject
)
Run-time type information (and related methods).
function SetInput
inline void SetInput(
const std::vector< PointType > & p
)
Set the input vector. The input is a reference to a std::vector of PointType.
function itkSetStringMacro
itkSetStringMacro(
FileName
)
Set/Get the filename.
function itkGetStringMacro
itkGetStringMacro(
FileName
)
function Write
inline void Write()
Write the file.
function Update
inline void Update()
Protected Functions Documentation
function ParticlePositionWriter
inline ParticlePositionWriter()
function PrintSelf
inline void PrintSelf(
std::ostream & os,
Indent indent
) const
function ~ParticlePositionWriter
inline virtual ~ParticlePositionWriter()
Updated on 2022-07-23 at 17:50:03 -0600