Shapeworks Studio
2.1
Shape analysis software suite
|
#include <itkParticlePositionWriter.h>
Public Types | |
typedef ParticlePositionWriter | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Point< double, VDimension > | PointType |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (ParticlePositionWriter, DataObject) | |
void | SetInput (const std::vector< PointType > &p) |
itkSetStringMacro (FileName) | |
itkGetStringMacro (FileName) | |
void | Write () |
void | Update () |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
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..
Definition at line 42 of file itkParticlePositionWriter.h.
typedef Point<double, VDimension> itk::ParticlePositionWriter< VDimension >::PointType |
The point type that this class reads.
Definition at line 53 of file itkParticlePositionWriter.h.
typedef ParticlePositionWriter itk::ParticlePositionWriter< VDimension >::Self |
Standard class typedefs
Definition at line 46 of file itkParticlePositionWriter.h.
itk::ParticlePositionWriter< VDimension >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::ParticlePositionWriter< VDimension >::itkSetStringMacro | ( | FileName | ) |
Set/Get the filename.
itk::ParticlePositionWriter< VDimension >::itkTypeMacro | ( | ParticlePositionWriter< VDimension > | , |
DataObject | |||
) |
Run-time type information (and related methods).
|
inline |
Set the input vector. The input is a reference to a std::vector of PointType.
Definition at line 62 of file itkParticlePositionWriter.h.
|
inline |