Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spectral/DatPnt.h

Go to the documentation of this file.
00001 // DatPnt.h: Schnittstelle für die Klasse DatPnt.
00002 //
00004 #ifndef _DATPNT_H_
00005 #define _DATPNT_H_
00006 
00007 #include "Util.h"
00008 #include "Material.h"
00009 
00010 namespace ns_vu1112112 {
00011 using namespace ns_vu1112112;
00012 
00013 class vu1112112;
00014 
00018 class DatPnt  
00019 {
00020 public:
00021     enum Flags {Invisible=0, Visible=1, SkipCell=2};
00022 
00024         void shade(vu1112112 &r);
00026         void classify(vu1112112 &r);
00028         void reset();
00030         DatPnt();
00032         ~DatPnt();
00033 
00035         void setFlag(Flags vflag) { flag=(char)vflag;};
00037         Flags getFlag() { return (Flags)flag; }
00038 
00039         //char m_Data[20];
00043         unsigned char           data;
00045         char                    flag;
00048         unsigned char           length;
00050         signed char             grad[3];
00051 #ifndef DO_POST_CLASSIFICATION
00052         float                   density[MAT_NUM_MATERIALS]; 
00053 #endif
00054         float                   illum;   
00055 //      ColourType              illum;   - no illuminating spectrum
00056 };
00057 
00058 } // end of namespace
00059 #endif

Generated on Wed Dec 15 21:20:28 2004 for vuVolume by  doxygen 1.3.9.1