Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
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
"
5
#include "
GenericGraphicsInterface.h
"
6
7
// forward declarations:
8
class
NurbsMapping
;
9
class
TrimmedMapping
;
10
class
MappingInformation
;
11
12
// ==================================================================================
15
// ==================================================================================
16
class
TrimmedMappingBuilder
17
{
18
public
:
19
20
TrimmedMappingBuilder
();
21
~TrimmedMappingBuilder
();
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
36
int
plotCurvesAndSurfaces
(
MappingInformation
& mapInfo );
37
38
int
resetTrimCurves
();
39
40
int
setOptionMenus
(
MappingInformation
& mapInfo,
DialogData
& dialog,
int
createOrUpdate );
41
42
// -------- Member Data ------------
43
44
Mapping
*
pSurface
;
45
46
// List of all possible trim curves:
47
int
numberOfTrimCurves
;
48
NurbsMapping
**
trimCurve
;
49
NurbsMapping
**
trimParametricCurve
;
50
51
// Outer trim curve (NULL=use surface boundary)
52
NurbsMapping
*
outerTrimCurve
;
53
54
// Inner trim curves
55
int
numberOfInnerTrimCurves
;
56
NurbsMapping
**
innerTrimCurve
;
57
58
59
TrimmedMapping
*
trimmedMapping
;
60
61
62
bool
plotReferenceSurface
;
63
bool
plotTrimCurves
;
64
bool
plotTrimmedMappings
;
65
66
bool
newSurface
;
67
68
bool
plotCuttingSurface
;
69
Mapping
*
cuttingSurface
;
// surface we cut with
70
71
GraphicsParameters
parameters
;
72
GraphicsParameters
referenceSurfaceParameters
;
73
74
};
75
76
#endif
Generated on Fri Jan 4 2013 10:18:00 for Overture by
1.8.3