Unstructured grid encoder for a series of xml vtk files.
Inherits Rx::FileIO::IFileDataFramesEncode.
Public Member Functions | |
CUVTKEncode () | |
Default constructor. More... | |
~CUVTKEncode () | |
Destructor. More... | |
virtual void | AddData (size_t nDataId, double dData) |
Adds a double to the current frame. The double is the time step for the current frame. Supported data cases are: More... | |
virtual void | AddData (size_t nDataId, const Interop::Runtime30::IMemoryAccess *pSrcMem) |
Not supported for this file type. Will throw an exception if called with any case. More... | |
virtual void | AddData (size_t nDataId, const Interop::Runtime30::IMemory2DAccess *pSrcMem) |
Adds a CRxMatrix of type double as IMemory2D block to the current frame. The IMemory2D block contains either the point values or the vector values. Supported data cases are: More... | |
virtual void | Close () |
Closes this object. Writes the last frame file and afterwards the index file. More... | |
virtual void | Destroy () |
Destroys this object. More... | |
virtual void | NextFrame () |
When there is data to write, the last frame will be written and a new one will be opened. Otherwise just the new frame will be opened. More... | |
virtual void | Open (const CRxString &sxFullPath) |
Opens this object and sets the output folder for all files to the given path. This function already opens the first frame. More... | |
Protected Attributes | |
IFileDataFramesEncode * | m_pxIFileDataFramesEncode |
The IFileDataFramesEncode interface. More... | |
Rx::FileIO::CUVTKEncode::CUVTKEncode | ( | ) |
Default constructor.
Rx::FileIO::CUVTKEncode::~CUVTKEncode | ( | ) |
Destructor.
|
virtual |
Adds a double to the current frame. The double is the time step for the current frame. Supported data cases are:
FileIO::EDataTypeVtk::TimestepData - current time step data
All other cases will throw an exception.
nDataId | [in] Identifier for the data. |
dData | [in] The time step. |
Implements Rx::FileIO::IFileDataFramesEncode.
|
virtual |
Not supported for this file type. Will throw an exception if called with any case.
nDataId | [in] Identifier for the data. |
pSrcMem | [in] Source memory. |
Implements Rx::FileIO::IFileDataFramesEncode.
|
virtual |
Adds a CRxMatrix of type double as IMemory2D block to the current frame. The IMemory2D block contains either the point values or the vector values. Supported data cases are:
FileIO::EDataTypeVtk::PointData - 3d point data
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::IFileDataFramesEncode.
|
virtual |
Closes this object. Writes the last frame file and afterwards the index file.
Implements Rx::FileIO::IFileDataFramesEncode.
|
virtual |
Destroys this object.
Implements Rx::FileIO::IFileDataFramesEncode.
|
virtual |
When there is data to write, the last frame will be written and a new one will be opened. Otherwise just the new frame will be opened.
Implements Rx::FileIO::IFileDataFramesEncode.
|
virtual |
Opens this object and sets the output folder for all files to the given path. This function already opens the first frame.
sxFullPath | [in] Full pathname where all files should be stored. |
Implements Rx::FileIO::IFileDataFramesEncode.
|
protected |
The IFileDataFramesEncode interface.