MeshLib C Docs
Loading...
Searching...
No Matches
MRAngleMeasurementObject.h File Reference
#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.

Typedefs

typedef struct MR_MeasurementObject MR_MeasurementObject
 
typedef struct MR_Object MR_Object
 
typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
 
typedef struct MR_VisualObject MR_VisualObject
 
typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_std_vector_std_string MR_std_vector_std_string
 
typedef struct MR_AngleMeasurementObject MR_AngleMeasurementObject
 

Functions

MRC_API MR_AngleMeasurementObjectMR_AngleMeasurementObject_DefaultConstruct (void)
 
MRC_API MR_AngleMeasurementObjectMR_AngleMeasurementObject_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_AngleMeasurementObjectMR_AngleMeasurementObject_OffsetPtr (const MR_AngleMeasurementObject *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.
 
MRC_API MR_AngleMeasurementObjectMR_AngleMeasurementObject_OffsetMutablePtr (MR_AngleMeasurementObject *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.
 
MRC_API const MR_MeasurementObjectMR_AngleMeasurementObject_UpcastTo_MR_MeasurementObject (const MR_AngleMeasurementObject *object)
 
MRC_API MR_MeasurementObjectMR_AngleMeasurementObject_MutableUpcastTo_MR_MeasurementObject (MR_AngleMeasurementObject *object)
 Upcasts an instance of MR::AngleMeasurementObject to its base class MR::MeasurementObject.
 
MRC_API const MR_ObjectMR_AngleMeasurementObject_UpcastTo_MR_Object (const MR_AngleMeasurementObject *object)
 
MRC_API MR_ObjectMR_AngleMeasurementObject_MutableUpcastTo_MR_Object (MR_AngleMeasurementObject *object)
 Upcasts an instance of MR::AngleMeasurementObject to its base class MR::Object.
 
MRC_API const MR_ObjectChildrenHolderMR_AngleMeasurementObject_UpcastTo_MR_ObjectChildrenHolder (const MR_AngleMeasurementObject *object)
 
MRC_API MR_ObjectChildrenHolderMR_AngleMeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder (MR_AngleMeasurementObject *object)
 Upcasts an instance of MR::AngleMeasurementObject to its base class MR::ObjectChildrenHolder.
 
MRC_API const MR_VisualObjectMR_AngleMeasurementObject_UpcastTo_MR_VisualObject (const MR_AngleMeasurementObject *object)
 
MRC_API MR_VisualObjectMR_AngleMeasurementObject_MutableUpcastTo_MR_VisualObject (MR_AngleMeasurementObject *object)
 Upcasts an instance of MR::AngleMeasurementObject to its base class MR::VisualObject.
 
MRC_API MR_AngleMeasurementObjectMR_AngleMeasurementObject_ConstructFromAnother (MR_PassBy _other_pass_by, MR_AngleMeasurementObject *_other)
 
MRC_API void MR_AngleMeasurementObject_Destroy (const MR_AngleMeasurementObject *_this)
 Destroys a heap-allocated instance of MR_AngleMeasurementObject. Does nothing if the pointer is null.
 
MRC_API void MR_AngleMeasurementObject_DestroyArray (const MR_AngleMeasurementObject *_this)
 Destroys a heap-allocated array of MR_AngleMeasurementObject. Does nothing if the pointer is null.
 
MRC_API MR_AngleMeasurementObjectMR_AngleMeasurementObject_AssignFromAnother (MR_AngleMeasurementObject *_this, MR_PassBy _other_pass_by, MR_AngleMeasurementObject *_other)
 
MRC_API const char * MR_AngleMeasurementObject_TypeName (void)
 Generated from a method of class MR::AngleMeasurementObject named TypeName.
 
MRC_API const char * MR_AngleMeasurementObject_typeName (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_std_stringMR_AngleMeasurementObject_getClassName (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_std_stringMR_AngleMeasurementObject_getClassNameInPlural (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_AngleMeasurementObject_clone (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_std_shared_ptr_MR_ObjectMR_AngleMeasurementObject_shallowClone (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_Vector3f MR_AngleMeasurementObject_getWorldPoint (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_Vector3f MR_AngleMeasurementObject_getLocalPoint (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_Vector3f MR_AngleMeasurementObject_getWorldRay (const MR_AngleMeasurementObject *_this, bool second)
 
MRC_API MR_Vector3f MR_AngleMeasurementObject_getLocalRay (const MR_AngleMeasurementObject *_this, bool second)
 
MRC_API void MR_AngleMeasurementObject_setLocalPoint (MR_AngleMeasurementObject *_this, const MR_Vector3f *point)
 
MRC_API void MR_AngleMeasurementObject_setLocalRays (MR_AngleMeasurementObject *_this, const MR_Vector3f *a, const MR_Vector3f *b)
 
MRC_API bool MR_AngleMeasurementObject_getIsConical (const MR_AngleMeasurementObject *_this)
 
MRC_API void MR_AngleMeasurementObject_setIsConical (MR_AngleMeasurementObject *_this, bool value)
 
MRC_API bool MR_AngleMeasurementObject_getShouldVisualizeRay (const MR_AngleMeasurementObject *_this, bool second)
 
MRC_API void MR_AngleMeasurementObject_setShouldVisualizeRay (MR_AngleMeasurementObject *_this, bool second, bool enable)
 
MRC_API float MR_AngleMeasurementObject_computeAngle (const MR_AngleMeasurementObject *_this)
 
MRC_API MR_std_vector_std_stringMR_AngleMeasurementObject_getInfoLines (const MR_AngleMeasurementObject *_this)
 

Typedef Documentation

◆ MR_AngleMeasurementObject

Generated from class MR::AngleMeasurementObject. Base classes: Direct: (non-virtual) MR::MeasurementObject Indirect: (non-virtual) MR::Object MR::ObjectChildrenHolder MR::VisualObject

◆ MR_MeasurementObject

◆ MR_Object

typedef struct MR_Object MR_Object

◆ MR_ObjectChildrenHolder

◆ MR_std_shared_ptr_MR_Object

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_vector_std_string

◆ MR_VisualObject

Function Documentation

◆ MR_AngleMeasurementObject_AssignFromAnother()

MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_AssignFromAnother ( MR_AngleMeasurementObject * _this,
MR_PassBy _other_pass_by,
MR_AngleMeasurementObject * _other )

Generated from a method of class MR::AngleMeasurementObject named operator=. 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.

◆ MR_AngleMeasurementObject_clone()

MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_clone ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named clone. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_computeAngle()

MRC_API float MR_AngleMeasurementObject_computeAngle ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named computeAngle. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_ConstructFromAnother()

MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_AngleMeasurementObject * _other )

Generated from a constructor of class MR::AngleMeasurementObject. Never returns null. Returns an instance allocated on the heap! Must call MR_AngleMeasurementObject_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_DefaultConstruct()

MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_AngleMeasurementObject_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_DefaultConstructArray()

MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_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_AngleMeasurementObject_DestroyArray(). Use MR_AngleMeasurementObject_OffsetMutablePtr() and MR_AngleMeasurementObject_OffsetPtr() to access the array elements.

◆ MR_AngleMeasurementObject_Destroy()

MRC_API void MR_AngleMeasurementObject_Destroy ( const MR_AngleMeasurementObject * _this)

Destroys a heap-allocated instance of MR_AngleMeasurementObject. Does nothing if the pointer is null.

◆ MR_AngleMeasurementObject_DestroyArray()

MRC_API void MR_AngleMeasurementObject_DestroyArray ( const MR_AngleMeasurementObject * _this)

Destroys a heap-allocated array of MR_AngleMeasurementObject. Does nothing if the pointer is null.

◆ MR_AngleMeasurementObject_getClassName()

MRC_API MR_std_string * MR_AngleMeasurementObject_getClassName ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named getClassName. 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_string_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_getClassNameInPlural()

MRC_API MR_std_string * MR_AngleMeasurementObject_getClassNameInPlural ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named getClassNameInPlural. 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_string_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_getInfoLines()

MRC_API MR_std_vector_std_string * MR_AngleMeasurementObject_getInfoLines ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named getInfoLines. 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_std_string_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_getIsConical()

MRC_API bool MR_AngleMeasurementObject_getIsConical ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named getIsConical. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_getLocalPoint()

MRC_API MR_Vector3f MR_AngleMeasurementObject_getLocalPoint ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named getLocalPoint. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_getLocalRay()

MRC_API MR_Vector3f MR_AngleMeasurementObject_getLocalRay ( const MR_AngleMeasurementObject * _this,
bool second )

Generated from a method of class MR::AngleMeasurementObject named getLocalRay. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_getShouldVisualizeRay()

MRC_API bool MR_AngleMeasurementObject_getShouldVisualizeRay ( const MR_AngleMeasurementObject * _this,
bool second )

Generated from a method of class MR::AngleMeasurementObject named getShouldVisualizeRay. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_getWorldPoint()

MRC_API MR_Vector3f MR_AngleMeasurementObject_getWorldPoint ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named getWorldPoint. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_getWorldRay()

MRC_API MR_Vector3f MR_AngleMeasurementObject_getWorldRay ( const MR_AngleMeasurementObject * _this,
bool second )

Generated from a method of class MR::AngleMeasurementObject named getWorldRay. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_MutableUpcastTo_MR_MeasurementObject()

MRC_API MR_MeasurementObject * MR_AngleMeasurementObject_MutableUpcastTo_MR_MeasurementObject ( MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::MeasurementObject.

◆ MR_AngleMeasurementObject_MutableUpcastTo_MR_Object()

MRC_API MR_Object * MR_AngleMeasurementObject_MutableUpcastTo_MR_Object ( MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::Object.

◆ MR_AngleMeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder()

MRC_API MR_ObjectChildrenHolder * MR_AngleMeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder ( MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::ObjectChildrenHolder.

◆ MR_AngleMeasurementObject_MutableUpcastTo_MR_VisualObject()

MRC_API MR_VisualObject * MR_AngleMeasurementObject_MutableUpcastTo_MR_VisualObject ( MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::VisualObject.

◆ MR_AngleMeasurementObject_OffsetMutablePtr()

MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_OffsetMutablePtr ( MR_AngleMeasurementObject * 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.

◆ MR_AngleMeasurementObject_OffsetPtr()

MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_OffsetPtr ( const MR_AngleMeasurementObject * 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.

◆ MR_AngleMeasurementObject_setIsConical()

MRC_API void MR_AngleMeasurementObject_setIsConical ( MR_AngleMeasurementObject * _this,
bool value )

Generated from a method of class MR::AngleMeasurementObject named setIsConical. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_setLocalPoint()

MRC_API void MR_AngleMeasurementObject_setLocalPoint ( MR_AngleMeasurementObject * _this,
const MR_Vector3f * point )

Generated from a method of class MR::AngleMeasurementObject named setLocalPoint. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object.

◆ MR_AngleMeasurementObject_setLocalRays()

MRC_API void MR_AngleMeasurementObject_setLocalRays ( MR_AngleMeasurementObject * _this,
const MR_Vector3f * a,
const MR_Vector3f * b )

Generated from a method of class MR::AngleMeasurementObject named setLocalRays. Parameter _this can not be null. It is a single object. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object.

◆ MR_AngleMeasurementObject_setShouldVisualizeRay()

MRC_API void MR_AngleMeasurementObject_setShouldVisualizeRay ( MR_AngleMeasurementObject * _this,
bool second,
bool enable )

Generated from a method of class MR::AngleMeasurementObject named setShouldVisualizeRay. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_shallowClone()

MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_shallowClone ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named shallowClone. 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_shared_ptr_MR_Object_Destroy() to free it when you're done using it.

◆ MR_AngleMeasurementObject_TypeName()

MRC_API const char * MR_AngleMeasurementObject_TypeName ( void )

Generated from a method of class MR::AngleMeasurementObject named TypeName.

◆ MR_AngleMeasurementObject_typeName()

MRC_API const char * MR_AngleMeasurementObject_typeName ( const MR_AngleMeasurementObject * _this)

Generated from a method of class MR::AngleMeasurementObject named typeName. Parameter _this can not be null. It is a single object.

◆ MR_AngleMeasurementObject_UpcastTo_MR_MeasurementObject()

MRC_API const MR_MeasurementObject * MR_AngleMeasurementObject_UpcastTo_MR_MeasurementObject ( const MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::MeasurementObject. This version is acting on mutable pointers.

◆ MR_AngleMeasurementObject_UpcastTo_MR_Object()

MRC_API const MR_Object * MR_AngleMeasurementObject_UpcastTo_MR_Object ( const MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::Object. This version is acting on mutable pointers.

◆ MR_AngleMeasurementObject_UpcastTo_MR_ObjectChildrenHolder()

MRC_API const MR_ObjectChildrenHolder * MR_AngleMeasurementObject_UpcastTo_MR_ObjectChildrenHolder ( const MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.

◆ MR_AngleMeasurementObject_UpcastTo_MR_VisualObject()

MRC_API const MR_VisualObject * MR_AngleMeasurementObject_UpcastTo_MR_VisualObject ( const MR_AngleMeasurementObject * object)

Upcasts an instance of MR::AngleMeasurementObject to its base class MR::VisualObject. This version is acting on mutable pointers.