Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
DistributedInverse.h
Go to the documentation of this file.
1
#ifndef DISTRIBUTED_INVERSE_H
2
3
#include "
Mapping.h
"
4
#include "
BoundingBox.h
"
// define BoundingBox and BoundingBoxStack
5
6
// class ApproximateGlobalInverse;
7
// class ExactLocalInverse;
8
9
class
DistributedInverse
10
{
11
public
:
12
13
DistributedInverse
(
Mapping
&
map
);
14
~DistributedInverse
();
15
16
int
computeBoundingBoxes
();
17
18
int
get
(
const
GenericDataBase
& dir,
const
aString
& name);
// get from a database file
19
20
const
RealArray
&
getBoundingBox
()
const
;
21
const
BoundingBox
&
getBoundingBoxTree
(
int
side,
int
axis);
22
23
int
put
(
GenericDataBase
& dir,
const
aString
& name)
const
;
// put to a database file
24
25
// return size of this object
26
real
sizeOf
(FILE *file =
NULL
)
const
;
27
28
29
protected
:
30
31
Mapping
&
map
;
32
33
// realArray & grid; // reference to Mapping::grid
34
// ApproximateGlobalInverse *agi;
35
// ExactLocalInverse *eli;
36
37
bool
boundingBoxesComputed
;
38
RealArray
boundingBox
;
39
BoundingBox
boundingBoxTree
[2][3];
40
41
42
};
43
44
45
#endif
Generated on Fri Jan 4 2013 10:17:50 for Overture by
1.8.3