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 
33 #ifndef vtkDirectionEncoder_h
34 #define vtkDirectionEncoder_h
35 
36 #include "vtkRenderingVolumeModule.h" // For export macro
37 #include "vtkObject.h"
38 
39 class VTKRENDERINGVOLUME_EXPORT vtkDirectionEncoder : public vtkObject
40 {
41 public:
43 
47  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49 
53  virtual int GetEncodedDirection( float n[3] )=0;
54 
58  virtual float *GetDecodedGradient( int value )=0;
59 
63  virtual int GetNumberOfEncodedDirections( void )=0;
64 
71  virtual float *GetDecodedGradientTable( void )=0;
72 
73 protected:
76 private:
77  vtkDirectionEncoder(const vtkDirectionEncoder&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkDirectionEncoder&) VTK_DELETE_FUNCTION;
79 };
80 
81 
82 #endif
83 
84 
85 
86 
87 
88 
89 
abstract base class for most VTK objects
Definition: vtkObject.h:59
encode a direction into a one or two byte value
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39