![]() |
CustusX
22.09
An IGT application
|
The ShaderCallback class is used to update information sent to our custom OpenGL shaders. More...
#include <cxShaderCallback.h>
Classes | |
struct | ShaderItem |
Public Types | |
typedef boost::shared_ptr< ShaderItem > | ShaderItemPtr |
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 ShaderCallback * | New () |
The ShaderCallback class is used to update information sent to our custom OpenGL shaders.
Definition at line 37 of file cxShaderCallback.h.
typedef boost::shared_ptr<ShaderItem> cx::ShaderCallback::ShaderItemPtr |
Definition at line 61 of file cxShaderCallback.h.
ShaderCallback::ShaderCallback | ( | ) |
Definition at line 39 of file cxShaderCallback.cpp.
|
virtual |
Definition at line 43 of file cxShaderCallback.cpp.
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.
|
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.
|
static |
Definition at line 47 of file cxShaderCallback.cpp.