#include <GUIelement.h>
Inheritance diagram for GUIelement:
Public Member Functions | |
GUIelement (int *, int *, unsigned int *) | |
virtual void | motion (int, int) |
virtual void | pressed (int, int) |
virtual void | released (int, int) |
virtual void | drag (int, int) |
virtual bool | isInside (int, int) |
virtual void | render () |
bool | isActive () |
void | setActive (bool) |
bool | isBlend () |
void | setBlend (bool) |
Protected Attributes | |
bool | active |
bool | blend |
int * | wwidth |
int * | wheight |
int | width |
int | height |
unsigned int * | fps |
float | alpha |
int | x |
int | y |
Definition at line 13 of file GUIelement.h.
GUIelement::GUIelement | ( | int * | , | |
int * | , | |||
unsigned int * | ||||
) |
void GUIelement::motion | ( | int | , | |
int | ||||
) | [virtual] |
Maus Schnittstelle. Passive Bewegung.
x | x Koordinate der Maus | |
y | y Koordinate der Maus |
Reimplemented in VMenuStarter, VRenderMode, VSliceElement, and VTransferFunctionElement.
Definition at line 12 of file GUIelement.cpp.
void GUIelement::pressed | ( | int | , | |
int | ||||
) | [virtual] |
Maus Schnittstelle. Drücken der linken Taste.
x | x Koordinate der Maus | |
y | y Koordinate der Maus |
Reimplemented in VSliceElement, and VTransferFunctionElement.
Definition at line 22 of file GUIelement.cpp.
void GUIelement::released | ( | int | , | |
int | ||||
) | [virtual] |
Maus Schnittstelle. Auslassen der linken Taste.
x | x Koordinate der Maus | |
y | y Koordinate der Maus |
Reimplemented in VAxisAlignElement, VRenderMode, VSliceElement, and VTransferFunctionElement.
Definition at line 27 of file GUIelement.cpp.
void GUIelement::drag | ( | int | , | |
int | ||||
) | [virtual] |
Maus Schnittstelle. Aktive Bewegung (mit gedrückter Maustaste).
x | x Koordinate der Maus | |
y | y Koordinate der Maus |
Reimplemented in VAxisAlignElement, VRenderMode, VSliceElement, and VTransferFunctionElement.
Definition at line 31 of file GUIelement.cpp.
bool GUIelement::isInside | ( | int | , | |
int | ||||
) | [virtual] |
Testet ob Punkt innerhalb des GUI Elements ist.
x | x Koordinate | |
y | y Koordinate |
Reimplemented in VAxisAlignElement, VMenuStarter, VRenderMode, VSliceElement, and VTransferFunctionElement.
Definition at line 35 of file GUIelement.cpp.
void GUIelement::render | ( | ) | [virtual] |
Zeichnet das GUI Element.
Reimplemented in VAxisAlignElement, VMenuStarter, VRenderMode, VSliceElement, and VTransferFunctionElement.
Definition at line 17 of file GUIelement.cpp.
bool GUIelement::isActive | ( | ) |
Testet ob das GUI Element aktiv (eingeblendet) ist.
Definition at line 39 of file GUIelement.cpp.
References active.
Referenced by VMenuStarter::motion().
void GUIelement::setActive | ( | bool | ) |
Setzt das GUI Element aktiv oder passiv.
Definition at line 44 of file GUIelement.cpp.
References active.
Referenced by VTransferFunctionElement::render(), VSliceElement::render(), and VRenderMode::render().
bool GUIelement::isBlend | ( | ) |
Testet ob das GUI Element gerade eingeblendet wird.
Definition at line 49 of file GUIelement.cpp.
References blend.
void GUIelement::setBlend | ( | bool | ) |
Aktiviert / Deaktiviert das Blending.
Definition at line 53 of file GUIelement.cpp.
References blend.
Referenced by VRenderMode::released().
bool GUIelement::active [protected] |
Definition at line 16 of file GUIelement.h.
Referenced by GUIelement(), isActive(), setActive(), VAxisAlignElement::VAxisAlignElement(), and VMenuStarter::VMenuStarter().
bool GUIelement::blend [protected] |
int* GUIelement::wwidth [protected] |
Definition at line 18 of file GUIelement.h.
Referenced by GUIelement(), VMenuStarter::isInside(), and VMenuStarter::motion().
int* GUIelement::wheight [protected] |
Definition at line 19 of file GUIelement.h.
Referenced by GUIelement(), VMenuStarter::isInside(), and VMenuStarter::motion().
int GUIelement::width [protected] |
Definition at line 20 of file GUIelement.h.
Referenced by VTransferFunctionElement::isInside(), VSliceElement::isInside(), and VRenderMode::isInside().
int GUIelement::height [protected] |
unsigned int* GUIelement::fps [protected] |
Definition at line 22 of file GUIelement.h.
float GUIelement::alpha [protected] |
Definition at line 23 of file GUIelement.h.
Referenced by GUIelement(), VTransferFunctionElement::render(), VSliceElement::render(), and VRenderMode::render().
int GUIelement::x [protected] |
Reimplemented in VTransferFunctionElement.
Definition at line 24 of file GUIelement.h.
Referenced by VSliceElement::isInside(), VRenderMode::isInside(), VAxisAlignElement::VAxisAlignElement(), VRenderMode::VRenderMode(), and VSliceElement::VSliceElement().
int GUIelement::y [protected] |
Reimplemented in VTransferFunctionElement.
Definition at line 25 of file GUIelement.h.
Referenced by VSliceElement::isInside(), VRenderMode::isInside(), VAxisAlignElement::VAxisAlignElement(), VRenderMode::VRenderMode(), and VSliceElement::VSliceElement().