VTK  9.4.20241219
Public Member Functions | List of all members
RTW::VisRTXBackend Class Reference

#include <VisRTXBackend.h>

Inheritance diagram for RTW::VisRTXBackend:
[legend]
Collaboration diagram for RTW::VisRTXBackend:
[legend]

Public Member Functions

 VisRTXBackend ()=default
 
 ~VisRTXBackend ()=default
 
RTWError Init () override
 
void Shutdown () override
 
bool IsSupported (RTWFeature feature) const override
 
RTWData NewData (RTWDataType dataType, size_t numElements) override
 
RTWData NewCopyData1D (const void *source, RTWDataType, size_t numElements) override
 
RTWData NewCopyData2D (const void *source, RTWDataType, size_t numElements1, size_t numElements2) override
 
RTWData NewCopyData3D (const void *source, RTWDataType, size_t numElements1, size_t numElements2, size_t numElements3) override
 
RTWData NewSharedData1D (const void *source, RTWDataType, uint32_t numElements) override
 
RTWData NewSharedData2D (const void *source, RTWDataType, uint32_t numElements1, uint32_t numElements2) override
 
RTWData NewSharedData3D (const void *source, RTWDataType, uint32_t numElements1, uint32_t numElements2, uint32_t numElements3) override
 
RTWGeometry NewGeometry (const char *type) override
 
RTWGroup NewInstance (RTWGroup group) override
 
RTWGroup NewGroup () override
 
RTWTexture NewTexture (const char *type) override
 
RTWLight NewLight (const char *light_type)
 
RTWMaterial NewMaterial (const char *material_type)
 
RTWRenderer NewRenderer (const char *type) override
 
RTWCamera NewCamera (const char *type) override
 
RTWWorld NewWorld () override
 
RTWGeometricModel NewGeometricModel (RTWGeometry geometry) override
 
RTWFrameBuffer NewFrameBuffer (const rtw::vec2i &size, const RTWFrameBufferFormat format, const uint32_t frameBufferChannels) override
 
void Release (RTWObject object) override
 
void SetString (RTWObject, const char *id, const char *s) override
 
void SetObject (RTWObject, const char *id, RTWObject other) override
 
void SetObjectAsData (RTWObject target, const char *id, RTWDataType type, RTWObject obj) override
 
void SetBool (RTWObject object, const char *id, bool x) override
 
void SetInt (RTWObject object, const char *id, int32_t x) override
 
void SetUInt (RTWObject object, const char *id, uint32_t x) override
 
void SetVec2i (RTWObject object, const char *id, int32_t x, int32_t y) override
 
void SetFloat (RTWObject object, const char *id, float x) override
 
void SetVec2f (RTWObject object, const char *id, float x, float y) override
 
void SetVec3i (RTWObject object, const char *id, int x, int y, int z) override
 
void SetVec3f (RTWObject object, const char *id, float x, float y, float z) override
 
void SetVec4f (RTWObject object, const char *id, float x, float y, float z, float w) override
 
void SetBox1f (RTWObject object, const char *id, float x, float y) override
 
void SetLinear2f (RTWObject object, const char *id, float x, float y, float z, float w) override
 
void RemoveParam (RTWObject object, const char *id) override
 
void Commit (RTWObject object) override
 
float RenderFrame (RTWFrameBuffer frameBuffer, RTWRenderer renderer, RTWCamera camera, RTWWorld world) override
 
void FrameBufferClear (RTWFrameBuffer frameBuffer) override
 
const void * MapFrameBuffer (RTWFrameBuffer frameBuffer, const RTWFrameBufferChannel channel) override
 
void UnmapFrameBuffer (const void *mapped, RTWFrameBuffer frameBuffer) override
 
void SetDepthNormalizationGL (RTWFrameBuffer frameBuffer, float clipMin, float clipMax) override
 
int GetColorTextureGL (RTWFrameBuffer frameBuffer) override
 
int GetDepthTextureGL (RTWFrameBuffer frameBuffer) override
 
void SetParam (RTWObject target, const char *id, RTWDataType type, const void *mem) override
 
RTWVolume NewVolume (const char *type) override
 
RTWVolume NewVolumetricModel (RTWVolume volume) override
 
RTWTransferFunction NewTransferFunction (const char *type) override
 
- Public Member Functions inherited from RTW::Backend
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 16 of file VisRTXBackend.h.

Constructor & Destructor Documentation

◆ VisRTXBackend()

RTW::VisRTXBackend::VisRTXBackend ( )
default

◆ ~VisRTXBackend()

RTW::VisRTXBackend::~VisRTXBackend ( )
default

Member Function Documentation

◆ Init()

RTWError RTW::VisRTXBackend::Init ( )
overridevirtual

