Rectilinear grid encoder for xml vtk files.
Inherits Rx::FileIO::IFileDataEncode.
Public Member Functions | |
CRVTKEncode () | |
Default constructor. More... | |
~CRVTKEncode () | |
Destructor. More... | |
virtual void | AddData (size_t nDataId, const Rx::Interop::Runtime30::IMemoryAccess *pSrcMem) |
Adds a Rx::CRxArrayDouble as IMemory block to the file. The memory block contains either the values for the x,y or z axis. Supported data cases are: More... | |
virtual void | AddData (size_t nDataId, const Rx::Interop::Runtime30::IMemory2DAccess *pSrcMem) |
Adds a Rx::CRxMatrix of type double as IMemory2D block to the file. The memory block contains the vector values. Supported data cases are: More... | |
virtual void | Close () |
Closes this object and writes the file. More... | |
virtual void | Destroy () |
Destroys this object. More... | |
virtual void | Open (const Rx::CRxString &sxFullPath) |
Opens this object and sets the output folder for the data file to the given path. More... | |
Protected Attributes | |
IFileDataEncode * | m_pxIFileDataEncode |
The IFileDataEncode Interface. More... | |
Rx::FileIO::CRVTKEncode::CRVTKEncode | ( | ) |
Default constructor.
Rx::FileIO::CRVTKEncode::~CRVTKEncode | ( | ) |
Destructor.
|
virtual |
Adds a Rx::CRxArrayDouble as IMemory block to the file. The memory block contains either the values for the x,y or z axis. Supported data cases are:
Rx::FileIO::EDataTypeVtk::XAxisData - segment values for the x axis
Rx::FileIO::EDataTypeVtk::YAxisData - segment values for the y axis
Rx::FileIO::EDataTypeVtk::ZAxisData - segment values for the z axis
All other cases will throw an exception.
nDataId | [in] Identifier for the data. |
pSrcMem | [in] Source memory. |
Implements Rx::FileIO::IFileDataEncode.
|
virtual |
Adds a Rx::CRxMatrix of type double as IMemory2D block to the file. The memory block contains the vector values. Supported data cases are:
Rx::FileIO::EDataTypeVtk::VectorData - 3d vector data
All other cases will throw an exception.
nDataId | [in] Identifier for the data. |
pSrcMem | [in] Source memory. |
Implements Rx::FileIO::IFileDataEncode.
|
virtual |
Closes this object and writes the file.
Implements Rx::FileIO::IFileDataEncode.
|
virtual |
Destroys this object.
Implements Rx::FileIO::IFileDataEncode.
|
virtual |
Opens this object and sets the output folder for the data file to the given path.
sxFullPath | [in] Full pathname where the file should be stored. |
Implements Rx::FileIO::IFileDataEncode.
|
protected |
The IFileDataEncode Interface.