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 "vtkRenderingVolumeModule.h" // For export macro
36 #include "vtkObject.h"
37 
39 {
40 public:
42 
44  virtual void PrintSelf(ostream& os, vtkIndent indent);
46 
48  virtual int GetEncodedDirection( float n[3] )=0;
49 
51  virtual float *GetDecodedGradient( int value )=0;
52 
54  virtual int GetNumberOfEncodedDirections( void )=0;
55 
60  virtual float *GetDecodedGradientTable( void )=0;
61 
62 protected:
65 private:
66  vtkDirectionEncoder(const vtkDirectionEncoder&); // Not implemented.
67  void operator=(const vtkDirectionEncoder&); // Not implemented.
68 };
69 
70 
71 #endif
72 
73 
74 
75 
76 
77 
78 
abstract base class for most VTK objects
Definition: vtkObject.h:61
encode a direction into a one or two byte value
#define VTKRENDERINGVOLUME_EXPORT
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38