#include <MRCMesh/MRId.h>#include <MRCMesh/MRVector3.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
| typedef struct MR_EdgePathsAStarBuilder MR_EdgePathsAStarBuilder |
the class is responsible for finding shortest edge paths on a mesh in Euclidean metric using A* heuristics Generated from class MR::EdgePathsAStarBuilder. Base classes: Direct: (non-virtual) MR::EdgePathsBuilderT<MR::MetricToAStarPenalty> Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_EdgePathsBuilderT_MR_MetricToAStarPenalty MR_EdgePathsBuilderT_MR_MetricToAStarPenalty |
the class is responsible for finding smallest metric edge paths on a mesh Generated from class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>. Derived classes: Direct: (non-virtual) MR::EdgePathsAStarBuilder Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert |
information about just reached vertex (with final metric value) Generated from class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty |
the class is responsible for finding smallest metric edge paths on a mesh Generated from class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>. Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert |
information about just reached vertex (with final metric value) Generated from class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_MeshTopology MR_MeshTopology |
| typedef struct MR_MeshTriPoint MR_MeshTriPoint |
| typedef struct MR_MetricToAStarPenalty MR_MetricToAStarPenalty |
the vertices in the queue are ordered by the sum of their metric from a start location and the lower bound of a path till target point (A* heuristic) Generated from class MR::MetricToAStarPenalty. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_phmap_flat_hash_map_MR_VertId_MR_VertPathInfo MR_phmap_flat_hash_map_MR_VertId_MR_VertPathInfo |
| typedef struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId |
| typedef struct MR_TrivialMetricToPenalty MR_TrivialMetricToPenalty |
the vertices in the queue are ordered by their metric from a start location Generated from class MR::TrivialMetricToPenalty. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_VertCoords MR_VertCoords |
| typedef struct MR_VertPathInfo MR_VertPathInfo |
information associated with each vertex by the paths builder Generated from class MR::VertPathInfo. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_API bool MR_EdgePathsAStarBuilder_addOrgRingSteps | ( | MR_EdgePathsAStarBuilder * | _this, |
| const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | rv ) |
adds steps for all origin ring edges of the reached vertex; returns true if at least one step was added Generated from method MR::EdgePathsAStarBuilder::addOrgRingSteps. Parameter _this can not be null. It is a single object. Parameter rv can not be null. It is a single object.
| MRC_API bool MR_EdgePathsAStarBuilder_addStart | ( | MR_EdgePathsAStarBuilder * | _this, |
| MR_VertId | startVert, | ||
| float | startMetric ) |
compares proposed metric with best value known for startVert; if proposed metric is smaller then adds it in the queue and returns true Generated from method MR::EdgePathsAStarBuilder::addStart. Parameter _this can not be null. It is a single object.
| MRC_API MR_EdgePathsAStarBuilder * MR_EdgePathsAStarBuilder_Construct_MR_MeshTriPoint | ( | const MR_Mesh * | mesh, |
| const MR_MeshTriPoint * | target, | ||
| const MR_MeshTriPoint * | start ) |
Generated from constructor MR::EdgePathsAStarBuilder::EdgePathsAStarBuilder. Parameter mesh can not be null. It is a single object. The reference to the parameter mesh might be preserved in the constructed object. Parameter target can not be null. It is a single object. The reference to the parameter target might be preserved in the constructed object. Parameter start can not be null. It is a single object. The reference to the parameter start might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsAStarBuilder_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsAStarBuilder * MR_EdgePathsAStarBuilder_Construct_MR_VertId | ( | const MR_Mesh * | mesh, |
| MR_VertId | target, | ||
| MR_VertId | start ) |
Generated from constructor MR::EdgePathsAStarBuilder::EdgePathsAStarBuilder. Parameter mesh can not be null. It is a single object. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter target might be preserved in the constructed object. The reference to the parameter start might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsAStarBuilder_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsAStarBuilder * MR_EdgePathsAStarBuilder_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_EdgePathsAStarBuilder * | _other ) |
Generated from constructor MR::EdgePathsAStarBuilder::EdgePathsAStarBuilder. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsAStarBuilder_Destroy() to free it when you're done using it.
| MRC_API void MR_EdgePathsAStarBuilder_Destroy | ( | const MR_EdgePathsAStarBuilder * | _this | ) |
Destroys a heap-allocated instance of MR_EdgePathsAStarBuilder. Does nothing if the pointer is null.
| MRC_API void MR_EdgePathsAStarBuilder_DestroyArray | ( | const MR_EdgePathsAStarBuilder * | _this | ) |
Destroys a heap-allocated array of MR_EdgePathsAStarBuilder. Does nothing if the pointer is null.
| MRC_API bool MR_EdgePathsAStarBuilder_done | ( | const MR_EdgePathsAStarBuilder * | _this | ) |
returns true if further edge forest growth is impossible Generated from method MR::EdgePathsAStarBuilder::done. Parameter _this can not be null. It is a single object.
| MRC_API float MR_EdgePathsAStarBuilder_doneDistance | ( | const MR_EdgePathsAStarBuilder * | _this | ) |
returns path length till the next candidate vertex or maximum float value if all vertices have been reached Generated from method MR::EdgePathsAStarBuilder::doneDistance. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_vector_MR_EdgeId * MR_EdgePathsAStarBuilder_getPathBack | ( | const MR_EdgePathsAStarBuilder * | _this, |
| MR_VertId | backpathStart ) |
returns the path in the forest from given vertex to one of start vertices Generated from method MR::EdgePathsAStarBuilder::getPathBack. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.
| MRC_API const MR_VertPathInfo * MR_EdgePathsAStarBuilder_getVertInfo | ( | const MR_EdgePathsAStarBuilder * | _this, |
| MR_VertId | v ) |
returns one element from the map (or nullptr if the element is missing) Generated from method MR::EdgePathsAStarBuilder::getVertInfo. Parameter _this can not be null. It is a single object.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsAStarBuilder_growOneEdge | ( | MR_EdgePathsAStarBuilder * | _this | ) |
the same as reachNext() + addOrgRingSteps() Generated from method MR::EdgePathsAStarBuilder::growOneEdge. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsAStarBuilder_MutableUpcastTo_MR_EdgePathsBuilderT_MR_MetricToAStarPenalty | ( | MR_EdgePathsAStarBuilder * | object | ) |
Upcasts an instance of MR::EdgePathsAStarBuilder to its base class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>.
| MRC_API MR_EdgePathsAStarBuilder * MR_EdgePathsAStarBuilder_OffsetMutablePtr | ( | MR_EdgePathsAStarBuilder * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_EdgePathsAStarBuilder * MR_EdgePathsAStarBuilder_OffsetPtr | ( | const MR_EdgePathsAStarBuilder * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsAStarBuilder_reachNext | ( | MR_EdgePathsAStarBuilder * | _this | ) |
include one more vertex in the final forest, returning vertex-info for the newly reached vertex; returns invalid VertId in v-field if no more vertices left Generated from method MR::EdgePathsAStarBuilder::reachNext. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API void MR_EdgePathsAStarBuilder_reset | ( | MR_EdgePathsAStarBuilder * | _this, |
| const MR_std_function_float_from_MR_EdgeId * | metric ) |
clears everything without freeing memory, and sets new metric Generated from method MR::EdgePathsAStarBuilder::reset. Parameter _this can not be null. It is a single object. Parameter metric can not be null. It is a single object.
| MRC_API MR_VertId MR_EdgePathsAStarBuilder_trackPathBack | ( | const MR_EdgePathsAStarBuilder * | _this, |
| MR_VertId | v, | ||
| MR_std_vector_MR_EdgeId * | res ) |
tracks back path in the forest from the given vertex to one of start vertices, which is returned; optionally appends tracked path (res) Generated from method MR::EdgePathsAStarBuilder::trackPathBack. Parameter _this can not be null. It is a single object. Parameter res defaults to a null pointer in C++.
| MRC_API const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsAStarBuilder_UpcastTo_MR_EdgePathsBuilderT_MR_MetricToAStarPenalty | ( | const MR_EdgePathsAStarBuilder * | object | ) |
Upcasts an instance of MR::EdgePathsAStarBuilder to its base class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>. This version is acting on mutable pointers.
| MRC_API const MR_phmap_flat_hash_map_MR_VertId_MR_VertPathInfo * MR_EdgePathsAStarBuilder_vertPathInfoMap | ( | const MR_EdgePathsAStarBuilder * | _this | ) |
gives read access to the map from vertex to path to it Generated from method MR::EdgePathsAStarBuilder::vertPathInfoMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_addOrgRingSteps | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this, |
| const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | rv ) |
adds steps for all origin ring edges of the reached vertex; returns true if at least one step was added Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::addOrgRingSteps. Parameter _this can not be null. It is a single object. Parameter rv can not be null. It is a single object.
| MRC_API bool MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_addStart | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this, |
| MR_VertId | startVert, | ||
| float | startMetric ) |
compares proposed metric with best value known for startVert; if proposed metric is smaller then adds it in the queue and returns true Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::addStart. Parameter _this can not be null. It is a single object.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_Construct_1 | ( | const MR_MeshTopology * | topology | ) |
Generated from constructor MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::EdgePathsBuilderT. Parameter topology can not be null. It is a single object. The reference to the parameter topology might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_Construct_2 | ( | const MR_MeshTopology * | topology, |
| const MR_std_function_float_from_MR_EdgeId * | metric ) |
Generated from constructor MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::EdgePathsBuilderT. Parameter topology can not be null. It is a single object. The reference to the parameter topology might be preserved in the constructed object. Parameter metric can not be null. It is a single object. The reference to the parameter metric might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _other ) |
Generated from constructor MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::EdgePathsBuilderT. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_Destroy() to free it when you're done using it.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_Destroy | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
Destroys a heap-allocated instance of MR_EdgePathsBuilderT_MR_MetricToAStarPenalty. Does nothing if the pointer is null.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_DestroyArray | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
Destroys a heap-allocated array of MR_EdgePathsBuilderT_MR_MetricToAStarPenalty. Does nothing if the pointer is null.
| MRC_API bool MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_done | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
returns true if further edge forest growth is impossible Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::done. Parameter _this can not be null. It is a single object.
| MRC_API float MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_doneDistance | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
returns path length till the next candidate vertex or maximum float value if all vertices have been reached Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::doneDistance. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_vector_MR_EdgeId * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_getPathBack | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this, |
| MR_VertId | backpathStart ) |
returns the path in the forest from given vertex to one of start vertices Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::getPathBack. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.
| MRC_API const MR_VertPathInfo * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_getVertInfo | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this, |
| MR_VertId | v ) |
returns one element from the map (or nullptr if the element is missing) Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::getVertInfo. Parameter _this can not be null. It is a single object.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_growOneEdge | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
the same as reachNext() + addOrgRingSteps() Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::growOneEdge. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsAStarBuilder * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_MutableStaticDowncastTo_MR_EdgePathsAStarBuilder | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | object | ) |
Downcasts an instance of MR::EdgePathsBuilderT<MR::MetricToAStarPenalty> to a derived class MR::EdgePathsAStarBuilder. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_OffsetMutablePtr | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_OffsetPtr | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_AssignFromAnother | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this, |
| const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _other ) |
Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_ConstructFrom | ( | MR_VertId | v, |
| MR_EdgeId | backward, | ||
| float | penalty, | ||
| float | metric ) |
Constructs MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert elementwise. The reference to the parameter v might be preserved in the constructed object. The reference to the parameter backward might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_ConstructFromAnother | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _other | ) |
Generated from constructor MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert::ReachedVert. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_DestroyArray(). Use MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_OffsetMutablePtr() and MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_OffsetPtr() to access the array elements.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
Destroys a heap-allocated instance of MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert. Does nothing if the pointer is null.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_DestroyArray | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
Destroys a heap-allocated array of MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert. Does nothing if the pointer is null.
| MRC_API const MR_EdgeId * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Get_backward | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
edge from this vertex to its predecessor in the forest (if this vertex is not start) Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named backward. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Get_metric | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
summed metric to reach this vertex Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Get_penalty | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named penalty. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertId * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Get_v | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named v. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_EdgeId * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_GetMutable_backward | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
edge from this vertex to its predecessor in the forest (if this vertex is not start) Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named backward. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_GetMutable_metric | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
summed metric to reach this vertex Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_GetMutable_penalty | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named penalty. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_VertId * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_GetMutable_v | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this | ) |
Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named v. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_OffsetMutablePtr | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_OffsetPtr | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Set_backward | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this, |
| MR_EdgeId | value ) |
edge from this vertex to its predecessor in the forest (if this vertex is not start) Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named backward. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element backward. When this function is called, this object will drop object references it had previously in backward.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Set_metric | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this, |
| float | value ) |
summed metric to reach this vertex Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named metric. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in metric.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Set_penalty | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this, |
| float | value ) |
not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named penalty. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in penalty.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Set_v | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * | _this, |
| MR_VertId | value ) |
Modifies a member variable of class MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::ReachedVert named v. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element v. When this function is called, this object will drop object references it had previously in v.
| MRC_API MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_reachNext | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
include one more vertex in the final forest, returning vertex-info for the newly reached vertex; returns invalid VertId in v-field if no more vertices left Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::reachNext. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API void MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_reset | ( | MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this, |
| const MR_std_function_float_from_MR_EdgeId * | metric ) |
clears everything without freeing memory, and sets new metric Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::reset. Parameter _this can not be null. It is a single object. Parameter metric can not be null. It is a single object.
| MRC_API const MR_EdgePathsAStarBuilder * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_StaticDowncastTo_MR_EdgePathsAStarBuilder | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | object | ) |
Downcasts an instance of MR::EdgePathsBuilderT<MR::MetricToAStarPenalty> to a derived class MR::EdgePathsAStarBuilder. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API MR_VertId MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_trackPathBack | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this, |
| MR_VertId | v, | ||
| MR_std_vector_MR_EdgeId * | res ) |
tracks back path in the forest from the given vertex to one of start vertices, which is returned; optionally appends tracked path (res) Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::trackPathBack. Parameter _this can not be null. It is a single object. Parameter res defaults to a null pointer in C++.
| MRC_API const MR_phmap_flat_hash_map_MR_VertId_MR_VertPathInfo * MR_EdgePathsBuilderT_MR_MetricToAStarPenalty_vertPathInfoMap | ( | const MR_EdgePathsBuilderT_MR_MetricToAStarPenalty * | _this | ) |
gives read access to the map from vertex to path to it Generated from method MR::EdgePathsBuilderT<MR::MetricToAStarPenalty>::vertPathInfoMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_addOrgRingSteps | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this, |
| const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | rv ) |
adds steps for all origin ring edges of the reached vertex; returns true if at least one step was added Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::addOrgRingSteps. Parameter _this can not be null. It is a single object. Parameter rv can not be null. It is a single object.
| MRC_API bool MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_addStart | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this, |
| MR_VertId | startVert, | ||
| float | startMetric ) |
compares proposed metric with best value known for startVert; if proposed metric is smaller then adds it in the queue and returns true Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::addStart. Parameter _this can not be null. It is a single object.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_Construct_1 | ( | const MR_MeshTopology * | topology | ) |
Generated from constructor MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::EdgePathsBuilderT. Parameter topology can not be null. It is a single object. The reference to the parameter topology might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_Construct_2 | ( | const MR_MeshTopology * | topology, |
| const MR_std_function_float_from_MR_EdgeId * | metric ) |
Generated from constructor MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::EdgePathsBuilderT. Parameter topology can not be null. It is a single object. The reference to the parameter topology might be preserved in the constructed object. Parameter metric can not be null. It is a single object. The reference to the parameter metric might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _other ) |
Generated from constructor MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::EdgePathsBuilderT. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_Destroy() to free it when you're done using it.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_Destroy | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
Destroys a heap-allocated instance of MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty. Does nothing if the pointer is null.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_DestroyArray | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
Destroys a heap-allocated array of MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty. Does nothing if the pointer is null.
| MRC_API bool MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_done | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
returns true if further edge forest growth is impossible Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::done. Parameter _this can not be null. It is a single object.
| MRC_API float MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_doneDistance | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
returns path length till the next candidate vertex or maximum float value if all vertices have been reached Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::doneDistance. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_vector_MR_EdgeId * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_getPathBack | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this, |
| MR_VertId | backpathStart ) |
returns the path in the forest from given vertex to one of start vertices Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::getPathBack. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.
| MRC_API const MR_VertPathInfo * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_getVertInfo | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this, |
| MR_VertId | v ) |
returns one element from the map (or nullptr if the element is missing) Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::getVertInfo. Parameter _this can not be null. It is a single object.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_growOneEdge | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
the same as reachNext() + addOrgRingSteps() Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::growOneEdge. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_OffsetMutablePtr | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_OffsetPtr | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_AssignFromAnother | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this, |
| const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _other ) |
Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_ConstructFrom | ( | MR_VertId | v, |
| MR_EdgeId | backward, | ||
| float | penalty, | ||
| float | metric ) |
Constructs MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert elementwise. The reference to the parameter v might be preserved in the constructed object. The reference to the parameter backward might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_ConstructFromAnother | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _other | ) |
Generated from constructor MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert::ReachedVert. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_DestroyArray(). Use MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_OffsetMutablePtr() and MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_OffsetPtr() to access the array elements.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Destroy | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
Destroys a heap-allocated instance of MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert. Does nothing if the pointer is null.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_DestroyArray | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
Destroys a heap-allocated array of MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert. Does nothing if the pointer is null.
| MRC_API const MR_EdgeId * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Get_backward | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
edge from this vertex to its predecessor in the forest (if this vertex is not start) Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named backward. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Get_metric | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
summed metric to reach this vertex Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Get_penalty | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named penalty. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertId * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Get_v | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
Returns a pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named v. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_EdgeId * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_GetMutable_backward | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
edge from this vertex to its predecessor in the forest (if this vertex is not start) Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named backward. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_GetMutable_metric | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
summed metric to reach this vertex Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_GetMutable_penalty | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named penalty. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_VertId * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_GetMutable_v | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this | ) |
Returns a mutable pointer to a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named v. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_OffsetMutablePtr | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_OffsetPtr | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Set_backward | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this, |
| MR_EdgeId | value ) |
edge from this vertex to its predecessor in the forest (if this vertex is not start) Modifies a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named backward. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element backward. When this function is called, this object will drop object references it had previously in backward.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Set_metric | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this, |
| float | value ) |
summed metric to reach this vertex Modifies a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named metric. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in metric.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Set_penalty | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this, |
| float | value ) |
not reached vertices are ordered in priority queue by their penalty (with the smallest value on top); penalty is equal to metric in ordinary Dijkstra, or equal to (metric + target distance lower bound) in A* Modifies a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named penalty. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in penalty.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Set_v | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * | _this, |
| MR_VertId | value ) |
Modifies a member variable of class MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::ReachedVert named v. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element v. When this function is called, this object will drop object references it had previously in v.
| MRC_API MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_reachNext | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
include one more vertex in the final forest, returning vertex-info for the newly reached vertex; returns invalid VertId in v-field if no more vertices left Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::reachNext. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_ReachedVert_Destroy() to free it when you're done using it.
| MRC_API void MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_reset | ( | MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this, |
| const MR_std_function_float_from_MR_EdgeId * | metric ) |
clears everything without freeing memory, and sets new metric Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::reset. Parameter _this can not be null. It is a single object. Parameter metric can not be null. It is a single object.
| MRC_API MR_VertId MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_trackPathBack | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this, |
| MR_VertId | v, | ||
| MR_std_vector_MR_EdgeId * | res ) |
tracks back path in the forest from the given vertex to one of start vertices, which is returned; optionally appends tracked path (res) Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::trackPathBack. Parameter _this can not be null. It is a single object. Parameter res defaults to a null pointer in C++.
| MRC_API const MR_phmap_flat_hash_map_MR_VertId_MR_VertPathInfo * MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty_vertPathInfoMap | ( | const MR_EdgePathsBuilderT_MR_TrivialMetricToPenalty * | _this | ) |
gives read access to the map from vertex to path to it Generated from method MR::EdgePathsBuilderT<MR::TrivialMetricToPenalty>::vertPathInfoMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_AssignFromAnother | ( | MR_MetricToAStarPenalty * | _this, |
| const MR_MetricToAStarPenalty * | _other ) |
Generated from method MR::MetricToAStarPenalty::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API float MR_MetricToAStarPenalty_call | ( | const MR_MetricToAStarPenalty * | _this, |
| float | metric, | ||
| MR_VertId | v ) |
Generated from method MR::MetricToAStarPenalty::operator(). Parameter _this can not be null. It is a single object.
| MRC_API MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_ConstructFrom | ( | const MR_VertCoords * | points, |
| MR_Vector3f | target ) |
Constructs MR::MetricToAStarPenalty elementwise. The reference to the parameter points might be preserved in the constructed object. The reference to the parameter target might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MetricToAStarPenalty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_ConstructFromAnother | ( | const MR_MetricToAStarPenalty * | _other | ) |
Generated from constructor MR::MetricToAStarPenalty::MetricToAStarPenalty. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MetricToAStarPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MetricToAStarPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_MetricToAStarPenalty_DestroyArray(). Use MR_MetricToAStarPenalty_OffsetMutablePtr() and MR_MetricToAStarPenalty_OffsetPtr() to access the array elements.
| MRC_API void MR_MetricToAStarPenalty_Destroy | ( | const MR_MetricToAStarPenalty * | _this | ) |
Destroys a heap-allocated instance of MR_MetricToAStarPenalty. Does nothing if the pointer is null.
| MRC_API void MR_MetricToAStarPenalty_DestroyArray | ( | const MR_MetricToAStarPenalty * | _this | ) |
Destroys a heap-allocated array of MR_MetricToAStarPenalty. Does nothing if the pointer is null.
| MRC_API const MR_VertCoords *const * MR_MetricToAStarPenalty_Get_points | ( | const MR_MetricToAStarPenalty * | _this | ) |
Returns a pointer to a member variable of class MR::MetricToAStarPenalty named points. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Vector3f * MR_MetricToAStarPenalty_Get_target | ( | const MR_MetricToAStarPenalty * | _this | ) |
Returns a pointer to a member variable of class MR::MetricToAStarPenalty named target. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_VertCoords ** MR_MetricToAStarPenalty_GetMutable_points | ( | MR_MetricToAStarPenalty * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MetricToAStarPenalty named points. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Vector3f * MR_MetricToAStarPenalty_GetMutable_target | ( | MR_MetricToAStarPenalty * | _this | ) |
Returns a mutable pointer to a member variable of class MR::MetricToAStarPenalty named target. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_OffsetMutablePtr | ( | MR_MetricToAStarPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_MetricToAStarPenalty * MR_MetricToAStarPenalty_OffsetPtr | ( | const MR_MetricToAStarPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_MetricToAStarPenalty_Set_points | ( | MR_MetricToAStarPenalty * | _this, |
| const MR_VertCoords * | value ) |
Modifies a member variable of class MR::MetricToAStarPenalty named points. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element points. When this function is called, this object will drop object references it had previously in points.
| MRC_API void MR_MetricToAStarPenalty_Set_target | ( | MR_MetricToAStarPenalty * | _this, |
| MR_Vector3f | value ) |
Modifies a member variable of class MR::MetricToAStarPenalty named target. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element target. When this function is called, this object will drop object references it had previously in target.
| MRC_API MR_TrivialMetricToPenalty * MR_TrivialMetricToPenalty_AssignFromAnother | ( | MR_TrivialMetricToPenalty * | _this, |
| const MR_TrivialMetricToPenalty * | _other ) |
Generated from method MR::TrivialMetricToPenalty::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API float MR_TrivialMetricToPenalty_call | ( | const MR_TrivialMetricToPenalty * | _this, |
| float | metric, | ||
| MR_VertId | _2 ) |
Generated from method MR::TrivialMetricToPenalty::operator(). Parameter _this can not be null. It is a single object.
| MRC_API MR_TrivialMetricToPenalty * MR_TrivialMetricToPenalty_ConstructFromAnother | ( | const MR_TrivialMetricToPenalty * | _other | ) |
Generated from constructor MR::TrivialMetricToPenalty::TrivialMetricToPenalty. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TrivialMetricToPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_TrivialMetricToPenalty * MR_TrivialMetricToPenalty_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TrivialMetricToPenalty_Destroy() to free it when you're done using it.
| MRC_API MR_TrivialMetricToPenalty * MR_TrivialMetricToPenalty_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_TrivialMetricToPenalty_DestroyArray(). Use MR_TrivialMetricToPenalty_OffsetMutablePtr() and MR_TrivialMetricToPenalty_OffsetPtr() to access the array elements.
| MRC_API void MR_TrivialMetricToPenalty_Destroy | ( | const MR_TrivialMetricToPenalty * | _this | ) |
Destroys a heap-allocated instance of MR_TrivialMetricToPenalty. Does nothing if the pointer is null.
| MRC_API void MR_TrivialMetricToPenalty_DestroyArray | ( | const MR_TrivialMetricToPenalty * | _this | ) |
Destroys a heap-allocated array of MR_TrivialMetricToPenalty. Does nothing if the pointer is null.
| MRC_API MR_TrivialMetricToPenalty * MR_TrivialMetricToPenalty_OffsetMutablePtr | ( | MR_TrivialMetricToPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_TrivialMetricToPenalty * MR_TrivialMetricToPenalty_OffsetPtr | ( | const MR_TrivialMetricToPenalty * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_VertPathInfo * MR_VertPathInfo_AssignFromAnother | ( | MR_VertPathInfo * | _this, |
| const MR_VertPathInfo * | _other ) |
Generated from method MR::VertPathInfo::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_VertPathInfo * MR_VertPathInfo_ConstructFrom | ( | MR_EdgeId | back, |
| float | metric ) |
Constructs MR::VertPathInfo elementwise. The reference to the parameter back might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VertPathInfo_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_VertPathInfo * MR_VertPathInfo_ConstructFromAnother | ( | const MR_VertPathInfo * | _other | ) |
Generated from constructor MR::VertPathInfo::VertPathInfo. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_VertPathInfo_Destroy() to free it when you're done using it.
| MRC_API MR_VertPathInfo * MR_VertPathInfo_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_VertPathInfo_Destroy() to free it when you're done using it.
| MRC_API MR_VertPathInfo * MR_VertPathInfo_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_VertPathInfo_DestroyArray(). Use MR_VertPathInfo_OffsetMutablePtr() and MR_VertPathInfo_OffsetPtr() to access the array elements.
| MRC_API void MR_VertPathInfo_Destroy | ( | const MR_VertPathInfo * | _this | ) |
Destroys a heap-allocated instance of MR_VertPathInfo. Does nothing if the pointer is null.
| MRC_API void MR_VertPathInfo_DestroyArray | ( | const MR_VertPathInfo * | _this | ) |
Destroys a heap-allocated array of MR_VertPathInfo. Does nothing if the pointer is null.
| MRC_API const MR_EdgeId * MR_VertPathInfo_Get_back | ( | const MR_VertPathInfo * | _this | ) |
Returns a pointer to a member variable of class MR::VertPathInfo named back. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_VertPathInfo_Get_metric | ( | const MR_VertPathInfo * | _this | ) |
Returns a pointer to a member variable of class MR::VertPathInfo named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_EdgeId * MR_VertPathInfo_GetMutable_back | ( | MR_VertPathInfo * | _this | ) |
Returns a mutable pointer to a member variable of class MR::VertPathInfo named back. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_VertPathInfo_GetMutable_metric | ( | MR_VertPathInfo * | _this | ) |
Returns a mutable pointer to a member variable of class MR::VertPathInfo named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_VertPathInfo_isStart | ( | const MR_VertPathInfo * | _this | ) |
Generated from method MR::VertPathInfo::isStart. Parameter _this can not be null. It is a single object.
| MRC_API MR_VertPathInfo * MR_VertPathInfo_OffsetMutablePtr | ( | MR_VertPathInfo * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_VertPathInfo * MR_VertPathInfo_OffsetPtr | ( | const MR_VertPathInfo * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_VertPathInfo_Set_back | ( | MR_VertPathInfo * | _this, |
| MR_EdgeId | value ) |
Modifies a member variable of class MR::VertPathInfo named back. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element back. When this function is called, this object will drop object references it had previously in back.
| MRC_API void MR_VertPathInfo_Set_metric | ( | MR_VertPathInfo * | _this, |
| float | value ) |
Modifies a member variable of class MR::VertPathInfo named metric. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in metric.