Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 
00032 #ifndef __vtkDirectionEncoder_h
00033 #define __vtkDirectionEncoder_h
00034 
00035 #include "vtkObject.h"
00036 
00037 class VTK_VOLUMERENDERING_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&);  // Not implemented.
00066   void operator=(const vtkDirectionEncoder&);  // Not implemented.
00067 }; 
00068 
00069 
00070 #endif
00071 
00072 
00073 
00074 
00075 
00076 
00077 

Generated on Mon Jan 21 23:07:37 2008 for VTK by  doxygen 1.4.3-20050530