Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Protected Attributes | List of all members
Rx::FileIO::CRVTKDecode Class Reference

Detailed Description

Rectilinear grid decoder for xml vtk files.

Inherits Rx::FileIO::IFileDataDecode.

Public Member Functions

 CRVTKDecode ()
 Default constructor. More...
 
 ~CRVTKDecode ()
 Destructor. More...
 
virtual void Close ()
 Closes this object. More...
 
virtual void Destroy ()
 Destroys this object. More...
 
virtual void GetData (size_t nDataId, Interop::Runtime30::IMemory *pTrgMem)
 Gets a CRxArrayDouble as IMemory block with data from the file. The memory block contains either the x, y or z axis values. Supported data cases are: More...
 
virtual void GetData (size_t nDataId, Interop::Runtime30::IMemory2D *pTrgMem)
 Gets a CRxMatrix of type double as IMemory2D block with data from the file. The memory block contains the vector data. Supported data cases are: More...
 
virtual void Open (const CRxString &sxFullPath)
 Opens this object. Input folder for the file is the given path. More...
 

Protected Attributes

IFileDataDecodem_pxIFileDataDecode
 The IFileDataDecode Interface. More...
 

Constructor & Destructor Documentation

Rx::FileIO::CRVTKDecode::CRVTKDecode ( )

Default constructor.

Rx::FileIO::CRVTKDecode::~CRVTKDecode ( )

Destructor.

Member Function Documentation

virtual void Rx::FileIO::CRVTKDecode::Close ( )
virtual

Closes this object.

Implements Rx::FileIO::IFileDataDecode.

virtual void Rx::FileIO::CRVTKDecode::Destroy ( )
virtual

Destroys this object.

Implements Rx::FileIO::IFileDataDecode.

virtual void Rx::FileIO::CRVTKDecode::GetData ( size_t  nDataId,
Interop::Runtime30::IMemory pTrgMem 
)
virtual

Gets a CRxArrayDouble as IMemory block with data from the file. The memory block contains either the x, y or z axis values. Supported data cases are:

FileIO::EDataTypeVtk::XAxisData - segment values for the x axis

FileIO::EDataTypeVtk::YAxisData - segment values for the y axis

FileIO::EDataTypeVtk::ZAxisData - segment values for the z axis

All other cases will throw an exception.

Parameters
nDataId[in] Identifier for the data.
pTrgMem[out] Target memory.

Implements Rx::FileIO::IFileDataDecode.

virtual void Rx::FileIO::CRVTKDecode::GetData ( size_t  nDataId,
Interop::Runtime30::IMemory2D pTrgMem 
)
virtual

Gets a CRxMatrix of type double as IMemory2D block with data from the file. The memory block contains the vector data. Supported data cases are:

FileIO::EDataTypeVtk::VectorData - 3d vector data

All other cases will throw an exception.

Parameters
nDataId[in] Identifier for the data.
pTrgMem[out] Target memory.

Implements Rx::FileIO::IFileDataDecode.

virtual void Rx::FileIO::CRVTKDecode::Open ( const CRxString sxFullPath)
virtual

Opens this object. Input folder for the file is the given path.

Parameters
sxFullPath[in] Full pathname where the file is located.

Implements Rx::FileIO::IFileDataDecode.

Member Data Documentation

IFileDataDecode* Rx::FileIO::CRVTKDecode::m_pxIFileDataDecode
protected

The IFileDataDecode Interface.