Implements RTW::Backend.

◆ Shutdown()

void RTW::VisRTXBackend::Shutdown ( )
overridevirtual

Implements RTW::Backend.

◆ IsSupported()

bool RTW::VisRTXBackend::IsSupported ( RTWFeature  feature) const
overridevirtual

Implements RTW::Backend.

◆ NewData()

RTWData RTW::VisRTXBackend::NewData ( RTWDataType  dataType,
size_t  numElements 
)
overridevirtual

Implements RTW::Backend.

◆ NewCopyData1D()

RTWData RTW::VisRTXBackend::NewCopyData1D ( const void *  source,
RTWDataType  ,
size_t  numElements 
)
overridevirtual

Implements RTW::Backend.

◆ NewCopyData2D()

RTWData RTW::VisRTXBackend::NewCopyData2D ( const void *  source,
RTWDataType  ,
size_t  numElements1,
size_t  numElements2 
)
overridevirtual

Implements RTW::Backend.

◆ NewCopyData3D()

RTWData RTW::VisRTXBackend::NewCopyData3D ( const void *  source,
RTWDataType  ,
size_t  numElements1,
size_t  numElements2,
size_t  numElements3 
)
overridevirtual

Implements RTW::Backend.

◆ NewSharedData1D()

RTWData RTW::VisRTXBackend::NewSharedData1D ( const void *  source,
RTWDataType  ,
uint32_t  numElements 
)
overridevirtual

Implements RTW::Backend.

◆ NewSharedData2D()

RTWData RTW::VisRTXBackend::NewSharedData2D ( const void *  source,
RTWDataType  ,
uint32_t  numElements1,
uint32_t  numElements2 
)
overridevirtual

Implements RTW::Backend.

◆ NewSharedData3D()

RTWData RTW::VisRTXBackend::NewSharedData3D ( const void *  source,
RTWDataType  ,
uint32_t  numElements1,
uint32_t  numElements2,
uint32_t  numElements3 
)
overridevirtual

Implements RTW::Backend.

◆ NewGeometry()

RTWGeometry RTW::VisRTXBackend::NewGeometry ( const char *  type)
overridevirtual

Implements RTW::Backend.

◆ NewInstance()

RTWGroup RTW::VisRTXBackend::NewInstance ( RTWGroup  group)
overridevirtual

Implements RTW::Backend.

◆ NewGroup()

RTWGroup RTW::VisRTXBackend::NewGroup ( )
overridevirtual

Implements RTW::Backend.

◆ NewTexture()

RTWTexture RTW::VisRTXBackend::NewTexture ( const char *  type)
overridevirtual

Implements RTW::Backend.

◆ NewLight()

RTWLight RTW::VisRTXBackend::NewLight ( const char *  light_type)
virtual

Implements RTW::Backend.

◆ NewMaterial()

RTWMaterial RTW::VisRTXBackend::NewMaterial ( const char *  material_type)
virtual

Implements RTW::Backend.

◆ NewRenderer()

RTWRenderer RTW::VisRTXBackend::NewRenderer ( const char *  type)
overridevirtual

Implements RTW::Backend.

◆ NewCamera()

RTWCamera RTW::VisRTXBackend::NewCamera ( const char *  type)
overridevirtual

Implements RTW::Backend.

◆ NewWorld()

RTWWorld RTW::VisRTXBackend::NewWorld ( )
overridevirtual

Implements RTW::Backend.

◆ NewGeometricModel()

RTWGeometricModel RTW::VisRTXBackend::NewGeometricModel ( RTWGeometry  geometry)
overridevirtual

Implements RTW::Backend.

◆ NewFrameBuffer()

RTWFrameBuffer RTW::VisRTXBackend::NewFrameBuffer ( const rtw::vec2i size,
const RTWFrameBufferFormat  format,
const uint32_t  frameBufferChannels 
)
overridevirtual

Implements RTW::Backend.

◆ Release()

void RTW::VisRTXBackend::Release ( RTWObject  object)
overridevirtual

Implements RTW::Backend.

◆ SetString()

void RTW::VisRTXBackend::SetString ( RTWObject  ,
const char *  id,
const char *  s 
)
overridevirtual

Implements RTW::Backend.

◆ SetObject()

void RTW::VisRTXBackend::SetObject ( RTWObject  ,
const char *  id,
RTWObject  other 
)
overridevirtual

Implements RTW::Backend.

◆ SetObjectAsData()

void RTW::VisRTXBackend::SetObjectAsData ( RTWObject  target,
const char *  id,
RTWDataType  type,
RTWObject  obj 
)
overridevirtual

Implements RTW::Backend.

◆ SetBool()

void RTW::VisRTXBackend::SetBool ( RTWObject  object,
const char *  id,
bool  x 
)
overridevirtual

