VTK
Public Member Functions | List of all members
RTW::Backend Class Referenceabstract

#include <Backend.h>

Inheritance diagram for RTW::Backend:
[legend]

Public Member Functions

virtual ~Backend ()=default
 
virtual RTWError Init ()=0
 
virtual void Shutdown ()=0
 
virtual bool IsSupported (RTWFeature feature) const =0
 
virtual RTWData NewData (size_t numItems, RTWDataType, const void *source, const uint32_t dataCreationFlags=0)=0
 
virtual RTWGeometry NewGeometry (const char *type)=0
 
virtual RTWTexture NewTexture (const char *type)=0
 
virtual RTWLight NewLight3 (const char *light_type)=0
 
virtual RTWMaterial NewMaterial2 (const char *renderer_type, const char *material_type)=0
 
virtual RTWVolume NewVolume (const char *type)=0
 
virtual RTWTransferFunction NewTransferFunction (const char *type)=0
 
virtual RTWRenderer NewRenderer (const char *type)=0
 
virtual RTWCamera NewCamera (const char *type)=0
 
virtual RTWModel NewModel ()=0
 
virtual RTWGeometry NewInstance (RTWModel modelToInstantiate, const rtw::affine3f &transform)=0
 
virtual RTWFrameBuffer NewFrameBuffer (const rtw::vec2i &size, const RTWFrameBufferFormat format, const uint32_t frameBufferChannels)=0
 
virtual void Release (RTWObject)=0
 
virtual void AddGeometry (RTWModel, RTWGeometry)=0
 
virtual void AddVolume (RTWModel, RTWVolume)=0
 
virtual void SetString (RTWObject, const char *id, const char *s)=0
 
virtual void SetObject (RTWObject, const char *id, RTWObject other)=0
 
virtual void SetData (RTWObject, const char *id, RTWData)=0
 
virtual void SetMaterial (RTWGeometry, RTWMaterial)=0
 
virtual void Set1i (RTWObject, const char *id, int32_t x)=0
 
virtual void Set2i (RTWObject, const char *id, int32_t x, int32_t y)=0
 
virtual void Set1f (RTWObject, const char *id, float x)=0
 
virtual void Set2f (RTWObject, const char *id, float x, float y)=0
 
virtual void Set3i (RTWObject, const char *id, int x, int y, int z)=0
 
virtual void Set3f (RTWObject, const char *id, float x, float y, float z)=0
 
virtual void Set4f (RTWObject, const char *id, float x, float y, float z, float w)=0
 
virtual RTWError SetRegion (RTWVolume, void *source, const rtw::vec3i &regionCoords, const rtw::vec3i &regionSize)=0
 
virtual void Commit (RTWObject)=0
 
virtual float RenderFrame (RTWFrameBuffer, RTWRenderer, const uint32_t frameBufferChannels)=0
 
virtual void FrameBufferClear (RTWFrameBuffer, const uint32_t frameBufferChannels)=0
 
virtual const void * MapFrameBuffer (RTWFrameBuffer, const RTWFrameBufferChannel)=0
 
virtual void UnmapFrameBuffer (const void *mapped, RTWFrameBuffer)=0
 
virtual void SetDepthNormalizationGL (RTWFrameBuffer frameBuffer, float clipMin, float clipMax)=0
 
virtual int GetColorTextureGL (RTWFrameBuffer frameBuffer)=0
 
virtual int GetDepthTextureGL (RTWFrameBuffer frameBuffer)=0
 
void Setf (RTWObject object, const char *id, float x)
 
void Set3fv (RTWObject object, const char *id, const float *xyz)
 
void SetVec2f (RTWObject object, const char *id, const rtw::vec2f &v)
 

Detailed Description

Definition at line 7 of file Backend.h.

Constructor & Destructor Documentation

virtual RTW::Backend::~Backend ( )
virtualdefault

Member Function Documentation

