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

#include <OSPRayBackend.h>

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

Public Member Functions

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 NewLight3 (const char *light_type) override
 
RTWMaterial NewMaterial2 (const char *renderer_type, const char *material_type) override
 
RTWVolume NewVolume (const char *type) override
 
RTWTransferFunction NewTransferFunction (const char *type) override
 
RTWRenderer NewRenderer (const char *type) override
 
RTWCamera NewCamera (const char *type) override
 
RTWModel NewModel () override
 
RTWGeometry NewInstance (RTWModel modelToInstantiate, const rtw::affine3f &transform) 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 AddVolume (RTWModel model, RTWVolume volume) 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) override
 
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
 
RTWError SetRegion (RTWVolume volume, void *source, const rtw::vec3i &regionCoords, const rtw::vec3i &regionSize) 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, float, float) override
 
int GetColorTextureGL (RTWFrameBuffer) override
 
int GetDepthTextureGL (RTWFrameBuffer) 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 67 of file OSPRayBackend.h.

Member Function Documentation

◆ Init()

RTWError RTW::OSPRayBackend::Init ( )
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 70 of file OSPRayBackend.h.

◆ Shutdown()

void RTW::OSPRayBackend::Shutdown ( )
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 76 of file OSPRayBackend.h.

◆ IsSupported()

bool RTW::OSPRayBackend::IsSupported ( RTWFeature  feature) const
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 81 of file OSPRayBackend.h.

◆ NewData()

RTWData RTW::OSPRayBackend::NewData ( size_t  numElements,
RTWDataType  dataType,
const void *  source,
const uint32_t  dataCreationFlags 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 101 of file OSPRayBackend.h.

◆ NewGeometry()

RTWGeometry RTW::OSPRayBackend::NewGeometry ( const char *  type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 106 of file OSPRayBackend.h.

◆ NewTexture()

RTWTexture RTW::OSPRayBackend::NewTexture ( const char *  type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 111 of file OSPRayBackend.h.

◆ NewLight3()

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

Implements RTW::Backend.

Definition at line 116 of file OSPRayBackend.h.

◆ NewMaterial2()

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

Implements RTW::Backend.

Definition at line 121 of file OSPRayBackend.h.

◆ NewVolume()

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

Implements RTW::Backend.

Definition at line 126 of file OSPRayBackend.h.

◆ NewTransferFunction()

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

Implements RTW::Backend.

Definition at line 131 of file OSPRayBackend.h.

◆ NewRenderer()

RTWRenderer RTW::OSPRayBackend::NewRenderer ( const char *  type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 136 of file OSPRayBackend.h.

◆ NewCamera()

RTWCamera RTW::OSPRayBackend::NewCamera ( const char *  type)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 141 of file OSPRayBackend.h.

◆ NewModel()

RTWModel RTW::OSPRayBackend::NewModel ( )
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 146 of file OSPRayBackend.h.

◆ NewInstance()

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

Implements RTW::Backend.

Definition at line 151 of file OSPRayBackend.h.

◆ NewFrameBuffer()

RTWFrameBuffer RTW::OSPRayBackend::NewFrameBuffer ( const rtw::vec2i size,
const RTWFrameBufferFormat  format,
const uint32_t  frameBufferChannels 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 158 of file OSPRayBackend.h.

◆ Release()

void RTW::OSPRayBackend::Release ( RTWObject  object)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 163 of file OSPRayBackend.h.

◆ AddGeometry()

void RTW::OSPRayBackend::AddGeometry ( RTWModel  model,
RTWGeometry  geometry 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 168 of file OSPRayBackend.h.

◆ AddVolume()

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

Implements RTW::Backend.

Definition at line 173 of file OSPRayBackend.h.

◆ SetString()

void RTW::OSPRayBackend::SetString ( RTWObject  object,
const char *  id,
const char *  s 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 178 of file OSPRayBackend.h.

◆ SetObject()

void RTW::OSPRayBackend::SetObject ( RTWObject  object,
const char *  id,
RTWObject  other 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 183 of file OSPRayBackend.h.

◆ SetData()

void RTW::OSPRayBackend::SetData ( RTWObject  object,
const char *  id,
RTWData  data 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 188 of file OSPRayBackend.h.

◆ SetMaterial()

void RTW::OSPRayBackend::SetMaterial ( RTWGeometry  geometry,
RTWMaterial  material 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 193 of file OSPRayBackend.h.

◆ Set1i()

void RTW::OSPRayBackend::Set1i ( RTWObject  object,
const char *  id,
int32_t  x 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 198 of file OSPRayBackend.h.

◆ Set1f()

void RTW::OSPRayBackend::Set1f ( RTWObject  object,
const char *  id,
float  x 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 203 of file OSPRayBackend.h.

◆ Set2f()

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

Implements RTW::Backend.

Definition at line 208 of file OSPRayBackend.h.

◆ Set2i()

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

Definition at line 213 of file OSPRayBackend.h.

◆ Set3i()

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

Implements RTW::Backend.

Definition at line 218 of file OSPRayBackend.h.

◆ Set3f()

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

Implements RTW::Backend.

Definition at line 223 of file OSPRayBackend.h.

◆ Set4f()

void RTW::OSPRayBackend::Set4f ( RTWObject  object,
const char *  id,
float  x,
float  y,
float  z,
float  w 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 228 of file OSPRayBackend.h.

◆ RemoveParam()

void RTW::OSPRayBackend::RemoveParam ( RTWObject  object,
const char *  id 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 233 of file OSPRayBackend.h.

◆ SetRegion()

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

Implements RTW::Backend.

Definition at line 238 of file OSPRayBackend.h.

◆ Commit()

void RTW::OSPRayBackend::Commit ( RTWObject  object)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 245 of file OSPRayBackend.h.

◆ RenderFrame()

float RTW::OSPRayBackend::RenderFrame ( RTWFrameBuffer  frameBuffer,
RTWRenderer  renderer,
const uint32_t  frameBufferChannels 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 250 of file OSPRayBackend.h.

◆ FrameBufferClear()

void RTW::OSPRayBackend::FrameBufferClear ( RTWFrameBuffer  frameBuffer,
const uint32_t  frameBufferChannels 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 255 of file OSPRayBackend.h.

◆ MapFrameBuffer()

const void* RTW::OSPRayBackend::MapFrameBuffer ( RTWFrameBuffer  frameBuffer,
const RTWFrameBufferChannel  channel 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 260 of file OSPRayBackend.h.

◆ UnmapFrameBuffer()

void RTW::OSPRayBackend::UnmapFrameBuffer ( const void *  mapped,
RTWFrameBuffer  frameBuffer 
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 265 of file OSPRayBackend.h.

◆ SetDepthNormalizationGL()

void RTW::OSPRayBackend::SetDepthNormalizationGL ( RTWFrameBuffer  ,
float  ,
float   
)
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 270 of file OSPRayBackend.h.

◆ GetColorTextureGL()

int RTW::OSPRayBackend::GetColorTextureGL ( RTWFrameBuffer  )
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 275 of file OSPRayBackend.h.

◆ GetDepthTextureGL()

int RTW::OSPRayBackend::GetDepthTextureGL ( RTWFrameBuffer  )
inlineoverridevirtual

Implements RTW::Backend.

Definition at line 281 of file OSPRayBackend.h.


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