Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
OffsetShell.h
Go to the documentation of this file.
1
#ifndef OFFSET_SHELL_H
2
#define OFFSET_SHELL_H
3
4
#include "
Mapping.h
"
5
6
class
MatrixTransform
;
7
class
DataPointMapping
;
8
class
HyperbolicMapping
;
9
10
class
OffsetShell
11
{
12
public
:
13
enum
OffsetTypeEnum
14
{
15
translationOffset
,
16
normalOffset
17
};
18
19
20
OffsetShell
();
21
~OffsetShell
();
22
23
int
createOffsetMappings
(
MappingInformation
& mapInfo );
24
25
int
buildOffsetMappings
(
GenericGraphicsInterface
& gi,
26
GraphicsParameters
& parameters,
MappingInformation
& mapInfo );
27
28
int
generateVolumeGrids
(
GenericGraphicsInterface
& gi,
29
GraphicsParameters
& parameters,
MappingInformation
& mapInfo );
30
31
protected
:
32
33
int
buildOffsetSurface
(
MappingInformation
& mapInfo );
34
35
real
rOffset
[2][2];
// rOffset[side][axis] distance from boundary of the curve on the unit square
36
real
cornerShift
;
// move the corner point in by this factor
37
real
cornerOffset
;
// stop the straight line segment this factor from the corner
38
39
real
cornerStretchExponent
[4];
// for stretching points at corners.
40
41
42
OffsetTypeEnum
offsetType
;
43
real
shift
[3];
// offset shift for a translation offset.
44
real
offsetDistance
;
// for a normal offset
45
46
int
numberOfMatchingPoints
;
47
int
numberOfEdgeLines
[3];
48
real
normalDistance
;
49
50
Mapping
*
referenceSurface
;
51
Mapping
*
offsetSurface
;
// surface offset from reference surface
52
DataPointMapping
*
edgeSurface
;
// edge surface that joins the ref surface to the offset surface
53
HyperbolicMapping
*
edgeVolume
;
// volume grid for the edge surface
54
HyperbolicMapping
*
referenceVolume
;
// volume grid on reference surface
55
HyperbolicMapping
*
offsetVolume
;
// volume grid on offset surface
56
57
58
};
59
60
#endif
Generated on Fri Jan 4 2013 10:17:56 for Overture by
1.8.3