Raytrix Light Field SDK
5.0
|
Unstructured grid decoder for a series of xml vtk files.
Inherits Rx::FileIO::IFileDataFramesDecode.
Public Member Functions | |
CUVTKDecode () | |
Default constructor. More... | |
~CUVTKDecode () | |
Destructor. More... | |
virtual void | Close () |
Closes this object. More... | |
virtual void | Destroy () |
Destroys this object. More... | |
virtual void | GetData (size_t nDataId, double &dData) |
Gets the time step for the current open frame as double. Supported data cases are: More... | |
virtual void | GetData (size_t nDataId, Interop::Runtime30::IMemory *pTrgMem) |
Not supported for this file type. Will throw an exception if called with any case. More... | |
virtual void | GetData (size_t nDataId, Interop::Runtime30::IMemory2D *pTrgMem) |
Gets a CRxMatrix of type double as IMemory2D block from the current frame. The memory block contains either the point or the vector data. Supported data cases are: More... | |
virtual void | JumpToFrame (size_t nFrameNbr) |
Opens the specified frame and reads it. Throws an exception when the specified frame does not exist. More... | |
virtual bool | NextFrame () |
When there is a next frame, this function opens and reads it. Because Open() already opens the first frame all following frames need to be processed via do-while. More... | |
virtual void | Open (const CRxString &sxFullPath) |
Opens this object. Input folder for the files is the given path. This function will open the first frame. Because of that all following frames need to be processed via do-while. More... | |
Protected Attributes | |
IFileDataFramesDecode * | m_pxIFileDataFramesDecode |
The IFileDataFramesDecode interface. More... | |
Rx::FileIO::CUVTKDecode::CUVTKDecode | ( | ) |
Default constructor.
Rx::FileIO::CUVTKDecode::~CUVTKDecode | ( | ) |
Destructor.
|
virtual |
Closes this object.
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
Destroys this object.
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
Gets the time step for the current open frame as double. 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 | [out] The time step data. |
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
Not supported for this file type. Will throw an exception if called with any case.
nDataId | [in] Identifier for the data. |
pTrgMem | [out] Target memory. |
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
Gets a CRxMatrix of type double as IMemory2D block from the current frame. The memory block contains either the point or the vector data. 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. |
pTrgMem | [out] Target memory. |
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
Opens the specified frame and reads it. Throws an exception when the specified frame does not exist.
nFrameNbr | [in] The frame number. |
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
When there is a next frame, this function opens and reads it. Because Open() already opens the first frame all following frames need to be processed via do-while.
Implements Rx::FileIO::IFileDataFramesDecode.
|
virtual |
Opens this object. Input folder for the files is the given path. This function will open the first frame. Because of that all following frames need to be processed via do-while.
sxFullPath | [in] Full pathname where all files are located. |
Implements Rx::FileIO::IFileDataFramesDecode.
|
protected |
The IFileDataFramesDecode interface.