Eigene Dateien/uni/visualisierung/vislu/bsp1/VisLu/VTransferFunctionNode.h

Go to the documentation of this file.
00001 #ifndef VTransferFunctionNode_h
00002 #define VTransferFunctionNode_h
00003 
00006 class VTransferFunctionNode
00007 {
00008         int x;
00009         int y;
00011         float * color;
00013         float opacity;
00014         bool choose;
00015 
00016 public:
00021         VTransferFunctionNode(int, int);
00023         float * getColor();
00027         float getOpacity(int);
00028         void draw();
00029         int getx();
00030         int gety();
00031         void setx(int);
00032         void sety(int);
00033         bool isInside(int,int);
00036         bool isChoosed();
00037         void setChoosed(bool);
00038         //bool operator< (const VTransferFunctionNode&);
00041         friend bool operator < (const VTransferFunctionNode& n1, const VTransferFunctionNode& n2);
00042         //bool operator== (VTransferFunctionNode);
00043         //bool operator!= (VTransferFunctionNode);
00044         ~VTransferFunctionNode(void);
00045 };
00046 
00047 #endif

Generated on Wed Dec 6 11:08:00 2006 for VisLU by  doxygen 1.5.1-p1