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

vtkDirectionEncoder.h

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