#include <VTransferFunctionNode.h>
Public Member Functions | |
| VTransferFunctionNode (int, int) | |
| float * | getColor () |
| float | getOpacity (int) |
| void | draw () |
| int | getx () |
| int | gety () |
| void | setx (int) |
| void | sety (int) |
| bool | isInside (int, int) |
| bool | isChoosed () |
| void | setChoosed (bool) |
| ~VTransferFunctionNode (void) | |
Private Attributes | |
| int | x |
| int | y |
| float * | color |
| float | opacity |
| bool | choose |
Friends | |
| bool | operator< (const VTransferFunctionNode &n1, const VTransferFunctionNode &n2) |
Definition at line 6 of file VTransferFunctionNode.h.
| VTransferFunctionNode::VTransferFunctionNode | ( | int | , | |
| int | ||||
| ) |
Konstruktor
| x | x Position des Knotens | |
| y | y Position des Knotens |
Definition at line 6 of file VTransferFunctionNode.cpp.
| VTransferFunctionNode::~VTransferFunctionNode | ( | void | ) |
Definition at line 69 of file VTransferFunctionNode.cpp.
| float * VTransferFunctionNode::getColor | ( | ) |
Liefert die Farbe zurück
Definition at line 19 of file VTransferFunctionNode.cpp.
References color.
Referenced by VTransferFunction::VTransferFunction().
| float VTransferFunctionNode::getOpacity | ( | int | ) |
Liefert die Transparenz zurück
| height | Höhe des Fensters (zum skalieren der y Koordinate) |
Definition at line 65 of file VTransferFunctionNode.cpp.
References y.
| void VTransferFunctionNode::draw | ( | ) |
Definition at line 15 of file VTransferFunctionNode.cpp.
References V2Ddraw::drawCircle(), x, and y.
| int VTransferFunctionNode::getx | ( | ) |
| int VTransferFunctionNode::gety | ( | ) |
| void VTransferFunctionNode::setx | ( | int | ) |
| void VTransferFunctionNode::sety | ( | int | ) |
| bool VTransferFunctionNode::isInside | ( | int | , | |
| int | ||||
| ) |
Definition at line 39 of file VTransferFunctionNode.cpp.
| bool VTransferFunctionNode::isChoosed | ( | ) |
Liefert zurück ob der Knoten ausgewählt wurde
Definition at line 43 of file VTransferFunctionNode.cpp.
References choose.
| void VTransferFunctionNode::setChoosed | ( | bool | ) |
Definition at line 47 of file VTransferFunctionNode.cpp.
Referenced by VTransferFunction::released(), and VTransferFunction::VTransferFunction().
| bool operator< | ( | const VTransferFunctionNode & | n1, | |
| const VTransferFunctionNode & | n2 | |||
| ) | [friend] |
int VTransferFunctionNode::x [private] |
Definition at line 8 of file VTransferFunctionNode.h.
Referenced by draw(), getx(), and operator<().
int VTransferFunctionNode::y [private] |
Definition at line 9 of file VTransferFunctionNode.h.
Referenced by draw(), getOpacity(), and gety().
float* VTransferFunctionNode::color [private] |
Farbe des Knotens
Definition at line 11 of file VTransferFunctionNode.h.
Referenced by getColor(), and VTransferFunctionNode().
float VTransferFunctionNode::opacity [private] |
Transparenz des Knotens
Definition at line 13 of file VTransferFunctionNode.h.
Referenced by VTransferFunctionNode().
bool VTransferFunctionNode::choose [private] |
Definition at line 14 of file VTransferFunctionNode.h.
Referenced by isChoosed(), and VTransferFunctionNode().
1.5.1-p1