Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Vector3f direction, Vector2i resolution, MeshPart mp, bool usePreciseBoundingBox=False) |
None | __init__ (self, Vector3f direction, Vector2f pixelSize, MeshPart mp, bool usePreciseBoundingBox=False) |
None | __init__ (self, Matrix3f rotation, Vector3f origin, Vector2i resolution, Vector2f size) |
None | __init__ (self, Matrix3f rotation, Vector3f origin, Vector2f pixelSize, Vector2i resolution) |
None | __init__ (self, Matrix3f rotation, Vector2i resolution, MeshPart mp, bool usePreciseBoundingBox=False) |
None | __init__ (self, AffineXf3f xf, Vector2i resolution, Vector2f size) |
None | __init__ (self, AffineXf3f xf, Vector2f pixelSize, Vector2i resolution) |
None | __init__ (self, MeshToDistanceMapParams arg0) |
None | setDistanceLimits (self, float min, float max) |
AffineXf3f | xf (self) |
bool | allowNegativeValues (self) |
None | allowNegativeValues (self, bool arg1) |
Vector3f | direction (self) |
None | direction (self, Vector3f arg1) |
float | maxValue (self) |
None | maxValue (self, float arg1) |
float | minValue (self) |
None | minValue (self, float arg1) |
Vector3f | orgPoint (self) |
None | orgPoint (self, Vector3f arg1) |
Vector2i | resolution (self) |
None | resolution (self, Vector2i arg1) |
bool | useDistanceLimits (self) |
None | useDistanceLimits (self, bool arg1) |
Vector3f | xRange (self) |
None | xRange (self, Vector3f arg1) |
Vector3f | yRange (self) |
None | yRange (self, Vector3f arg1) |
Protected Member Functions | |
AffineXf3f | _convert_to_AffineXf3f (self) |
Generated from: MR::MeshToDistanceMapParams \\addtogroup DistanceMapGroup \\{
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self | ) |
default constructor. Manual params initialization is required:
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
Vector3f | direction, | ||
Vector2i | resolution, | ||
MeshPart | mp, | ||
bool | usePreciseBoundingBox = False ) |
direction vector shows the projections vector to the distance map for points on model yRange and xRange directions make orthonormal basis with direction see Vector3<T>::perpendicular() for more details All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
Vector3f | direction, | ||
Vector2f | pixelSize, | ||
MeshPart | mp, | ||
bool | usePreciseBoundingBox = False ) |
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
Matrix3f | rotation, | ||
Vector3f | origin, | ||
Vector2i | resolution, | ||
Vector2f | size ) |
input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
Matrix3f | rotation, | ||
Vector3f | origin, | ||
Vector2f | pixelSize, | ||
Vector2i | resolution ) |
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
Matrix3f | rotation, | ||
Vector2i | resolution, | ||
MeshPart | mp, | ||
bool | usePreciseBoundingBox = False ) |
input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
AffineXf3f | xf, | ||
Vector2i | resolution, | ||
Vector2f | size ) |
The most general constructor. Use it if you have to find special view, resolution, distance map with visual the part of the model etc. All params match is in the user responsibility xf.b - origin point: pixel(0,0) with value 0. xf.A.z - direction xf.A.x - xRange xf.A.y - yRange All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
AffineXf3f | xf, | ||
Vector2f | pixelSize, | ||
Vector2i | resolution ) |
None meshlib.mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
MeshToDistanceMapParams | arg0 ) |
Implicit copy constructor.
|
protected |
converts in transformation
bool meshlib.mrmeshpy.MeshToDistanceMapParams.allowNegativeValues | ( | self | ) |
allows to find intersections in backward to direction vector with negative values
None meshlib.mrmeshpy.MeshToDistanceMapParams.allowNegativeValues | ( | self, | |
bool | arg1 ) |
Vector3f meshlib.mrmeshpy.MeshToDistanceMapParams.direction | ( | self | ) |
direction of intersection ray
None meshlib.mrmeshpy.MeshToDistanceMapParams.direction | ( | self, | |
Vector3f | arg1 ) |
float meshlib.mrmeshpy.MeshToDistanceMapParams.maxValue | ( | self | ) |
Using of this parameter depends on useDistanceLimits
None meshlib.mrmeshpy.MeshToDistanceMapParams.maxValue | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.MeshToDistanceMapParams.minValue | ( | self | ) |
Using of this parameter depends on useDistanceLimits
None meshlib.mrmeshpy.MeshToDistanceMapParams.minValue | ( | self, | |
float | arg1 ) |
Vector3f meshlib.mrmeshpy.MeshToDistanceMapParams.orgPoint | ( | self | ) |
location of (0,0) pixel with value 0.f
None meshlib.mrmeshpy.MeshToDistanceMapParams.orgPoint | ( | self, | |
Vector3f | arg1 ) |
Vector2i meshlib.mrmeshpy.MeshToDistanceMapParams.resolution | ( | self | ) |
resolution of distance map
None meshlib.mrmeshpy.MeshToDistanceMapParams.resolution | ( | self, | |
Vector2i | arg1 ) |
None meshlib.mrmeshpy.MeshToDistanceMapParams.setDistanceLimits | ( | self, | |
float | min, | ||
float | max ) |
if distance is not in set range, pixel became invalid default value: false. Any distance will be applied (include negative)
bool meshlib.mrmeshpy.MeshToDistanceMapParams.useDistanceLimits | ( | self | ) |
out of limits intersections will be set to non-valid
None meshlib.mrmeshpy.MeshToDistanceMapParams.useDistanceLimits | ( | self, | |
bool | arg1 ) |
AffineXf3f meshlib.mrmeshpy.MeshToDistanceMapParams.xf | ( | self | ) |
Vector3f meshlib.mrmeshpy.MeshToDistanceMapParams.xRange | ( | self | ) |
Cartesian range vector between distance map borders in X direction
None meshlib.mrmeshpy.MeshToDistanceMapParams.xRange | ( | self, | |
Vector3f | arg1 ) |
Vector3f meshlib.mrmeshpy.MeshToDistanceMapParams.yRange | ( | self | ) |
Cartesian range vector between distance map borders in Y direction
None meshlib.mrmeshpy.MeshToDistanceMapParams.yRange | ( | self, | |
Vector3f | arg1 ) |