python.workflows.preCalcFootprint Namespace Reference

Calculates the axes of the laser footprint on the target using a trigonometric approach. More...

Classes

class  Kernel
 callback object More...
 
class  preCalcFootprint
 

Variables

dictionary typeNames
 
dictionary attributeNames
 
dictionary attributeNamesODM
 
dictionary attributeNamesSHP
 
 script
 

Detailed Description

Calculates the axes of the laser footprint on the target using a trigonometric approach.

Using either existing normal and beam vectors (odm-attributes) or getting them on-the-fly, the ellipse can be calculated either as points with attributes (area, semimajor axis, ...) or as a polygon approximating the shape. Output can either be an odm or a shape file.

See also
Script documentation

Variable Documentation

◆ attributeNames

dictionary attributeNames
Initial value:
1 = {
2  "normalvector": ["NormalX", "NormalY", "NormalZ"],
3  "beamvector": ["BeamVecX", "BeamVecY", "BeamVecZ"],
4  "area": ["ftPrArea"],
5  "semimajor": ["ftPrSemMaj"],
6  "semiminor": ["ftPrSemMin"],
7  "axes": ["ftPrSemMaj", "ftPrSemMin"],
8  "incidence": ["ftPrIncid"],
9  "pointid": ["ftPrPID"],
10  "normalavail": ["ftPrNormAv"]
11 }

◆ attributeNamesODM

dictionary attributeNamesODM
Initial value:
1 = {
2  "NormalX": [pyDM.ColumnSemantic.NormalX],
3  "NormalY": [pyDM.ColumnSemantic.NormalY],
4  "NormalZ": [pyDM.ColumnSemantic.NormalZ],
5  "BeamVecX": [pyDM.ColumnSemantic.BeamVectorX],
6  "BeamVecY": [pyDM.ColumnSemantic.BeamVectorY],
7  "BeamVecZ": [pyDM.ColumnSemantic.BeamVectorZ],
8  "ftPrArea": [pyDM.ColumnType.float_, "_footprintArea"],
9  "ftPrSemMaj": [pyDM.ColumnType.float_, "_footprintSemiMajor"],
10  "ftPrSemMin": [pyDM.ColumnType.float_, "_footprintSemiMinor"],
11  "ftPrIncid": [pyDM.ColumnType.float_, "_footprintIncidence"],
12  "ftPrPID": [pyDM.ColumnType.int64 , "_footprintPointID"],
13  "ftPrNormAv": [pyDM.ColumnType.uint32, "_footprintNormAv"]
14 }

◆ attributeNamesSHP

dictionary attributeNamesSHP
Initial value:
1 = {
2  "NormalX": ["NormalX" , ogr.OFTReal],
3  "NormalY": ["NormalY" , ogr.OFTReal],
4  "NormalZ": ["NormalZ" , ogr.OFTReal],
5  "BeamVecX": ["BeamVecX" , ogr.OFTReal],
6  "BeamVecY": ["BeamVecY" , ogr.OFTReal],
7  "BeamVecZ": ["BeamVecZ" , ogr.OFTReal],
8  "ftPrArea": ["ftPrArea" , ogr.OFTReal],
9  "ftPrSemMaj": ["ftPrSemMaj", ogr.OFTReal],
10  "ftPrSemMin": ["ftPrSemMin", ogr.OFTReal],
11  "ftPrIncid": ["ftPrIncid" , ogr.OFTReal],
12  "ftPrPID": ["ftPrPID" , ogr.OFTString],
13  "ftPrNormAv": ["ftPrNormAv", ogr.OFTInteger]
14 }

◆ typeNames

dictionary typeNames
Initial value:
1 = {
2  pyDM.ColumnType.int32 : "int32",
3  pyDM.ColumnType.uint32 : "uint32",
4  pyDM.ColumnType.int8 : "int8",
5  pyDM.ColumnType.uint8 : "uint8",
6  pyDM.ColumnType.int16 : "int16",
7  pyDM.ColumnType.uint16 : "uint16",
8  pyDM.ColumnType.float_ : "float",
9  pyDM.ColumnType.double_: "double",
10  pyDM.ColumnType.string : "string",
11  pyDM.ColumnType.int64 : "int64",
12  pyDM.ColumnType.cstr : "cstr",
13  pyDM.ColumnType.bool_ : "bool"
14 }