Implements RTW::Backend.

◆ SetInt()

void RTW::VisRTXBackend::SetInt ( RTWObject  object,
const char *  id,
int32_t  x 
)
overridevirtual

Implements RTW::Backend.

◆ SetUInt()

void RTW::VisRTXBackend::SetUInt ( RTWObject  object,
const char *  id,
uint32_t  x 
)
overridevirtual

Implements RTW::Backend.

◆ SetVec2i()

void RTW::VisRTXBackend::SetVec2i ( RTWObject  object,
const char *  id,
int32_t  x,
int32_t  y 
)
overridevirtual

Implements RTW::Backend.

◆ SetFloat()

void RTW::VisRTXBackend::SetFloat ( RTWObject  object,
const char *  id,
float  x 
)
overridevirtual

Implements RTW::Backend.

◆ SetVec2f()

void RTW::VisRTXBackend::SetVec2f ( RTWObject  object,
const char *  id,
float  x,
float  y 
)
overridevirtual

Implements RTW::Backend.

◆ SetVec3i()

void RTW::VisRTXBackend::SetVec3i ( RTWObject  object,
const char *  id,
int  x,
int  y,
int  z 
)
overridevirtual

Implements RTW::Backend.

◆ SetVec3f()

void RTW::VisRTXBackend::SetVec3f ( RTWObject  object,
const char *  id,
float  x,
float  y,
float  z 
)
overridevirtual

Implements RTW::Backend.

◆ SetVec4f()

void RTW::VisRTXBackend::SetVec4f ( RTWObject  object,
const char *  id,
float  x,
float  y,
float  z,
float  w 
)
overridevirtual

Implements RTW::Backend.

◆ SetBox1f()

void RTW::VisRTXBackend::SetBox1f ( RTWObject  object,
const char *  id,
float  x,
float  y 
)
overridevirtual

Implements RTW::Backend.

◆ SetLinear2f()

void RTW::VisRTXBackend::SetLinear2f ( RTWObject  object,
const char *  id,
float  x,
float  y,
float  z,
float  w 
)
overridevirtual

Implements RTW::Backend.

◆ RemoveParam()

void RTW::VisRTXBackend::RemoveParam ( RTWObject  object,
const char *  id 
)
overridevirtual

Implements RTW::Backend.

◆ Commit()

void RTW::VisRTXBackend::Commit ( RTWObject  object)
overridevirtual

Implements RTW::Backend.

◆ RenderFrame()

float RTW::VisRTXBackend::RenderFrame ( RTWFrameBuffer  frameBuffer,
RTWRenderer  renderer,
RTWCamera  camera,
RTWWorld  world 
)
overridevirtual

Implements RTW::Backend.

◆ FrameBufferClear()

void RTW::VisRTXBackend::FrameBufferClear ( RTWFrameBuffer  frameBuffer)
overridevirtual

Implements RTW::Backend.

◆ MapFrameBuffer()

const void * RTW::VisRTXBackend::MapFrameBuffer ( RTWFrameBuffer  frameBuffer,
const RTWFrameBufferChannel  channel 
)
overridevirtual

Implements RTW::Backend.

◆ UnmapFrameBuffer()

void RTW::VisRTXBackend::UnmapFrameBuffer ( const void *  mapped,
RTWFrameBuffer  frameBuffer 
)
overridevirtual

Implements RTW::Backend.

◆ SetDepthNormalizationGL()

void RTW::VisRTXBackend::SetDepthNormalizationGL ( RTWFrameBuffer  frameBuffer,
float  clipMin,
float  clipMax 
)
overridevirtual

Implements RTW::Backend.

◆ GetColorTextureGL()

int RTW::VisRTXBackend::GetColorTextureGL ( RTWFrameBuffer  frameBuffer)
overridevirtual

Implements RTW::Backend.

◆ GetDepthTextureGL()

int RTW::VisRTXBackend::GetDepthTextureGL ( RTWFrameBuffer  frameBuffer)
overridevirtual

Implements RTW::Backend.

◆ SetParam()

void RTW::VisRTXBackend::SetParam ( RTWObject  target,
const char *  id,
RTWDataType  type,
const void *  mem 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 81 of file VisRTXBackend.h.

◆ NewVolume()

RTWVolume RTW::VisRTXBackend::NewVolume ( const char *  type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 86 of file VisRTXBackend.h.

◆ NewVolumetricModel()

RTWVolume RTW::VisRTXBackend::NewVolumetricModel ( RTWVolume  volume)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 92 of file VisRTXBackend.h.

◆ NewTransferFunction()

RTWTransferFunction RTW::VisRTXBackend::NewTransferFunction ( const char *  type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 98 of file VisRTXBackend.h.


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