#include <VObject.h>
Public Member Functions | |
VObject (GLhandleARB *, bool *, int *, int *, int *, bool *, float *) | |
void | load (string) |
void | draw () |
int * | getHistogram (void) |
void | setDirection (int) |
int | getDirection (void) |
void | setsliceNo (int) |
int * | getsliceNo (void) |
void | changesliceNo (int) |
void | setTexture (GLuint *) |
void | setSliderValue (float *) |
~VObject () | |
Private Member Functions | |
void | drawBoundingBox (void) |
int | getPowerofTwo (int) |
Private Attributes | |
GLuint | VolumeTex |
GLuint | gradient |
GLuint * | transferFunc |
int | direction |
int | sliceNo |
int * | histogram |
int * | width |
int * | height |
int * | rendermode |
float * | slideVal |
bool * | slicing |
float * | modelView |
float | fillratio |
float | texRot |
GLhandleARB * | prog |
bool * | change |
GLuint | FBOTextureFront |
GLuint | FBufferFront |
GLuint | FBOTextureBack |
GLuint | FBufferBack |
Definition at line 20 of file VObject.h.
VObject::VObject | ( | GLhandleARB * | , | |
bool * | , | |||
int * | , | |||
int * | , | |||
int * | , | |||
bool * | , | |||
float * | ||||
) |
Konstruktor
prog | Zeiger auf das Shaderobjekt | |
change | Zeigt Kamerabewegung | |
width | Breite | |
height | Höhe | |
rendermode | aktueller Rendermode | |
slicing | gibt an ob Slicing aktiv | |
modelview | Zeiger auf die ModelView Matrix |
VObject::~VObject | ( | ) |
Definition at line 230 of file VObject.cpp.
void VObject::drawBoundingBox | ( | void | ) | [private] |
int VObject::getPowerofTwo | ( | int | ) | [private] |
void VObject::load | ( | string | ) |
Lädt File und Speichert Daten in Volumstextur, erstellt Gradiententextur
filename | Dateiname der zu ladenden Datei |
Definition at line 6 of file VObject.cpp.
References direction, f, getPowerofTwo(), histogram, sliceNo, and VolumeTex.
Referenced by loadVolume().
void VObject::draw | ( | ) |
int * VObject::getHistogram | ( | void | ) |
void VObject::setDirection | ( | int | ) |
int VObject::getDirection | ( | void | ) |
void VObject::setsliceNo | ( | int | ) |
int * VObject::getsliceNo | ( | void | ) |
void VObject::changesliceNo | ( | int | ) |
void VObject::setTexture | ( | GLuint * | ) |
void VObject::setSliderValue | ( | float * | ) |
GLuint VObject::VolumeTex [private] |
GLuint VObject::gradient [private] |
GLuint* VObject::transferFunc [private] |
int VObject::direction [private] |
Definition at line 24 of file VObject.h.
Referenced by draw(), getDirection(), load(), and setDirection().
int VObject::sliceNo [private] |
Definition at line 25 of file VObject.h.
Referenced by changesliceNo(), draw(), load(), and setsliceNo().
int* VObject::histogram [private] |
int* VObject::width [private] |
int* VObject::height [private] |
int* VObject::rendermode [private] |
float* VObject::slideVal [private] |
bool* VObject::slicing [private] |
float* VObject::modelView [private] |
float VObject::fillratio [private] |
float VObject::texRot [private] |
GLhandleARB* VObject::prog [private] |
bool* VObject::change [private] |
GLuint VObject::FBOTextureFront [private] |
GLuint VObject::FBufferFront [private] |
GLuint VObject::FBOTextureBack [private] |
GLuint VObject::FBufferBack [private] |