Rendering/vtkDirectionEncoder.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00032 #ifndef __vtkDirectionEncoder_h
00033 #define __vtkDirectionEncoder_h
00034
00035 #include "vtkObject.h"
00036
00037 class VTK_RENDERING_EXPORT vtkDirectionEncoder : public vtkObject
00038 {
00039 public:
00041
00042 vtkTypeRevisionMacro(vtkDirectionEncoder,vtkObject);
00043 virtual void PrintSelf(ostream& os, vtkIndent indent);
00045
00047 virtual int GetEncodedDirection( float n[3] )=0;
00048
00050 virtual float *GetDecodedGradient( int value )=0;
00051
00053 virtual int GetNumberOfEncodedDirections( void )=0;
00054
00059 virtual float *GetDecodedGradientTable( void )=0;
00060
00061 protected:
00062 vtkDirectionEncoder() {};
00063 ~vtkDirectionEncoder() {};
00064 private:
00065 vtkDirectionEncoder(const vtkDirectionEncoder&);
00066 void operator=(const vtkDirectionEncoder&);
00067 };
00068
00069
00070 #endif
00071
00072
00073
00074
00075
00076
00077