Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstMeshToDistanceMapParams | |
| typing | _offsetof_allowNegativeValues = 49 |
| typing | _offsetof_direction = 24 |
| typing | _offsetof_maxValue = 56 |
| typing | _offsetof_minValue = 52 |
| typing | _offsetof_orgPoint = 36 |
| typing | _offsetof_resolution = 60 |
| typing | _offsetof_useDistanceLimits = 48 |
| typing | _offsetof_xRange = 0 |
| typing | _offsetof_yRange = 12 |
Generated from: MR::MeshToDistanceMapParams
|
static |
| None mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self | ) |
default constructor. Manual params initialization is required:
| None mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstVector3f | direction, | ||
| ConstVector2i | resolution, | ||
| ConstMeshPart | 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 mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstVector3f | direction, | ||
| ConstVector2f | pixelSize, | ||
| ConstMeshPart | mp, | ||
| bool | usePreciseBoundingBox = False ) |
| None mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstMatrix3f | rotation, | ||
| ConstVector3f | origin, | ||
| ConstVector2i | resolution, | ||
| ConstVector2f | 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 mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstMatrix3f | rotation, | ||
| ConstVector3f | origin, | ||
| ConstVector2f | pixelSize, | ||
| ConstVector2i | resolution ) |
| None mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstMatrix3f | rotation, | ||
| ConstVector2i | resolution, | ||
| ConstMeshPart | 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 mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstAffineXf3f | xf, | ||
| ConstVector2i | resolution, | ||
| ConstVector2f | 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 mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstAffineXf3f | xf, | ||
| ConstVector2f | pixelSize, | ||
| ConstVector2i | resolution ) |
| None mrmeshpy.MeshToDistanceMapParams.__init__ | ( | self, | |
| ConstMeshToDistanceMapParams | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.MeshToDistanceMapParams.allowNegativeValues | ( | self | ) |
allows to find intersections in backward to direction vector with negative values
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.allowNegativeValues | ( | self, | |
| bool | arg1 ) |
allows to find intersections in backward to direction vector with negative values
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| MeshToDistanceMapParams mrmeshpy.MeshToDistanceMapParams.assign | ( | self, | |
| ConstMeshToDistanceMapParams | other ) |
| Vector3f mrmeshpy.MeshToDistanceMapParams.direction | ( | self | ) |
direction of intersection ray
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.direction | ( | self, | |
| ConstVector3f | arg1 ) |
direction of intersection ray
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| float mrmeshpy.MeshToDistanceMapParams.maxValue | ( | self | ) |
Using of this parameter depends on useDistanceLimits
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.maxValue | ( | self, | |
| float | arg1 ) |
Using of this parameter depends on useDistanceLimits
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| float mrmeshpy.MeshToDistanceMapParams.minValue | ( | self | ) |
Using of this parameter depends on useDistanceLimits
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.minValue | ( | self, | |
| float | arg1 ) |
Using of this parameter depends on useDistanceLimits
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| Vector3f mrmeshpy.MeshToDistanceMapParams.orgPoint | ( | self | ) |
location of (0,0) pixel with value 0.f
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.orgPoint | ( | self, | |
| ConstVector3f | arg1 ) |
location of (0,0) pixel with value 0.f
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| Vector2i mrmeshpy.MeshToDistanceMapParams.resolution | ( | self | ) |
resolution of distance map
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.resolution | ( | self, | |
| ConstVector2i | arg1 ) |
resolution of distance map
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None 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 mrmeshpy.MeshToDistanceMapParams.useDistanceLimits | ( | self | ) |
out of limits intersections will be set to non-valid
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.useDistanceLimits | ( | self, | |
| bool | arg1 ) |
out of limits intersections will be set to non-valid
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| Vector3f mrmeshpy.MeshToDistanceMapParams.xRange | ( | self | ) |
Cartesian range vector between distance map borders in X direction
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.xRange | ( | self, | |
| ConstVector3f | arg1 ) |
Cartesian range vector between distance map borders in X direction
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| Vector3f mrmeshpy.MeshToDistanceMapParams.yRange | ( | self | ) |
Cartesian range vector between distance map borders in Y direction
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.
| None mrmeshpy.MeshToDistanceMapParams.yRange | ( | self, | |
| ConstVector3f | arg1 ) |
Cartesian range vector between distance map borders in Y direction
Reimplemented from mrmeshpy.ConstMeshToDistanceMapParams.