virtual RTWError RTW::Backend::Init ( )
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Shutdown ( )
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual bool RTW::Backend::IsSupported ( RTWFeature  feature) const
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWData RTW::Backend::NewData ( size_t  numItems,
RTWDataType  ,
const void *  source,
const uint32_t  dataCreationFlags = 0 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWGeometry RTW::Backend::NewGeometry ( const char *  type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWTexture RTW::Backend::NewTexture ( const char *  type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWLight RTW::Backend::NewLight3 ( const char *  light_type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWMaterial RTW::Backend::NewMaterial2 ( const char *  renderer_type,
const char *  material_type 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWVolume RTW::Backend::NewVolume ( const char *  type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWTransferFunction RTW::Backend::NewTransferFunction ( const char *  type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWRenderer RTW::Backend::NewRenderer ( const char *  type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWCamera RTW::Backend::NewCamera ( const char *  type)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWModel RTW::Backend::NewModel ( )
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWGeometry RTW::Backend::NewInstance ( RTWModel  modelToInstantiate,
const rtw::affine3f transform 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWFrameBuffer RTW::Backend::NewFrameBuffer ( const rtw::vec2i size,
const RTWFrameBufferFormat  format,
const uint32_t  frameBufferChannels 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Release ( RTWObject  )
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::AddGeometry ( RTWModel  ,
RTWGeometry   
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::AddVolume ( RTWModel  ,
RTWVolume   
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::SetString ( RTWObject  ,
const char *  id,
const char *  s 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::SetObject ( RTWObject  ,
const char *  id,
RTWObject  other 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::SetData ( RTWObject  ,
const char *  id,
RTWData   
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::SetMaterial ( RTWGeometry  ,
RTWMaterial   
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Set1i ( RTWObject  ,
const char *  id,
int32_t  x 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Set2i ( RTWObject  ,
const char *  id,
int32_t  x,
int32_t  y 
)
pure virtual
virtual void RTW::Backend::Set1f ( RTWObject  ,
const char *  id,
float  x 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Set2f ( RTWObject  ,
const char *  id,
float  x,
float  y 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Set3i ( RTWObject  ,
const char *  id,
int  x,
int  y,
int  z 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Set3f ( RTWObject  ,
const char *  id,
float  x,
float  y,
float  z 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Set4f ( RTWObject  ,
const char *  id,
float  x,
float  y,
float  z,
float  w 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual RTWError RTW::Backend::SetRegion ( RTWVolume  ,
void *  source,
const rtw::vec3i regionCoords,
const rtw::vec3i regionSize 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::Commit ( RTWObject  )
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual float RTW::Backend::RenderFrame ( RTWFrameBuffer  ,
RTWRenderer  ,
const uint32_t  frameBufferChannels 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::FrameBufferClear ( RTWFrameBuffer  ,
const uint32_t  frameBufferChannels 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual const void* RTW::Backend::MapFrameBuffer ( RTWFrameBuffer  ,
const RTWFrameBufferChannel   
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::UnmapFrameBuffer ( const void *  mapped,
RTWFrameBuffer   
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual void RTW::Backend::SetDepthNormalizationGL ( RTWFrameBuffer  frameBuffer,
float  clipMin,
float  clipMax 
)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual int RTW::Backend::GetColorTextureGL ( RTWFrameBuffer  frameBuffer)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

virtual int RTW::Backend::GetDepthTextureGL ( RTWFrameBuffer  frameBuffer)
pure virtual

Implemented in RTW::OSPRayBackend, and RTW::VisRTXBackend.

void RTW::Backend::Setf ( RTWObject  object,
const char *  id,
float  x 
)
inline

Definition at line 63 of file Backend.h.

void RTW::Backend::Set3fv ( RTWObject  object,
const char *  id,
const float xyz 
)
inline

Definition at line 68 of file Backend.h.

void RTW::Backend::SetVec2f ( RTWObject  object,
const char *  id,
const rtw::vec2f v 
)
inline

Definition at line 73 of file Backend.h.


The documentation for this class was generated from the following file: