This class defines how to read and write vtk legacy file format.
- Author
- Wanlin Zhu. Uviversity of New South Wales, Australia.
Definition at line 40 of file itkVTKPolyDataMeshIO.h.
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef std::vector
< SizeValueType > | PointIdVector |
|
typedef
PolylinesContainerType::Pointer | PolylinesContainerPointer |
|
typedef VectorContainer
< SizeValueType, PointIdVector > | PolylinesContainerType |
|
typedef VTKPolyDataMeshIO | Self |
|
typedef Superclass::SizeValueType | SizeValueType |
|
typedef std::stringstream | StringStreamType |
|
typedef std::string | StringType |
|
typedef std::vector< StringType > | StringVectorType |
|
typedef MeshIOBase | Superclass |
|
typedef std::vector< std::string > | ArrayOfExtensionsType |
|
enum | ByteOrder {
BigEndian,
LittleEndian,
OrderNotApplicable
} |
|
enum | CellGeometryType {
VERTEX_CELL = 0,
LINE_CELL,
TRIANGLE_CELL,
QUADRILATERAL_CELL,
POLYGON_CELL,
TETRAHEDRON_CELL,
HEXAHEDRON_CELL,
QUADRATIC_EDGE_CELL,
QUADRATIC_TRIANGLE_CELL,
LAST_ITK_CELL,
MAX_ITK_CELLS = 255
} |
|
typedef SmartPointer< const Self > | ConstPointer |
|
enum | FileType {
ASCII,
BINARY,
TYPENOTAPPLICABLE
} |
|
enum | IOComponentType {
UNKNOWNCOMPONENTTYPE,
UCHAR,
CHAR,
USHORT,
SHORT,
UINT,
INT,
ULONG,
LONG,
LONGLONG,
ULONGLONG,
FLOAT,
DOUBLE,
LDOUBLE
} |
|
enum | IOPixelType {
UNKNOWNPIXELTYPE,
SCALAR,
RGB,
RGBA,
OFFSET,
VECTOR,
POINT,
COVARIANTVECTOR,
SYMMETRICSECONDRANKTENSOR,
DIFFUSIONTENSOR3D,
COMPLEX,
FIXEDARRAY,
ARRAY,
MATRIX,
VARIABLELENGTHVECTOR,
VARIABLESIZEMATRIX
} |
|
typedef SmartPointer< Self > | Pointer |
|
typedef MeshIOBase | Self |
|
typedef IdentifierType | SizeValueType |
|
typedef std::streamoff | StreamOffsetType |
|
typedef LightProcessObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef LightProcessObject | Self |
|
typedef Object | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Object | Self |
|
typedef LightObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef LightObject | Self |
|
|
virtual bool | CanReadFile (const char *FileNameToRead) ITK_OVERRIDE |
|
virtual bool | CanWriteFile (const char *FileNameToWrite) ITK_OVERRIDE |
|
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
|
virtual const char * | GetNameOfClass () const |
|
virtual void | ReadCellData (void *buffer) ITK_OVERRIDE |
|
virtual void | ReadCells (void *buffer) ITK_OVERRIDE |
|
virtual void | ReadMeshInformation () ITK_OVERRIDE |
|
virtual void | ReadPointData (void *buffer) ITK_OVERRIDE |
|
virtual void | ReadPoints (void *buffer) ITK_OVERRIDE |
|
virtual void | Write () ITK_OVERRIDE |
|
virtual void | WriteCellData (void *buffer) ITK_OVERRIDE |
|
virtual void | WriteCells (void *buffer) ITK_OVERRIDE |
|
virtual void | WriteMeshInformation () ITK_OVERRIDE |
|
virtual void | WritePointData (void *buffer) ITK_OVERRIDE |
|
virtual void | WritePoints (void *buffer) ITK_OVERRIDE |
|
std::string | GetByteOrderAsString (ByteOrder) const |
|
unsigned int | GetComponentSize (IOComponentType componentType) const |
|
std::string | GetComponentTypeAsString (IOComponentType) const |
|
std::string | GetFileTypeAsString (FileType) const |
|
std::string | GetPixelTypeAsString (IOPixelType) const |
|
const ArrayOfExtensionsType & | GetSupportedReadExtensions () const |
|
const ArrayOfExtensionsType & | GetSupportedWriteExtensions () const |
|
void | SetByteOrderToBigEndian () |
|
void | SetByteOrderToLittleEndian () |
|
void | SetFileTypeToASCII () |
|
void | SetFileTypeToBinary () |
|
template<typename T > |
void | SetPixelType (const T &, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const RGBPixel< T > &, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const RGBAPixel< T > &, bool UsePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const Vector< T, VLength > &, bool UsePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const CovariantVector< T, VLength > &, bool UsePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const FixedArray< T, VLength > &, bool UsePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const SymmetricSecondRankTensor< T, VLength >, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const DiffusionTensor3D< T > &, bool UsePointPixel=true) |
|
template<typename T , unsigned int NR, unsigned int NC> |
void | SetPixelType (const Matrix< T, NR, NC > &, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const std::complex< T > &, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const Array< T > &array, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const VariableLengthVector< T > &vector, bool UsePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const VariableSizeMatrix< T > &matrix, bool UsePointPixel=true) |
|
virtual void | SetFileName (const char *_arg) |
|
virtual const char * | GetFileName () const |
|
virtual void | SetPointPixelType (const IOPixelType _arg) |
|
virtual IOPixelType | GetPointPixelType () const |
|
virtual void | SetCellPixelType (const IOPixelType _arg) |
|
virtual IOPixelType | GetCellPixelType () const |
|
virtual void | SetPointComponentType (const IOComponentType _arg) |
|
virtual IOComponentType | GetPointComponentType () const |
|
virtual void | SetCellComponentType (const IOComponentType _arg) |
|
virtual IOComponentType | GetCellComponentType () const |
|
virtual void | SetPointPixelComponentType (const IOComponentType _arg) |
|
virtual IOComponentType | GetPointPixelComponentType () const |
|
virtual void | SetCellPixelComponentType (const IOComponentType _arg) |
|
virtual IOComponentType | GetCellPixelComponentType () const |
|
virtual void | SetNumberOfPointPixelComponents (unsigned int _arg) |
|
virtual unsigned int | GetNumberOfPointPixelComponents () const |
|
virtual void | SetNumberOfCellPixelComponents (unsigned int _arg) |
|
virtual unsigned int | GetNumberOfCellPixelComponents () const |
|
virtual void | SetPointDimension (unsigned int _arg) |
|
virtual unsigned int | GetPointDimension () const |
|
virtual void | SetNumberOfPoints (SizeValueType _arg) |
|
virtual SizeValueType | GetNumberOfPoints () const |
|
virtual void | SetNumberOfCells (SizeValueType _arg) |
|
virtual SizeValueType | GetNumberOfCells () const |
|
virtual void | SetNumberOfPointPixels (SizeValueType _arg) |
|
virtual SizeValueType | GetNumberOfPointPixels () const |
|
virtual void | SetNumberOfCellPixels (SizeValueType _arg) |
|
virtual SizeValueType | GetNumberOfCellPixels () const |
|
virtual void | SetCellBufferSize (SizeValueType _arg) |
|
virtual SizeValueType | GetCellBufferSize () const |
|
virtual void | SetUpdatePoints (bool _arg) |
|
virtual bool | GetUpdatePoints () const |
|
virtual void | SetUpdateCells (bool _arg) |
|
virtual bool | GetUpdateCells () const |
|
virtual void | SetUpdatePointData (bool _arg) |
|
virtual bool | GetUpdatePointData () const |
|
virtual void | SetUpdateCellData (bool _arg) |
|
virtual bool | GetUpdateCellData () const |
|
virtual void | SetFileType (const FileType _arg) |
|
virtual FileType | GetFileType () const |
|
virtual void | SetByteOrder (const ByteOrder _arg) |
|
virtual ByteOrder | GetByteOrder () const |
|
virtual void | SetUseCompression (bool _arg) |
|
virtual bool | GetUseCompression () const |
|
virtual void | UseCompressionOn () |
|
virtual void | UseCompressionOff () |
|
virtual void | AbortGenerateDataOff () |
|
virtual void | AbortGenerateDataOn () |
|
virtual const bool & | GetAbortGenerateData () const |
|
virtual void | SetAbortGenerateData (bool _arg) |
|
virtual void | UpdateOutputData () |
|
void | UpdateProgress (float amount) |
|
virtual void | SetProgress (float _arg) |
|
virtual const float & | GetProgress () const |
|
unsigned long | AddObserver (const EventObject &event, Command *) |
|
unsigned long | AddObserver (const EventObject &event, Command *) const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
Command * | GetCommand (unsigned long tag) |
|
bool | GetDebug () const |
|
MetaDataDictionary & | GetMetaDataDictionary (void) |
|
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
|
virtual ModifiedTimeType | GetMTime () const |
|
virtual const TimeStamp & | GetTimeStamp () const |
|
bool | HasObserver (const EventObject &event) const |
|
void | InvokeEvent (const EventObject &) |
|
void | InvokeEvent (const EventObject &) const |
|
virtual void | Modified () const |
|
virtual void | Register () const ITK_OVERRIDE |
|
void | RemoveAllObservers () |
|
void | RemoveObserver (unsigned long tag) |
|
void | SetDebug (bool debugFlag) const |
|
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
|
virtual void | SetReferenceCount (int) ITK_OVERRIDE |
|
virtual void | UnRegister () const ITK_OVERRIDE |
|
virtual void | SetObjectName (std::string _arg) |
|
virtual const std::string & | GetObjectName () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkCloneMacro (Self) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
|
virtual void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
|
template<typename T > |
void | ReadCellDataBufferAsBINARY (std::ifstream &inputFile, T *buffer) |
|
template<typename TInput , typename TOutput > |
void | ReadCellsBuffer (TInput *input, TOutput *output) |
|
void | ReadCellsBufferAsASCII (std::ifstream &inputFile, void *buffer) |
|
void | ReadCellsBufferAsBINARY (std::ifstream &inputFile, void *buffer) |
|
template<typename T > |
void | ReadPointDataBufferAsBINARY (std::ifstream &inputFile, T *buffer) |
|
template<typename T > |
void | ReadPointsBufferAsASCII (std::ifstream &inputFile, T *buffer) |
|
template<typename T > |
void | UpdateCellInformation (T *buffer) |
|
| VTKPolyDataMeshIO () |
|
template<typename T > |
void | WriteCellDataBufferAsASCII (std::ofstream &outputFile, T *buffer, const StringType &cellPixelComponentName) |
|
template<typename T > |
void | WriteCellDataBufferAsBINARY (std::ofstream &outputFile, T *buffer, const StringType &cellPixelComponentName) |
|
template<typename T > |
void | WriteColorScalarBufferAsASCII (std::ofstream &outputFile, T *buffer, unsigned int numberOfPixelComponents, SizeValueType numberOfPixels) |
|
template<typename T > |
void | WriteColorScalarBufferAsBINARY (std::ofstream &outputFile, T *buffer, unsigned int numberOfPixelComponents, SizeValueType numberOfPixels) |
|
template<typename T > |
void | WritePointDataBufferAsASCII (std::ofstream &outputFile, T *buffer, const StringType &pointPixelComponentName) |
|
template<typename T > |
void | WritePointDataBufferAsBINARY (std::ofstream &outputFile, T *buffer, const StringType &pointPixelComponentName) |
|
template<typename T > |
void | WritePointsBufferAsASCII (std::ofstream &outputFile, T *buffer, const StringType &pointComponentType) |
|
template<typename T > |
void | WritePointsBufferAsBINARY (std::ofstream &outputFile, T *buffer, const StringType &pointComponentType) |
|
virtual | ~VTKPolyDataMeshIO () |
|
|
template<typename T > |
void | ReadPointsBufferAsBINARY (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | ReadPointDataBufferAsASCII (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | ReadCellDataBufferAsASCII (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | WriteCellsBufferAsASCII (std::ofstream &outputFile, T *buffer) |
|
|
template<typename T > |
void | WriteCellsBufferAsBINARY (std::ofstream &outputFile, T *buffer) |
|
void | AddSupportedReadExtension (const char *extension) |
|
void | AddSupportedWriteExtension (const char *extension) |
|
| MeshIOBase () |
|
template<typename T > |
void | ReadBufferAsBinary (T *buffer, std::ifstream &inputFile, SizeValueType numberOfComponents) |
|
virtual | ~MeshIOBase () |
|
template<typename T > |
void | ReadBufferAsAscii (T *buffer, std::ifstream &inputFile, SizeValueType numberOfComponents) |
|
template<typename T > |
void | WriteBufferAsAscii (T *buffer, std::ofstream &outputFile, SizeValueType numberOfLines, SizeValueType numberOfComponents) |
|
template<typename TOutput , typename TInput > |
void | WriteBufferAsBinary (TInput *buffer, std::ofstream &outputFile, SizeValueType numberOfComponents) |
|
template<typename TInput , typename TOutput > |
void | ReadCellsBuffer (TInput *input, TOutput *output) |
|
template<typename TInput , typename TOutput > |
void | ReadCellsBuffer (TInput *input, TOutput *output, MeshIOBase::CellGeometryType type) |
|
template<typename TInput , typename TOutput > |
void | WriteCellsBuffer (TInput *input, TOutput *output, CellGeometryType cellType, unsigned int numberOfPoints, SizeValueType numberOfCells) |
|
template<typename TInput , typename TOutput > |
void | WriteCellsBuffer (TInput *input, TOutput *output, CellGeometryType cellType, SizeValueType numberOfCells) |
|
virtual void | GenerateData () |
|
| LightProcessObject () |
|
| ~LightProcessObject () |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &time) |
|
virtual | ~Object () |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|