Raytrix Light Field SDK  v3.1
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
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, Rx::Interop::Runtime30::IMemory *pTrgMem)
 Gets a Rx::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, Rx::Interop::Runtime30::IMemory2D *pTrgMem)
 Gets a Rx::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 Rx::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,
Rx::Interop::Runtime30::IMemory pTrgMem 
)
virtual

Gets a Rx::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:

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.

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

Implements Rx::FileIO::IFileDataDecode.

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

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

Rx::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 Rx::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.