VObject Class Reference

VObject: Hier wird die Punktwolke geladen, vorbereitet und gerendert. More...

#include <VObject.h>

List of all members.

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


Detailed Description

VObject: Hier wird die Punktwolke geladen, vorbereitet und gerendert.

Definition at line 20 of file VObject.h.


Constructor & Destructor Documentation

VObject::VObject ( GLhandleARB *  ,
bool *  ,
int *  ,
int *  ,
int *  ,
bool *  ,
float *   
)

Konstruktor

Parameters:
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.


Member Function Documentation

void VObject::drawBoundingBox ( void   )  [private]

int VObject::getPowerofTwo ( int   )  [private]

Definition at line 222 of file VObject.cpp.

References f.

Referenced by load().

void VObject::load ( string   ) 

Lädt File und Speichert Daten in Volumstextur, erstellt Gradiententextur

Parameters:
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 (  ) 

rendert Textur mittels Shader, oder stellt Objekt als Slice dar

Definition at line 95 of file VObject.cpp.

References direction, sliceNo, and VolumeTex.

Referenced by draw().

int * VObject::getHistogram ( void   ) 

Definition at line 198 of file VObject.cpp.

References histogram.

Referenced by loadVolume().

void VObject::setDirection ( int   ) 

Definition at line 202 of file VObject.cpp.

References direction.

Referenced by inputKey().

int VObject::getDirection ( void   ) 

Definition at line 206 of file VObject.cpp.

References direction.

void VObject::setsliceNo ( int   ) 

Definition at line 210 of file VObject.cpp.

References sliceNo.

Referenced by inputKey().

int * VObject::getsliceNo ( void   ) 

Definition at line 214 of file VObject.cpp.

Referenced by loadVolume().

void VObject::changesliceNo ( int   ) 

Definition at line 218 of file VObject.cpp.

References sliceNo.

Referenced by inputKey().

void VObject::setTexture ( GLuint *   ) 

void VObject::setSliderValue ( float *   ) 


Member Data Documentation

GLuint VObject::VolumeTex [private]

Definition at line 21 of file VObject.h.

Referenced by draw(), and load().

GLuint VObject::gradient [private]

Definition at line 22 of file VObject.h.

GLuint* VObject::transferFunc [private]

Definition at line 23 of file VObject.h.

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]

Definition at line 26 of file VObject.h.

Referenced by getHistogram(), and load().

int* VObject::width [private]

Definition at line 27 of file VObject.h.

int* VObject::height [private]

Definition at line 28 of file VObject.h.

int* VObject::rendermode [private]

Definition at line 29 of file VObject.h.

float* VObject::slideVal [private]

Definition at line 30 of file VObject.h.

bool* VObject::slicing [private]

Definition at line 31 of file VObject.h.

float* VObject::modelView [private]

Definition at line 32 of file VObject.h.

float VObject::fillratio [private]

Definition at line 33 of file VObject.h.

float VObject::texRot [private]

Definition at line 37 of file VObject.h.

GLhandleARB* VObject::prog [private]

Definition at line 38 of file VObject.h.

bool* VObject::change [private]

Definition at line 39 of file VObject.h.

GLuint VObject::FBOTextureFront [private]

Definition at line 42 of file VObject.h.

GLuint VObject::FBufferFront [private]

Definition at line 43 of file VObject.h.

GLuint VObject::FBOTextureBack [private]

Definition at line 45 of file VObject.h.

GLuint VObject::FBufferBack [private]

Definition at line 46 of file VObject.h.


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 11:08:05 2006 for VisLU by  doxygen 1.5.1-p1