BALL
1.5.0
include
BALL
VIEW
DATATYPE
raytraceableGrid.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_VIEW_DATATYPE_RAYTRACEABLEGRID_H
6
#define BALL_VIEW_DATATYPE_RAYTRACEABLEGRID_H
7
8
#ifndef BALL_DATATYPE_REGULARDATA3D_H
9
# include <
BALL/DATATYPE/regularData3D.h
>
10
#endif
11
12
namespace
BALL
13
{
14
namespace
VIEW
15
{
16
class
BALL_VIEW_EXPORT
RaytraceableGrid
17
{
18
public
:
19
RaytraceableGrid
()
20
{
21
grid_ = 0;
22
}
23
24
RaytraceableGrid
(
RegularData3D
* grid)
25
{
26
grid_ = grid;
27
}
28
29
// Note: the grid_ - ptr is handled by the calling classes and we must not destroy it!
30
virtual
~RaytraceableGrid
()
31
{}
32
33
34
float
getGridMinValue();
35
36
float
getGridMaxValue();
37
41
void
binaryWrite(
const
String
& filename)
const
;
42
43
protected
:
44
RegularData3D
*
grid_
;
45
};
46
}
47
}
48
#endif
49
BALL::TRegularData3D< float >
BALL::VIEW::RaytraceableGrid::~RaytraceableGrid
virtual ~RaytraceableGrid()
Definition:
raytraceableGrid.h:30
BALL::String
Definition:
string.h:56
BALL
Definition:
constants.h:12
BALL::VIEW::RaytraceableGrid::RaytraceableGrid
RaytraceableGrid(RegularData3D *grid)
Definition:
raytraceableGrid.h:24
BALL::VIEW::RaytraceableGrid::grid_
RegularData3D * grid_
Definition:
raytraceableGrid.h:44
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::RaytraceableGrid
Definition:
raytraceableGrid.h:16
regularData3D.h
BALL::VIEW::RaytraceableGrid::RaytraceableGrid
RaytraceableGrid()
Definition:
raytraceableGrid.h:19
Generated by
1.8.17