Overture  Version 25
TrimmedMappingBuilder.h
Go to the documentation of this file.
1 #ifndef TRIMMED_MAPPING_BUILDER_H
2 #define TRIMMED_MAPPING_BUILDER_H
3 
4 #include "Mapping.h"
6 
7 // forward declarations:
8 class NurbsMapping;
9 class TrimmedMapping;
10 class MappingInformation;
11 
12 // ==================================================================================
15 // ==================================================================================
17 {
18 public :
19 
22 
23 // build one or more trimmed mappings
24 int buildTrimmedMapping( MappingInformation & mapInfo, Mapping *surface = NULL );
25 
26 
27 protected:
28 
29 
30 int addCurve( NurbsMapping & curve, NurbsMapping & pCurve );
31 
32 int constructOuterBoundaryCurves(Mapping & surface, NurbsMapping *curve, NurbsMapping *pCurve);
33 
34 int deleteCurves();
35 
37 
38 int resetTrimCurves();
39 
40 int setOptionMenus( MappingInformation & mapInfo, DialogData & dialog, int createOrUpdate );
41 
42 // -------- Member Data ------------
43 
45 
46  // List of all possible trim curves:
50 
51  // Outer trim curve (NULL=use surface boundary)
53 
54  // Inner trim curves
57 
58 
60 
61 
65 
66  bool newSurface;
67 
69  Mapping *cuttingSurface; // surface we cut with
70 
73 
74 };
75 
76 #endif