VTransferFunctionElement Class Reference

VTransferFunctionElement: Klasse zur Repräsentation des Transferfunktionseditors (links oben). More...

#include <VTransferFunctionElement.h>

Inheritance diagram for VTransferFunctionElement:

GUIelement List of all members.

Public Member Functions

 VTransferFunctionElement (int *, int *, unsigned int *, int *)
 ~VTransferFunctionElement (void)
void motion (int, int)
void pressed (int, int)
void released (int, int)
void drag (int, int)
bool isInside (int, int)
void render (void)
void draw (void)
GLuint * getTexture ()

Private Attributes

int x
int y
VExitBoxexit
VHistogramhist
VTexturebackground
VTransferFunctionfunction
float * bg
float * fg
float * histcol
bool dragging

Detailed Description

VTransferFunctionElement: Klasse zur Repräsentation des Transferfunktionseditors (links oben).

Definition at line 15 of file VTransferFunctionElement.h.


Constructor & Destructor Documentation

VTransferFunctionElement::VTransferFunctionElement ( int *  ,
int *  ,
unsigned int *  ,
int *   
)

Konstruktor

Parameters:
width Breite des Fensters
height Höhe des Fensters
fps Pointer auf fps Wert
hist Histogramm

Definition at line 10 of file VTransferFunctionElement.cpp.

References background, bg, dragging, exit, fg, function, histcol, x, and y.

VTransferFunctionElement::~VTransferFunctionElement ( void   ) 

Definition at line 38 of file VTransferFunctionElement.cpp.

References background, bg, exit, fg, hist, and histcol.


Member Function Documentation

void VTransferFunctionElement::motion ( int  ,
int   
) [virtual]

Maus Schnittstelle. Passive Bewegung.

Parameters:
x x Koordinate der Maus
y y Koordinate der Maus

Reimplemented from GUIelement.

Definition at line 88 of file VTransferFunctionElement.cpp.

References exit, and VExitBox::inside().

void VTransferFunctionElement::pressed ( int  ,
int   
) [virtual]

Maus Schnittstelle. Drücken der linken Taste.

Parameters:
x x Koordinate der Maus
y y Koordinate der Maus

Reimplemented from GUIelement.

Definition at line 92 of file VTransferFunctionElement.cpp.

void VTransferFunctionElement::released ( int  ,
int   
) [virtual]

Maus Schnittstelle. Auslassen der linken Taste.

Parameters:
x x Koordinate der Maus
y y Koordinate der Maus

Reimplemented from GUIelement.

Definition at line 97 of file VTransferFunctionElement.cpp.

References dragging, function, and VTransferFunction::getTexture().

void VTransferFunctionElement::drag ( int  ,
int   
) [virtual]

Maus Schnittstelle. Aktive Bewegung (mit gedrückter Maustaste).

Parameters:
x x Koordinate der Maus
y y Koordinate der Maus

Reimplemented from GUIelement.

Definition at line 108 of file VTransferFunctionElement.cpp.

References dragging.

bool VTransferFunctionElement::isInside ( int  ,
int   
) [virtual]

Testet ob Punkt innerhalb des GUI Elements ist.

Parameters:
x x Koordinate
y y Koordinate
Returns:
true wenn innerhalb

Reimplemented from GUIelement.

Definition at line 115 of file VTransferFunctionElement.cpp.

References GUIelement::height, GUIelement::width, x, and y.

void VTransferFunctionElement::render ( void   )  [virtual]

Zeichnet das GUI Element.

Reimplemented from GUIelement.

Definition at line 48 of file VTransferFunctionElement.cpp.

References GUIelement::alpha, draw(), and GUIelement::setActive().

void VTransferFunctionElement::draw ( void   ) 

Definition at line 73 of file VTransferFunctionElement.cpp.

References VTransferFunction::draw(), VHistogram::draw(), VExitBox::draw(), V2Ddraw::drawTexBox(), exit, function, and hist.

Referenced by render().

GLuint * VTransferFunctionElement::getTexture (  ) 

Definition at line 119 of file VTransferFunctionElement.cpp.

References function, and VTransferFunction::getTexture().


Member Data Documentation

int VTransferFunctionElement::x [private]

Reimplemented from GUIelement.

Definition at line 18 of file VTransferFunctionElement.h.

Referenced by isInside(), and VTransferFunctionElement().

int VTransferFunctionElement::y [private]

Reimplemented from GUIelement.

Definition at line 19 of file VTransferFunctionElement.h.

Referenced by isInside(), and VTransferFunctionElement().

VExitBox* VTransferFunctionElement::exit [private]

Definition at line 20 of file VTransferFunctionElement.h.

Referenced by draw(), motion(), VTransferFunctionElement(), and ~VTransferFunctionElement().

VHistogram* VTransferFunctionElement::hist [private]

Definition at line 21 of file VTransferFunctionElement.h.

Referenced by draw(), and ~VTransferFunctionElement().

VTexture* VTransferFunctionElement::background [private]

Definition at line 22 of file VTransferFunctionElement.h.

Referenced by VTransferFunctionElement(), and ~VTransferFunctionElement().

VTransferFunction* VTransferFunctionElement::function [private]

Definition at line 23 of file VTransferFunctionElement.h.

Referenced by draw(), getTexture(), released(), and VTransferFunctionElement().

float* VTransferFunctionElement::bg [private]

Definition at line 24 of file VTransferFunctionElement.h.

Referenced by VTransferFunctionElement(), and ~VTransferFunctionElement().

float* VTransferFunctionElement::fg [private]

Definition at line 25 of file VTransferFunctionElement.h.

Referenced by VTransferFunctionElement(), and ~VTransferFunctionElement().

float* VTransferFunctionElement::histcol [private]

Definition at line 26 of file VTransferFunctionElement.h.

Referenced by VTransferFunctionElement(), and ~VTransferFunctionElement().

bool VTransferFunctionElement::dragging [private]

Definition at line 27 of file VTransferFunctionElement.h.

Referenced by drag(), released(), and VTransferFunctionElement().


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