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

dox/Rendering/vtkDirectionEncoder.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDirectionEncoder.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00016 
00036 #ifndef __vtkDirectionEncoder_h
00037 #define __vtkDirectionEncoder_h
00038 
00039 #include "vtkObject.h"
00040 
00041 class VTK_RENDERING_EXPORT vtkDirectionEncoder : public vtkObject
00042 {
00043 public:
00045 
00046   vtkTypeRevisionMacro(vtkDirectionEncoder,vtkObject);
00047   virtual void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051   virtual int GetEncodedDirection( float n[3] )=0;
00052 
00054   virtual float *GetDecodedGradient( int value )=0;
00055 
00057   virtual  int GetNumberOfEncodedDirections( void )=0;
00058 
00063   virtual float *GetDecodedGradientTable( void )=0;
00064 
00065 protected:
00066   vtkDirectionEncoder() {};
00067   ~vtkDirectionEncoder() {};
00068 private:
00069   vtkDirectionEncoder(const vtkDirectionEncoder&);  // Not implemented.
00070   void operator=(const vtkDirectionEncoder&);  // Not implemented.
00071 }; 
00072 
00073 
00074 #endif
00075 
00076 
00077 
00078 
00079 
00080 
00081