VTK
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 (size_t numElements, RTWDataType dataType, const void *source, const uint32_t dataCreationFlags) override
 
RTWGeometry NewGeometry (const char *type) override
 
RTWTexture NewTexture (const char *type) override
 
RTWLight NewLight (RTWRenderer renderer, const char *type)
 
RTWMaterial NewMaterial (RTWRenderer renderer, const char *material_type)
 
RTWRenderer NewRenderer (const char *type) override
 
RTWCamera NewCamera (const char *type) override
 
RTWModel NewModel () override
 
RTWFrameBuffer NewFrameBuffer (const rtw::vec2i &size, const RTWFrameBufferFormat format, const uint32_t frameBufferChannels) override
 
void Release (RTWObject object) override
 
void AddGeometry (RTWModel model, RTWGeometry geometry) override
 
void SetString (RTWObject object, const char *id, const char *s) override
 
void SetObject (RTWObject object, const char *id, RTWObject other) override
 
void SetData (RTWObject object, const char *id, RTWData data) override
 
void SetMaterial (RTWGeometry geometry, RTWMaterial material) override
 
void Set1i (RTWObject object, const char *id, int32_t x) override
 
void Set1f (RTWObject object, const char *id, float x) override
 
void Set2f (RTWObject object, const char *id, float x, float y) override
 
void Set2i (RTWObject object, const char *id, int x, int y)
 
void Set3i (RTWObject object, const char *id, int x, int y, int z) override
 
void Set3f (RTWObject object, const char *id, float x, float y, float z) override
 
void Set4f (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, const uint32_t frameBufferChannels) override
 
void FrameBufferClear (RTWFrameBuffer frameBuffer, const uint32_t frameBufferChannels) 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
 
RTWLight NewLight3 (const char *light_type) override
 
RTWMaterial NewMaterial2 (const char *renderer_type, const char *material_type) override
 
RTWGeometry NewInstance (RTWModel modelToInstantiate, const rtw::affine3f &transform) override
 
RTWVolume NewVolume (const char *type) override
 
RTWTransferFunction NewTransferFunction (const char *type) override
 
void AddVolume (RTWModel model, RTWVolume volume) override
 
RTWError SetRegion (RTWVolume volume, void *source, const rtw::vec3i &regionCoords, const rtw::vec3i &regionSize) override
 
- Public Member Functions inherited from RTW::Backend
virtual ~Backend ()=default
 
virtual void Set2i (RTWObject, const char *id, int32_t x, int32_t y)=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 10 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 ( size_t  numElements,
RTWDataType  dataType,
const void *  source,
const uint32_t  dataCreationFlags 
)
overridevirtual

Implements RTW::Backend.

◆ NewGeometry()

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

Implements RTW::Backend.

◆ NewTexture()

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

Implements RTW::Backend.

◆ NewLight()

RTWLight RTW::VisRTXBackend::NewLight ( RTWRenderer  renderer,
const char *  type 
)

◆ NewMaterial()

RTWMaterial RTW::VisRTXBackend::NewMaterial ( RTWRenderer  renderer,
const char *  material_type 
)

◆ NewRenderer()

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

Implements RTW::Backend.

◆ NewCamera()

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

Implements RTW::Backend.

◆ NewModel()

RTWModel RTW::VisRTXBackend::NewModel ( )
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.

◆ AddGeometry()

void RTW::VisRTXBackend::AddGeometry ( RTWModel  model,
RTWGeometry  geometry 
)
overridevirtual

Implements RTW::Backend.

◆ SetString()

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

Implements RTW::Backend.

◆ SetObject()

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

Implements RTW::Backend.

◆ SetData()

void RTW::VisRTXBackend::SetData ( RTWObject  object,
const char *  id,
RTWData  data 
)
overridevirtual

Implements RTW::Backend.

◆ SetMaterial()

void RTW::VisRTXBackend::SetMaterial ( RTWGeometry  geometry,
RTWMaterial  material 
)
overridevirtual

Implements RTW::Backend.

◆ Set1i()

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

Implements RTW::Backend.

◆ Set1f()

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

Implements RTW::Backend.

◆ Set2f()

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

Implements RTW::Backend.

◆ Set2i()

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

◆ Set3i()

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

Implements RTW::Backend.

◆ Set3f()

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

Implements RTW::Backend.

◆ Set4f()

void RTW::VisRTXBackend::Set4f ( 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,
const uint32_t  frameBufferChannels 
)
overridevirtual

Implements RTW::Backend.

◆ FrameBufferClear()

void RTW::VisRTXBackend::FrameBufferClear ( RTWFrameBuffer  frameBuffer,
const uint32_t  frameBufferChannels 
)
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.

◆ NewLight3()

RTWLight RTW::VisRTXBackend::NewLight3 ( const char *  light_type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 64 of file VisRTXBackend.h.

◆ NewMaterial2()

RTWMaterial RTW::VisRTXBackend::NewMaterial2 ( const char *  renderer_type,
const char *  material_type 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 69 of file VisRTXBackend.h.

◆ NewInstance()

RTWGeometry RTW::VisRTXBackend::NewInstance ( RTWModel  modelToInstantiate,
const rtw::affine3f transform 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 74 of file VisRTXBackend.h.

◆ NewVolume()

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

Implements RTW::Backend.

Definition at line 79 of file VisRTXBackend.h.

◆ NewTransferFunction()

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

Implements RTW::Backend.

Definition at line 84 of file VisRTXBackend.h.

◆ AddVolume()

void RTW::VisRTXBackend::AddVolume ( RTWModel  model,
RTWVolume  volume 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 89 of file VisRTXBackend.h.

◆ SetRegion()

RTWError RTW::VisRTXBackend::SetRegion ( RTWVolume  volume,
void *  source,
const rtw::vec3i regionCoords,
const rtw::vec3i regionSize 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 93 of file VisRTXBackend.h.


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