VTK
dox
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 "vtkRenderingVolumeModule.h"
// For export macro
37
#include "
vtkObject.h
"
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
private
:
77
vtkDirectionEncoder
(
const
vtkDirectionEncoder
&) =
delete
;
78
void
operator=(
const
vtkDirectionEncoder
&) =
delete
;
79
};
80
81
82
#endif
83
84
85
86
87
88
89
vtkX3D::value
Definition:
vtkX3D.h:220
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkDirectionEncoder::vtkDirectionEncoder
vtkDirectionEncoder()
Definition:
vtkDirectionEncoder.h:74
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition:
vtkWrappingHints.h:42
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
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 by
1.8.16