VTK
9.0.1
Rendering
Volume
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 "
vtkObject.h
"
37
#include "vtkRenderingVolumeModule.h"
// For export macro
38
39
class
VTKRENDERINGVOLUME_EXPORT
vtkDirectionEncoder
:
public
vtkObject
40
{
41
public
:
43
46
vtkTypeMacro(
vtkDirectionEncoder
,
vtkObject
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
49
53
virtual
int
GetEncodedDirection(
float
n[3]) = 0;
54
58
virtual
float
* GetDecodedGradient(
int
value
)
VTK_SIZEHINT
(3) = 0;
59
63
virtual
int
GetNumberOfEncodedDirections(
void
) = 0;
64
71
virtual
float
* GetDecodedGradientTable(
void
) = 0;
72
73
protected
:
74
vtkDirectionEncoder
() {}
75
~vtkDirectionEncoder
()
override
{}
76
77
private
:
78
vtkDirectionEncoder
(
const
vtkDirectionEncoder
&) =
delete
;
79
void
operator=(
const
vtkDirectionEncoder
&) =
delete
;
80
};
81
82
#endif
vtkX3D::value
@ value
Definition:
vtkX3D.h:226
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkDirectionEncoder::vtkDirectionEncoder
vtkDirectionEncoder()
Definition:
vtkDirectionEncoder.h:74
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition:
vtkWrappingHints.h:45
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkDirectionEncoder
encode a direction into a one or two byte value
Definition:
vtkDirectionEncoder.h:39
vtkDirectionEncoder::~vtkDirectionEncoder
~vtkDirectionEncoder() override
Definition:
vtkDirectionEncoder.h:75
Generated on Thu Jun 25 2020 08:31:01 for VTK by
1.8.17