Volume Medical Manipulation Toolkit 2.0
Public Member Functions | Static Public Member Functions
wxGLVolumeRender Class Reference

This class provide method for create an OpenGL context and render the volume. More...

#include <wxGLVolumeRender.h>

Collaboration diagram for wxGLVolumeRender:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxGLVolumeRender (wxWindow *parent, int *args, DCMDataType *data, Interactions *interactions, int canvasType, int initializedGL, string currentPath)
 ~wxGLVolumeRender ()
void redering_mesh ()
void RenderVoxelize (wxDC &dc)
VolumegetVolume ()
ControlVolumegetControlVolume ()
DCMDataTypegetData ()
GLint getCanvasType ()
void setCursor3D (bool cursor3D)

Static Public Member Functions

static wxGLContext * getContext3D ()
static GLuint getVolumeTextureID ()
static GLuint getControlVolumeTextureID ()
static GLuint getTF1DTextureID_CP ()
static GLuint getTF1DTextureID_WI ()
static void setDrawPlaneSide1 (int coord, bool value)
static void setDrawPlaneSide2 (int coord, bool value)
static void setClippingPlaneSide1 (int coord, bool value)
static void setClippingPlaneSide2 (int coord, bool value)
static void setCursorPosition (int coord, float value)
static void getCursorPosition (float *cursorPosition)
static void setPlanePosition (int coord, float value)
static void getPlanePosition (float *cursorPosition)

Detailed Description

This class provide method for create an OpenGL context and render the volume.

Note:

Constructor & Destructor Documentation

wxGLVolumeRender::wxGLVolumeRender ( wxWindow *  parent,
int *  args,
DCMDataType data,
Interactions interactions,
int  canvasType,
int  initializedGL,
string  currentPath 
)

Quadric objects

Shader setups

Create wxGLcontext

Initialize GLEW

Read shader's source

Instantiate several render objects

Setup uniform variables to shader programs

wxGLVolumeRender::~wxGLVolumeRender ( )

Destroy a quadric objects

Free Frame Buffer Object

Free textures from graphics card

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Files Functions