Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::ShaderCallback Class Reference

The ShaderCallback class is used to update information sent to our custom OpenGL shaders. More...

#include <cxShaderCallback.h>

Inheritance diagram for cx::ShaderCallback:

Classes

struct  ShaderItem
 

Public Types

typedef boost::shared_ptr< ShaderItemShaderItemPtr
 

Public Member Functions

 ShaderCallback ()
 
virtual ~ShaderCallback ()
 
virtual void Execute (vtkObject *, unsigned long eventId, void *cbo)
 
ShaderItemPtr getShaderItem (QString image_uid) const
 
int getNumberOfUploadedTextures () const
 
void add (ShaderItemPtr item)
 
void clearShaderItems ()
 

Static Public Member Functions

static ShaderCallbackNew ()
 

Detailed Description

The ShaderCallback class is used to update information sent to our custom OpenGL shaders.

Definition at line 37 of file cxShaderCallback.h.

Member Typedef Documentation

typedef boost::shared_ptr<ShaderItem> cx::ShaderCallback::ShaderItemPtr

Definition at line 61 of file cxShaderCallback.h.

Constructor & Destructor Documentation

ShaderCallback::ShaderCallback ( )

Definition at line 39 of file cxShaderCallback.cpp.

ShaderCallback::~ShaderCallback ( )
virtual

Definition at line 43 of file cxShaderCallback.cpp.

Member Function Documentation

void ShaderCallback::add ( ShaderCallback::ShaderItemPtr  item)

Definition at line 188 of file cxShaderCallback.cpp.

void ShaderCallback::clearShaderItems ( )

Definition at line 193 of file cxShaderCallback.cpp.

void ShaderCallback::Execute ( vtkObject *  ,
unsigned long  eventId,
void *  cbo 
)
virtual

Definition at line 70 of file cxShaderCallback.cpp.

int ShaderCallback::getNumberOfUploadedTextures ( ) const

Definition at line 183 of file cxShaderCallback.cpp.

ShaderCallback::ShaderItemPtr ShaderCallback::getShaderItem ( QString  image_uid) const

Definition at line 165 of file cxShaderCallback.cpp.

ShaderCallback * ShaderCallback::New ( )
static

Definition at line 47 of file cxShaderCallback.cpp.


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