Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
MappingP.h
Go to the documentation of this file.
1
#ifndef MAPPINGP_H
2
#define MAPPINGP_H "MappingP.h"
3
4
#include <A++.h>
5
6
#include "
OvertureTypes.h
"
// define real to be float or double
7
8
#include "
wdhdefs.h
"
// some useful defines and constants
9
#include "
MappingWS.h
"
10
11
class
ApproximateGlobalInverse
;
// forward declaration
12
class
ExactLocalInverse
;
13
14
//===========================================================================
15
// Here is a class to use to pass parameters to inverseMap
16
// ---temporarily located here---
17
//===========================================================================
18
class
MappingParameters
19
{
20
public
:
21
enum
realParameter
22
{
23
THEnonConvergenceValue
,
// value given to inverse when there is no convergence
24
THEnewtonToleranceFactor
,
// convergence tolerance is this times the machine epsilon
25
THEnewtonDivergenceValue
,
// newton is deemed to have diverged if the r value is this much outside [0,1]
26
THEnewtonL2Factor
,
// extra factor used in inverting the closest point to a curve or surface
27
THEboundingBoxExtensionFactor
,
// relative amount to increase the bounding box each direction.
28
THEstencilWalkBoundingBoxExtensionFactor
// increase bounding box for the stencil walk.
29
};
30
enum
intParameter
31
{
32
THEfindBestGuess
// if true, ignore bounding boxes when finding closest point
33
};
34
35
int
isNull
;
// True if parameters have not been set
36
int
periodicityOfSpace
;
// =0,1,2,3
37
RealArray
periodicityVector
;
38
MappingWorkSpace
workSpace
;
39
int
computeGlobalInverse
;
40
// This next int should really be of type Mapping::coordinateSystem
41
int
coordinateType
;
// to request the mapping transformation to be evaluated
42
// in one of the coordinate systems: cartesian, spherical,
43
// cylindrical, polar, toroidal
44
45
intArray
mask
;
// optional mask for limiting which points are evaluated by map and inverseMap
46
47
ApproximateGlobalInverse
*
approximateGlobalInverse
;
//
48
ExactLocalInverse
*
exactLocalInverse
;
49
50
MappingParameters
(
const
int
isNull0=
FALSE
);
51
52
~MappingParameters
();
53
54
// Copy constructor is deep by default
55
MappingParameters
(
const
MappingParameters
&,
const
CopyType
copyType=
DEEP
);
56
57
MappingParameters
&
operator =
(
const
MappingParameters
& X );
58
59
};
60
61
#endif // MAPPINGP_H
Generated on Fri Jan 4 2013 10:17:55 for Overture by
1.8.3