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 void RemoveParam (RTWObject, const char *id)=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

◆ ~Backend()

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

Member Function Documentation

◆ Init()

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

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

◆ Shutdown()

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

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

◆ IsSupported()

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

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

◆ NewData()

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.

◆ NewGeometry()

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

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

◆ NewTexture()

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

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

◆ NewLight3()

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

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

◆ NewMaterial2()

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

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

◆ NewVolume()

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

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

◆ NewTransferFunction()

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

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

◆ NewRenderer()

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

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

◆ NewCamera()

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

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

◆ NewModel()

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

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

◆ NewInstance()

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

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

◆ NewFrameBuffer()

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.

◆ Release()

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

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

◆ AddGeometry()

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

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

◆ AddVolume()

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

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

◆ SetString()

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

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

◆ SetObject()

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

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

◆ SetData()

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

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

◆ SetMaterial()

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

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

◆ Set1i()

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

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

◆ Set2i()

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

◆ Set1f()

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

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

◆ Set2f()

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

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

◆ Set3i()

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

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

◆ Set3f()

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

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

◆ Set4f()

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.

◆ RemoveParam()

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

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

◆ SetRegion()

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.

◆ Commit()

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

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

◆ RenderFrame()

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

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

◆ FrameBufferClear()

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

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

◆ MapFrameBuffer()

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

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

◆ UnmapFrameBuffer()

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

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

◆ SetDepthNormalizationGL()

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

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

◆ GetColorTextureGL()

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

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

◆ GetDepthTextureGL()

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

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

◆ Setf()

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

Definition at line 65 of file Backend.h.

◆ Set3fv()

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

Definition at line 70 of file Backend.h.

◆ SetVec2f()

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

Definition at line 75 of file Backend.h.


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