This class defines how to read and write vtk legacy file format.
- Author
- Wanlin Zhu. University of New South Wales, Australia.
Definition at line 42 of file itkVTKPolyDataMeshIO.h.
|
bool | CanReadFile (const char *fileName) override |
|
bool | CanWriteFile (const char *fileName) override |
|
const char * | GetNameOfClass () const override |
|
void | ReadCellData (void *buffer) override |
|
void | ReadCells (void *buffer) override |
|
void | ReadMeshInformation () override |
|
void | ReadPointData (void *buffer) override |
|
void | ReadPoints (void *buffer) override |
|
void | Write () override |
|
void | WriteCellData (void *buffer) override |
|
void | WriteCells (void *buffer) override |
|
void | WriteMeshInformation () override |
|
void | WritePointData (void *buffer) override |
|
void | WritePoints (void *buffer) override |
|
virtual bool | CanReadFile (const char *)=0 |
|
virtual bool | CanWriteFile (const char *)=0 |
|
std::string | GetByteOrderAsString (IOByteOrderEnum) const |
|
unsigned int | GetComponentSize (IOComponentEnum componentType) const |
|
std::string | GetComponentTypeAsString (IOComponentEnum) const |
|
std::string | GetFileTypeAsString (IOFileEnum) const |
|
const char * | GetNameOfClass () const override |
|
std::string | GetPixelTypeAsString (IOPixelEnum) const |
|
const ArrayOfExtensionsType & | GetSupportedReadExtensions () const |
|
const ArrayOfExtensionsType & | GetSupportedWriteExtensions () const |
|
virtual void | ReadCellData (void *buffer)=0 |
|
virtual void | ReadCells (void *buffer)=0 |
|
virtual void | ReadMeshInformation ()=0 |
|
virtual void | ReadPointData (void *buffer)=0 |
|
virtual void | ReadPoints (void *buffer)=0 |
|
void | SetByteOrderToBigEndian () |
|
void | SetByteOrderToLittleEndian () |
|
void | SetFileTypeToASCII () |
|
void | SetFileTypeToBinary () |
|
template<typename T > |
void | SetPixelType (const Array< T > &array, bool usePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const CovariantVector< T, VLength > &, bool usePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const DiffusionTensor3D< T > &, bool usePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const FixedArray< T, VLength > &, bool usePointPixel=true) |
|
template<typename T , unsigned int VRows, unsigned int VColumns> |
void | SetPixelType (const Matrix< T, VRows, VColumns > &, bool usePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const RGBAPixel< T > &, bool usePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const RGBPixel< T > &, bool usePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const std::complex< T > &, bool usePointPixel=true) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const SymmetricSecondRankTensor< T, VLength >, bool usePointPixel=true) |
|
template<typename T > |
void | SetPixelType (const T &, 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) |
|
template<typename T , unsigned int VLength> |
void | SetPixelType (const Vector< T, VLength > &, bool usePointPixel=true) |
|
virtual void | Write ()=0 |
|
virtual void | WriteCellData (void *buffer)=0 |
|
virtual void | WriteCells (void *buffer)=0 |
|
virtual void | WriteMeshInformation ()=0 |
|
virtual void | WritePointData (void *buffer)=0 |
|
virtual void | WritePoints (void *buffer)=0 |
|
virtual void | SetFileName (const char *_arg) |
|
virtual const char * | GetFileName () const |
|
virtual void | SetPointPixelType (const itk::CommonEnums::IOPixel _arg) |
|
virtual itk::CommonEnums::IOPixel | GetPointPixelType () const |
|
virtual void | SetCellPixelType (const itk::CommonEnums::IOPixel _arg) |
|
virtual itk::CommonEnums::IOPixel | GetCellPixelType () const |
|
virtual void | SetPointComponentType (const itk::CommonEnums::IOComponent _arg) |
|
virtual itk::CommonEnums::IOComponent | GetPointComponentType () const |
|
virtual void | SetCellComponentType (const itk::CommonEnums::IOComponent _arg) |
|
virtual itk::CommonEnums::IOComponent | GetCellComponentType () const |
|
virtual void | SetPointPixelComponentType (const itk::CommonEnums::IOComponent _arg) |
|
virtual itk::CommonEnums::IOComponent | GetPointPixelComponentType () const |
|
virtual void | SetCellPixelComponentType (const itk::CommonEnums::IOComponent _arg) |
|
virtual itk::CommonEnums::IOComponent | 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 | UpdatePointsOn () |
|
virtual void | SetUpdateCells (bool _arg) |
|
virtual bool | GetUpdateCells () const |
|
virtual void | UpdateCellsOn () |
|
virtual void | SetUpdatePointData (bool _arg) |
|
virtual bool | GetUpdatePointData () const |
|
virtual void | UpdatePointDataOn () |
|
virtual void | SetUpdateCellData (bool _arg) |
|
virtual bool | GetUpdateCellData () const |
|
virtual void | UpdateCellDataOn () |
|
virtual void | SetFileType (const IOFileEnum _arg) |
|
virtual IOFileEnum | GetFileType () const |
|
virtual void | SetByteOrder (const IOByteOrderEnum _arg) |
|
virtual IOByteOrderEnum | GetByteOrder () const |
|
virtual void | SetUseCompression (bool _arg) |
|
virtual bool | GetUseCompression () const |
|
virtual void | UseCompressionOn () |
|
virtual void | AbortGenerateDataOn () |
|
virtual const bool & | GetAbortGenerateData () const |
|
const char * | GetNameOfClass () const override |
|
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 *cmd) const |
|
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
|
LightObject::Pointer | CreateAnother () const override |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
Command * | GetCommand (unsigned long tag) |
|
bool | GetDebug () const |
|
MetaDataDictionary & | GetMetaDataDictionary () |
|
const MetaDataDictionary & | GetMetaDataDictionary () const |
|
virtual ModifiedTimeType | GetMTime () const |
|
const char * | GetNameOfClass () const override |
|
virtual const TimeStamp & | GetTimeStamp () const |
|
bool | HasObserver (const EventObject &event) const |
|
void | InvokeEvent (const EventObject &) |
|
void | InvokeEvent (const EventObject &) const |
|
virtual void | Modified () const |
|
void | Register () const override |
|
void | RemoveAllObservers () |
|
void | RemoveObserver (unsigned long tag) const |
|
void | SetDebug (bool debugFlag) const |
|
void | SetReferenceCount (int) override |
|
void | UnRegister () const noexcept override |
|
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
|
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
|
virtual void | SetObjectName (std::string _arg) |
|
virtual const std::string & | GetObjectName () const |
|
Pointer | Clone () const |
|
virtual Pointer | CreateAnother () const |
|
virtual void | Delete () |
|
virtual const char * | GetNameOfClass () const |
|
virtual int | GetReferenceCount () const |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
virtual void | Register () const |
|
virtual void | SetReferenceCount (int) |
|
virtual void | UnRegister () const noexcept |
|
|
IOComponentEnum | GetComponentTypeFromString (const std::string &pointType) |
|
int | GetNextLine (std::ifstream &ifs, std::string &line, bool lowerCase=true, SizeValueType count=0) |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
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 | 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) |
|
| ~VTKPolyDataMeshIO () override |
|
|
template<typename T > |
void | ReadPointsBufferAsBINARY (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | ReadPointDataBufferAsASCII (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | ReadPointDataBufferAsBINARY (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | ReadCellDataBufferAsASCII (std::ifstream &inputFile, T *buffer) |
|
|
template<typename T > |
void | ReadCellDataBufferAsBINARY (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 () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
template<typename T > |
void | ReadBufferAsBinary (T *buffer, std::ifstream &inputFile, SizeValueType numberOfComponents) |
|
| ~MeshIOBase () override=default |
|
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, CellGeometryEnum type) |
|
template<typename TInput , typename TOutput > |
void | WriteCellsBuffer (TInput *input, TOutput *output, CellGeometryEnum cellType, unsigned int numberOfPoints, SizeValueType numberOfCells) |
|
template<typename TInput , typename TOutput > |
void | WriteCellsBuffer (TInput *input, TOutput *output, CellGeometryEnum cellType, SizeValueType numberOfCells) |
|
virtual void | GenerateData () |
|
| LightProcessObject () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| ~LightProcessObject () override |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
| ~Object () override |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|