Overture  Version 25
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;
9 
11 {
12  public:
14  {
17  };
18 
19 
20  OffsetShell();
21  ~OffsetShell();
22 
24 
26  GraphicsParameters & parameters, MappingInformation & mapInfo );
27 
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 
43  real shift[3]; // offset shift for a translation offset.
44  real offsetDistance; // for a normal offset
45 
49 
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