Overture  Version 25
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 
12 {
13 
14 public:
15 ModelBuilder();
17 
18 bool addPlaneToModel(real planeCoordinates[3][3], int &planePoints, CompositeSurface &model,
20 
22 
24 
27 
29  bool buildSpline = false );
30 
31 Edge* closestEdgeOnSurface(real x, real y, real z, CompositeSurface &model, int s, bool buildSpline = false );
32 
33 
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 
44  CompositeSurface & vGrids, GraphicsParameters & volumeParameters);
45 
47  GraphicsParameters & surfaceParameters);
48 
49 protected:
50 
51  bool addPrefix(aString cmd[], const aString & prefix);
52 
57 
60 
61 };
62 
63 #endif