VTK  9.4.20241117
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 *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 SetBox1f (RTWObject, const char *id, float x, float y)=0
 
virtual void SetInt (RTWObject, const char *id, int32_t x)=0
 
virtual void SetUInt (RTWObject, const char *id, uint32_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 SetLinear2f (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::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 ( RTWDataType  ,
size_t  numItems 
)
pure virtual

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

◆ NewCopyData1D()

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

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

◆ NewCopyData2D()

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

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

◆ NewCopyData3D()

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

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

◆ NewSharedData1D()

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

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

◆ NewSharedData2D()

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

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

◆ NewSharedData3D()

virtual RTWData RTW::Backend::NewSharedData3D ( const void *  source,
RTWDataType  ,
uint32_t  numItems1,
uint32_t  numItems2,
uint32_t  numItems3 
)
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.

◆ NewGroup()

virtual RTWGroup RTW::Backend::NewGroup ( )
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.

◆ NewLight()

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

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

◆ NewMaterial()

virtual RTWMaterial RTW::Backend::NewMaterial ( const char *  material_type)
pure virtual

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

◆ NewVolume()

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

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

◆ NewVolumetricModel()

virtual RTWVolumetricModel RTW::Backend::NewVolumetricModel ( RTWVolume  volume)
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.

◆ NewWorld()

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

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

◆ NewGeometricModel()

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

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

◆ NewInstance()

virtual RTWInstance RTW::Backend::NewInstance ( RTWGroup  geometry)
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.

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

◆ SetObjectAsData()

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

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

◆ SetParam()

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

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

◆ SetBool()

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

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

◆ SetBox1f()

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

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

◆ SetInt()

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

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

◆ SetUInt()

virtual void RTW::Backend::SetUInt ( RTWObject  ,
const char *  id,
uint32_t  x 
)
pure virtual

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

◆ 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::OSPRayBackend, and RTW::VisRTXBackend.

◆ SetVec2f()

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

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

◆ SetVec3i()

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

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

◆ SetVec3f()

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

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

◆ SetVec4f()

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

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

◆ SetLinear2f()

virtual void RTW::Backend::SetLinear2f ( 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.

◆ Commit()

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

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

◆ RenderFrame()

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

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

◆ FrameBufferClear()

virtual void RTW::Backend::FrameBufferClear ( RTWFrameBuffer  )
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::VisRTXBackend, and RTW::OSPRayBackend.

◆ GetColorTextureGL()

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

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

◆ GetDepthTextureGL()

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

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


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