Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
ModelBuilder.h
Go to the documentation of this file.
1
#ifndef MODEL_BUILDER_H
2
#define MODEL_BUILDER
3
4
#include "
Overture.h
"
5
#include "
CompositeSurface.h
"
6
7
#include "
Edge.h
"
8
#include "
Point.h
"
9
#include "
SphereLoading.h
"
10
11
class
ModelBuilder
12
{
13
14
public
:
15
ModelBuilder
();
16
~ModelBuilder
();
17
18
bool
addPlaneToModel
(
real
planeCoordinates[3][3],
int
&planePoints,
CompositeSurface
&
model
,
19
GenericGraphicsInterface
&gi);
20
21
void
checkModel
(
GenericGraphicsInterface
& gi);
22
23
bool
newModel
(
GenericGraphicsInterface
& ps,
MappingInformation
& mapInfo,
CompositeSurface
&model);
24
25
void
editModel
(
MappingInformation
&mapInfo,
CompositeSurface
& model,
CompositeSurface
&
deletedSurfaces
,
26
ListOfMappingRC
&
curveList
,
PointList
&
points
);
27
28
Edge
*
getClosestCurve
(
int
&
s
,
CompositeSurface
&model,
SelectionInfo
&select,
GenericGraphicsInterface
&gi,
29
bool
buildSpline =
false
);
30
31
Edge
*
closestEdgeOnSurface
(
real
x
,
real
y,
real
z,
CompositeSurface
&model,
int
s,
bool
buildSpline =
false
);
32
33
34
int
linerGeometry
(
CompositeSurface
& model,
GenericGraphicsInterface
& gi,
PointList
& points,
35
SphereLoading
& sphereLoading);
36
37
void
simpleGeometry
(
MappingInformation
&mapInfo,
CompositeSurface
& model,
ListOfMappingRC
&curveList,
38
PointList
& points);
39
40
41
int
update
(
MappingInformation
& mapInfo,
const
aString
& modelFileName=
nullString
);
42
43
void
rapVolumeGrids
(
MappingInformation
&mapInfo,
CompositeSurface
& model,
CompositeSurface
&
sGrids
,
44
CompositeSurface
&
vGrids
,
GraphicsParameters
& volumeParameters);
45
46
void
rapSurfaceGrids
(
MappingInformation
&mapInfo,
CompositeSurface
& model,
CompositeSurface
& sGrids,
47
GraphicsParameters
& surfaceParameters);
48
49
protected
:
50
51
bool
addPrefix
(
aString
cmd[],
const
aString
& prefix);
52
53
CompositeSurface
model
;
54
CompositeSurface
deletedSurfaces
;
55
CompositeSurface
sGrids
;
56
CompositeSurface
vGrids
;
57
58
PointList
points
;
59
ListOfMappingRC
curveList
;
60
61
};
62
63
#endif
Generated on Fri Jan 4 2013 10:17:56 for Overture by
1.8.3