VTK
vtkDirectionEncoder.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDirectionEncoder.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
32 #ifndef __vtkDirectionEncoder_h
33 #define __vtkDirectionEncoder_h
34 
35 #include "vtkObject.h"
36 
38 {
39 public:
41 
43  virtual void PrintSelf(ostream& os, vtkIndent indent);
45 
47  virtual int GetEncodedDirection( float n[3] )=0;
48 
50  virtual float *GetDecodedGradient( int value )=0;
51 
53  virtual int GetNumberOfEncodedDirections( void )=0;
54 
59  virtual float *GetDecodedGradientTable( void )=0;
60 
61 protected:
64 private:
65  vtkDirectionEncoder(const vtkDirectionEncoder&); // Not implemented.
66  void operator=(const vtkDirectionEncoder&); // Not implemented.
67 };
68 
69 
70 #endif
71 
72 
73 
74 
75 
76 
77