VExitBox Class Reference

VExitBox: Klasse zur Repräsentation der Exit Box. More...

#include <VExitBox.h>

List of all members.

Public Member Functions

 VExitBox (int, int, int, float *, float *, float *)
void draw ()
void inside (int, int)
bool isInside (int, int)
 ~VExitBox (void)

Private Attributes

float * color1
float * color2
int x
int y
int width
bool ins
float * alpha


Detailed Description

VExitBox: Klasse zur Repräsentation der Exit Box.

See also:
VTransferFunctionElement.h

Definition at line 7 of file VExitBox.h.


Constructor & Destructor Documentation

VExitBox::VExitBox ( int  ,
int  ,
int  ,
float *  ,
float *  ,
float *   
)

Konstruktor

Parameters:
x x Position der Exitbox
y y Position der Exitbox
width Breite der Exitbox
color1 normale Farbe
color2 highlight Farbe (für Mouseover)
alpha aktueller alpha Wert (für Blending)

Definition at line 6 of file VExitBox.cpp.

References ins.

VExitBox::~VExitBox ( void   ) 

Definition at line 38 of file VExitBox.cpp.


Member Function Documentation

void VExitBox::draw (  ) 

Definition at line 17 of file VExitBox.cpp.

References V2Ddraw::drawRect(), ins, width, x, and y.

Referenced by VTransferFunctionElement::draw(), and VSliceElement::draw().

void VExitBox::inside ( int  ,
int   
)

Definition at line 30 of file VExitBox.cpp.

References ins, width, x, and y.

Referenced by VTransferFunctionElement::motion(), and VSliceElement::motion().

bool VExitBox::isInside ( int  ,
int   
)

Definition at line 34 of file VExitBox.cpp.

References width, x, and y.

Referenced by VSliceElement::released().


Member Data Documentation

float* VExitBox::color1 [private]

normale Farbe

Definition at line 10 of file VExitBox.h.

float* VExitBox::color2 [private]

highlight Farbe

Definition at line 12 of file VExitBox.h.

int VExitBox::x [private]

Definition at line 13 of file VExitBox.h.

Referenced by draw(), inside(), and isInside().

int VExitBox::y [private]

Definition at line 14 of file VExitBox.h.

Referenced by draw(), inside(), and isInside().

int VExitBox::width [private]

Definition at line 15 of file VExitBox.h.

Referenced by draw(), inside(), and isInside().

bool VExitBox::ins [private]

Definition at line 16 of file VExitBox.h.

Referenced by draw(), inside(), and VExitBox().

float* VExitBox::alpha [private]

Definition at line 17 of file VExitBox.h.


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