ITK
6.0.0
Insight Toolkit
|
#include <itkMeshIOBase.h>
Abstract superclass defines mesh IO interface.
MeshIOBase is a class that reads and/or writes Mesh / QuadEdgeMesh data of a particular format (such as PNG or raw binary). The MeshIOBase encapsulates both the reading and writing of data. The MeshIOBase is used by the MeshFileReader class (to read data) and the MeshFileWriter (to write data) into a single file. Normally the user does not directly manipulate this class other than to instantiate it, set the FileName, and assign it to a MeshFileReader or MeshFileWriter.
A Pluggable factory pattern is used this allows different kinds of readers to be registered (even at run time) without having to modify the code in this class.
Definition at line 72 of file itkMeshIOBase.h.
Classes | |
struct | MapComponentType |
class | UnknownType |
Public Types | |
using | ArrayOfExtensionsType = std::vector< std::string > |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = MeshIOBase |
using | SizeValueType = IdentifierType |
using | StreamOffsetType = std::streamoff |
using | Superclass = LightProcessObject |
Public Types inherited from itk::LightProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
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 () |
Public Member Functions inherited from itk::LightProcessObject | |
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 |
Public Member Functions inherited from itk::Object | |
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 |
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 |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
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) |
Protected Member Functions inherited from itk::LightProcessObject | |
virtual void | GenerateData () |
LightProcessObject () | |
~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
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 () |
Private Attributes | |
ArrayOfExtensionsType | m_SupportedReadExtensions {} |
ArrayOfExtensionsType | m_SupportedWriteExtensions {} |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::LightProcessObject | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
using itk::MeshIOBase::ArrayOfExtensionsType = std::vector<std::string> |
Type for the list of strings to be used for extensions.
Definition at line 84 of file itkMeshIOBase.h.
using itk::MeshIOBase::ConstPointer = SmartPointer<const Self> |
Definition at line 80 of file itkMeshIOBase.h.
using itk::MeshIOBase::Pointer = SmartPointer<Self> |
Definition at line 81 of file itkMeshIOBase.h.
using itk::MeshIOBase::Self = MeshIOBase |
Standard class type aliases.
Definition at line 78 of file itkMeshIOBase.h.
Definition at line 89 of file itkMeshIOBase.h.
using itk::MeshIOBase::StreamOffsetType = std::streamoff |
Type for representing size of bytes, and or positions along a file
Definition at line 87 of file itkMeshIOBase.h.
Definition at line 79 of file itkMeshIOBase.h.
|
protected |
|
overrideprotecteddefault |
|
protected |
Insert an extension to the list of supported extensions for reading.
|
protected |
Insert an extension to the list of supported extensions for writing.
|
pure virtual |
Determine the file type. Returns true if this MeshIO can read the file specified.
Implemented in itk::GiftiMeshIO, itk::VTKPolyDataMeshIO, itk::FreeSurferBinaryMeshIO, itk::BYUMeshIO, itk::OFFMeshIO, itk::FreeSurferAsciiMeshIO, and itk::OBJMeshIO.
|
pure virtual |
Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly.
Implemented in itk::GiftiMeshIO, itk::VTKPolyDataMeshIO, itk::FreeSurferBinaryMeshIO, itk::BYUMeshIO, itk::OFFMeshIO, itk::FreeSurferAsciiMeshIO, and itk::OBJMeshIO.
|
virtual |
These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some MeshIOBase subclasses ignore these methods.
std::string itk::MeshIOBase::GetByteOrderAsString | ( | IOByteOrderEnum | ) | const |
Convenience method returns the IOByteOrderEnum as a string. This can be used for writing output files.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the type of the point/cell pixel. The PixelTypes provides context to the IO mechanisms for data conversions. PixelTypes can be SCALAR, RGB, RGBA, VECTOR, COVARIANTVECTOR, POINT, INDEX. If the PIXELTYPE is SCALAR, then the NumberOfComponents should be 1. Any other of PIXELTYPE will have more than one component.
unsigned int itk::MeshIOBase::GetComponentSize | ( | IOComponentEnum | componentType | ) | const |
std::string itk::MeshIOBase::GetComponentTypeAsString | ( | IOComponentEnum | ) | const |
Convenience method returns the IOComponentEnum as a string. This can be used for writing output files.
|
virtual |
Set/Get the name of the file to be read.
|
virtual |
These methods control whether the file is written binary or ASCII. Many file formats (i.e., subclasses) ignore this flag.
std::string itk::MeshIOBase::GetFileTypeAsString | ( | IOFileEnum | ) | const |
Convenience method returns the IOFileEnum as a string. This can be used for writing output files.
|
overridevirtual |
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::VTKPolyDataMeshIO, itk::GiftiMeshIO, itk::FreeSurferBinaryMeshIO, itk::BYUMeshIO, itk::OFFMeshIO, itk::FreeSurferAsciiMeshIO, and itk::OBJMeshIO.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
std::string itk::MeshIOBase::GetPixelTypeAsString | ( | IOPixelEnum | ) | const |
Convenience method returns the IOPixelEnum as a string. This can be used for writing output files.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the type of the point/cell pixel. The PixelTypes provides context to the IO mechanisms for data conversions. PixelTypes can be SCALAR, RGB, RGBA, VECTOR, COVARIANTVECTOR, POINT, INDEX. If the PIXELTYPE is SCALAR, then the NumberOfComponents should be 1. Any other of PIXELTYPE will have more than one component.
const ArrayOfExtensionsType& itk::MeshIOBase::GetSupportedReadExtensions | ( | ) | const |
This method returns an array with the list of filename extensions supported for reading by this MeshIO class. This is intended to facilitate GUI and application level integration.
const ArrayOfExtensionsType& itk::MeshIOBase::GetSupportedWriteExtensions | ( | ) | const |
This method returns an array with the list of filename extensions supported for writing by this MeshIO class. This is intended to facilitate GUI and application level integration.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get a boolean to use the compression or not.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightProcessObject.
Reimplemented in itk::OFFMeshIO, itk::FreeSurferBinaryMeshIO, itk::OBJMeshIO, itk::FreeSurferAsciiMeshIO, itk::BYUMeshIO, itk::GiftiMeshIO, and itk::VTKPolyDataMeshIO.
|
inlineprotected |
Read data from input file stream to buffer with ascii style
Definition at line 628 of file itkMeshIOBase.h.
|
inlineprotected |
Read data from input file to buffer with binary style
Definition at line 640 of file itkMeshIOBase.h.
References itk::CommonEnums::BigEndian, itk::CommonEnums::LittleEndian, itk::ByteSwapper< T >::SwapRangeFromSystemToBigEndian(), and itk::ByteSwapper< T >::SwapRangeFromSystemToLittleEndian().
|
pure virtual |
|
pure virtual |
|
inlineprotected |
Read cells from a data buffer, used when writing cells. This function write all kind of cells as it is stored in cells container. It is used when cells container have only one kind of cells
Definition at line 724 of file itkMeshIOBase.h.
|
inlineprotected |
Read cells from input buffer, used when Writing cells. This function only write specified type of cells(used when input cells container composes multiple type of cells and only want to write a specified cell type
Definition at line 748 of file itkMeshIOBase.h.
|
pure virtual |
Determine the required information and whether need to ReadPoints, ReadCells, ReadPointData and ReadCellData
Implemented in itk::GiftiMeshIO, itk::VTKPolyDataMeshIO, itk::FreeSurferBinaryMeshIO, itk::BYUMeshIO, itk::OFFMeshIO, itk::FreeSurferAsciiMeshIO, and itk::OBJMeshIO.
|
pure virtual |
|
pure virtual |
Reads the data from disk into the memory buffer provided.
Implemented in itk::GiftiMeshIO, itk::VTKPolyDataMeshIO, itk::FreeSurferBinaryMeshIO, itk::BYUMeshIO, itk::OFFMeshIO, itk::FreeSurferAsciiMeshIO, and itk::OBJMeshIO.
|
virtual |
These methods indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. Note: most UNIX machines are BigEndian while PC's and VAX's are LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetByteOrderToLittleEndian() otherwise SetByteOrderToBigEndian(). Some MeshIOBase subclasses ignore these methods.
|
inline |
Definition at line 522 of file itkMeshIOBase.h.
References itk::CommonEnums::BigEndian.
|
inline |
Definition at line 528 of file itkMeshIOBase.h.
References itk::CommonEnums::LittleEndian.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the type of the point/cell pixel. The PixelTypes provides context to the IO mechanisms for data conversions. PixelTypes can be SCALAR, RGB, RGBA, VECTOR, COVARIANTVECTOR, POINT, INDEX. If the PIXELTYPE is SCALAR, then the NumberOfComponents should be 1. Any other of PIXELTYPE will have more than one component.
|
virtual |
Set/Get the name of the file to be read.
|
virtual |
These methods control whether the file is written binary or ASCII. Many file formats (i.e., subclasses) ignore this flag.
|
inline |
Definition at line 495 of file itkMeshIOBase.h.
References itk::CommonEnums::ASCII.
|
inline |
Definition at line 501 of file itkMeshIOBase.h.
References itk::CommonEnums::BINARY.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
inline |
Definition at line 391 of file itkMeshIOBase.h.
References itk::CommonEnums::ARRAY, and itk::Array< TValue >::Size().
|
inline |
Definition at line 283 of file itkMeshIOBase.h.
References itk::CommonEnums::COVARIANTVECTOR.
|
inline |
Definition at line 337 of file itkMeshIOBase.h.
References itk::CommonEnums::DIFFUSIONTENSOR3D.
|
inline |
Definition at line 301 of file itkMeshIOBase.h.
References itk::CommonEnums::FIXEDARRAY.
|
inline |
Definition at line 355 of file itkMeshIOBase.h.
References itk::CommonEnums::MATRIX.
|
inline |
Definition at line 247 of file itkMeshIOBase.h.
References itk::CommonEnums::RGBA.
|
inline |
Definition at line 229 of file itkMeshIOBase.h.
References itk::CommonEnums::RGB.
|
inline |
Definition at line 373 of file itkMeshIOBase.h.
References itk::CommonEnums::COMPLEX.
|
inline |
Definition at line 319 of file itkMeshIOBase.h.
References itk::CommonEnums::SYMMETRICSECONDRANKTENSOR.
|
inline |
Definition at line 211 of file itkMeshIOBase.h.
References itk::CommonEnums::SCALAR.
|
inline |
Definition at line 409 of file itkMeshIOBase.h.
References itk::VariableLengthVector< TValue >::Size(), and itk::CommonEnums::VARIABLELENGTHVECTOR.
|
inline |
Definition at line 427 of file itkMeshIOBase.h.
References itk::VariableSizeMatrix< T >::Cols(), itk::VariableSizeMatrix< T >::Rows(), and itk::CommonEnums::VARIABLESIZEMATRIX.
|
inline |
Definition at line 265 of file itkMeshIOBase.h.
References itk::CommonEnums::VECTOR.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the component type of the point, cell, point data and cell data. This is always a native type.
|
virtual |
Set/Get the type of the point/cell pixel. The PixelTypes provides context to the IO mechanisms for data conversions. PixelTypes can be SCALAR, RGB, RGBA, VECTOR, COVARIANTVECTOR, POINT, INDEX. If the PIXELTYPE is SCALAR, then the NumberOfComponents should be 1. Any other of PIXELTYPE will have more than one component.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get a boolean to use the compression or not.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get the number of components per pixel in the mesh. This may be set by the reading process. For SCALAR pixel types, NumberOfComponents will be 1. For other pixel types, NumberOfComponents will be greater than or equal to one.
|
virtual |
Set/Get a boolean to use the compression or not.
|
pure virtual |
|
inlineprotected |
Write buffer to output file stream with ascii style
Definition at line 663 of file itkMeshIOBase.h.
References itk::ConvertNumberToString().
|
inlineprotected |
Write buffer to output file stream with binary style
Definition at line 682 of file itkMeshIOBase.h.
References itk::CommonEnums::BigEndian, itk::CommonEnums::LittleEndian, itk::ByteSwapper< T >::SwapRangeFromSystemToBigEndian(), and itk::ByteSwapper< T >::SwapRangeFromSystemToLittleEndian().
|
pure virtual |
|
pure virtual |
|
inlineprotected |
Write cells to a data buffer, used when reading mesh, used for cellType with non-constant number of points
Definition at line 807 of file itkMeshIOBase.h.
References itk::CommonEnums::LINE_CELL, and itk::CommonEnums::POLYLINE_CELL.
|
inlineprotected |
Write cells to a data buffer, used when reading a mesh. Used for cellType with constant number of points
Definition at line 780 of file itkMeshIOBase.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
Big or Little Endian, and the type of the file. (May be ignored.)
Definition at line 837 of file itkMeshIOBase.h.
|
protected |
The buffer size of cells
Definition at line 871 of file itkMeshIOBase.h.
|
protected |
Definition at line 848 of file itkMeshIOBase.h.
|
protected |
Definition at line 850 of file itkMeshIOBase.h.
|
protected |
Definition at line 854 of file itkMeshIOBase.h.
|
protected |
Filename to read
Definition at line 841 of file itkMeshIOBase.h.
|
protected |
Definition at line 838 of file itkMeshIOBase.h.
|
protected |
Definition at line 859 of file itkMeshIOBase.h.
|
protected |
Definition at line 868 of file itkMeshIOBase.h.
|
protected |
Definition at line 866 of file itkMeshIOBase.h.
|
protected |
Stores the number of components per pixel. This will be 1 for grayscale images, 3 for RGBPixel images, and 4 for RGBPixelA images.
Definition at line 858 of file itkMeshIOBase.h.
|
protected |
Definition at line 867 of file itkMeshIOBase.h.
|
protected |
The number of points and cells
Definition at line 865 of file itkMeshIOBase.h.
|
protected |
Used internally to keep track of the type of the component.
Definition at line 847 of file itkMeshIOBase.h.
|
protected |
The number of independent dimensions in the point.
Definition at line 862 of file itkMeshIOBase.h.
|
protected |
Definition at line 849 of file itkMeshIOBase.h.
|
protected |
Used internally to keep track of the type of the pixel.
Definition at line 853 of file itkMeshIOBase.h.
|
private |
Definition at line 881 of file itkMeshIOBase.h.
|
private |
Definition at line 882 of file itkMeshIOBase.h.
|
protected |
Definition at line 878 of file itkMeshIOBase.h.
|
protected |
Definition at line 876 of file itkMeshIOBase.h.
|
protected |
Definition at line 877 of file itkMeshIOBase.h.
|
protected |
Flags indicate whether read or write points, cells, point data and cell data
Definition at line 875 of file itkMeshIOBase.h.
|
protected |
Should we compress the data?
Definition at line 844 of file itkMeshIOBase.h.