VTK  9.3.20240304
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 (RTWDataType, size_t numItems)=0
 
virtual RTWData NewCopyData1D (const void *source, RTWDataType, size_t numItems)=0
 
virtual RTWData NewCopyData2D (const void *source, RTWDataType, size_t numItems1, size_t numItems2)=0
 
virtual RTWData NewCopyData3D (const void *source, RTWDataType, size_t numItems1, size_t numItems2, size_t numItems3)=0
 
virtual RTWData NewSharedData1D (const void *source, RTWDataType, uint32_t numItems)=0
 
virtual RTWData NewSharedData2D (const void *source, RTWDataType, uint32_t numItems1, uint32_t numItems2)=0
 
virtual RTWData NewSharedData3D (const void *source, RTWDataType, uint32_t numItems1, uint32_t numItems2, uint32_t numItems3)=0
 
virtual RTWGeometry NewGeometry (const char *type)=0
 
virtual RTWGroup NewGroup ()=0
 
virtual RTWTexture NewTexture (const char *type)=0
 
virtual RTWLight NewLight (const char *light_type)=0
 
virtual RTWMaterial NewMaterial (const char *renderer_type, const char *material_type)=0
 
virtual RTWVolume NewVolume (const char *type)=0
 
virtual RTWVolumetricModel NewVolumetricModel (RTWVolume volume)=0
 
virtual RTWTransferFunction NewTransferFunction (const char *type)=0
 
virtual RTWRenderer NewRenderer (const char *type)=0
 
virtual RTWCamera NewCamera (const char *type)=0
 
virtual RTWWorld NewWorld ()=0
 
virtual RTWGeometricModel NewGeometricModel (RTWGeometry geometry)=0
 
virtual RTWInstance NewInstance (RTWGroup geometry)=0
 
virtual RTWFrameBuffer NewFrameBuffer (const rtw::vec2i &size, const RTWFrameBufferFormat format, const uint32_t frameBufferChannels)=0
 
virtual void Release (RTWObject)=0
 
virtual void SetString (RTWObject, const char *id, const char *s)=0
 
virtual void SetObject (RTWObject, const char *id, RTWObject other)=0
 
virtual void SetObjectAsData (RTWObject target, const char *id, RTWDataType type, RTWObject obj)=0
 
virtual void SetParam (RTWObject, const char *id, RTWDataType type, const void *mem)=0
 
virtual void SetBool (RTWObject, const char *id, bool x)=0
 
virtual void SetInt (RTWObject, const char *id, int32_t x)=0
 
virtual void SetVec2i (RTWObject, const char *id, int32_t x, int32_t y)=0
 
virtual void SetFloat (RTWObject, const char *id, float x)=0
 
virtual void SetVec2f (RTWObject, const char *id, float x, float y)=0
 
virtual void SetVec3i (RTWObject, const char *id, int x, int y, int z)=0
 
virtual void SetVec3f (RTWObject, const char *id, float x, float y, float z)=0
 
virtual void SetVec4f (RTWObject, const char *id, float x, float y, float z, float w)=0
 
virtual void RemoveParam (RTWObject, const char *id)=0
 
virtual void Commit (RTWObject)=0
 
virtual float RenderFrame (RTWFrameBuffer, RTWRenderer, RTWCamera, RTWWorld)=0
 
virtual void FrameBufferClear (RTWFrameBuffer)=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
 

Detailed Description

Definition at line 10 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::VisRTXBackend, and RTW::OSPRayBackend.

◆ Shutdown()

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

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

◆ IsSupported()

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

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

◆ NewData()

virtual RTWData RTW::Backend::NewData ( RTWDataType  ,
size_t  numItems 
)
pure virtual

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

◆ NewCopyData1D()

virtual RTWData RTW::Backend::NewCopyData1D ( const void *  source,
RTWDataType  ,
size_t  numItems 
)
pure virtual

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

◆ NewCopyData2D()

virtual RTWData RTW::Backend::NewCopyData2D ( const void *  source,
RTWDataType  ,
size_t  numItems1,
size_t  numItems2 
)
pure virtual

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

◆ NewCopyData3D()

virtual RTWData RTW::Backend::NewCopyData3D ( const void *  source,
RTWDataType  ,
size_t  numItems1,
size_t  numItems2,
size_t  numItems3 
)
pure virtual

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

◆ NewSharedData1D()

virtual RTWData RTW::Backend::NewSharedData1D ( const void *  source,
RTWDataType  ,
uint32_t  numItems 
)
pure virtual

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

◆ NewSharedData2D()

virtual RTWData RTW::Backend::NewSharedData2D ( const void *  source,
RTWDataType  ,
uint32_t  numItems1,
uint32_t  numItems2 
)
pure virtual

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

◆ NewSharedData3D()

virtual RTWData RTW::Backend::NewSharedData3D ( const void *  source,
RTWDataType  ,
uint32_t  numItems1,
uint32_t  numItems2,
uint32_t  numItems3 
)
pure virtual

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

◆ NewGeometry()

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

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

◆ NewGroup()

virtual RTWGroup RTW::Backend::NewGroup ( )
pure virtual

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

◆ NewTexture()

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

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

◆ NewLight()

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

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

◆ NewMaterial()

virtual RTWMaterial RTW::Backend::NewMaterial ( 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::VisRTXBackend, and RTW::OSPRayBackend.

◆ NewVolumetricModel()

virtual RTWVolumetricModel RTW::Backend::NewVolumetricModel ( RTWVolume  volume)
pure virtual

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

◆ NewTransferFunction()

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

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

◆ NewRenderer()

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

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

◆ NewCamera()

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

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

◆ NewWorld()

virtual RTWWorld RTW::Backend::NewWorld ( )
pure virtual

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

◆ NewGeometricModel()

virtual RTWGeometricModel RTW::Backend::NewGeometricModel ( RTWGeometry  geometry)
pure virtual

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

◆ NewInstance()

virtual RTWInstance RTW::Backend::NewInstance ( RTWGroup  geometry)
pure virtual

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

◆ NewFrameBuffer()

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

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

◆ Release()

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

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

◆ SetString()

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

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

◆ SetObject()

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

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

◆ SetObjectAsData()

virtual void RTW::Backend::SetObjectAsData ( RTWObject  target,
const char *  id,
RTWDataType  type,
RTWObject  obj 
)
pure virtual

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

◆ SetParam()

virtual void RTW::Backend::SetParam ( RTWObject  ,
const char *  id,
RTWDataType  type,
const void *  mem 
)
pure virtual

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

◆ SetBool()

virtual void RTW::Backend::SetBool ( RTWObject  ,
const char *  id,
bool  x 
)
pure virtual

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

◆ SetInt()

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

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

◆ SetVec2i()

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

Implemented in RTW::VisRTXBackend.

◆ SetFloat()

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

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

◆ SetVec2f()

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

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

◆ SetVec3i()

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

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

◆ SetVec3f()

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

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

◆ SetVec4f()

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

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

◆ RemoveParam()

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

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

◆ Commit()

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

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

◆ RenderFrame()

virtual float RTW::Backend::RenderFrame ( RTWFrameBuffer  ,
RTWRenderer  ,
RTWCamera  ,
RTWWorld   
)
pure virtual

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

◆ FrameBufferClear()

virtual void RTW::Backend::FrameBufferClear ( RTWFrameBuffer  )
pure virtual

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

◆ MapFrameBuffer()

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

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

◆ UnmapFrameBuffer()

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

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

◆ 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.


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