18 constexpr static const
char* TypeName() noexcept {
return "AngleMeasurementObject"; }
19 const char*
typeName()
const override {
return TypeName(); }
75 bool isConical_ =
false;
78 bool shouldVisualizeRay_[2]{};
81 mutable std::optional<float> cachedValue_;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
#define MRMESH_CLASS
Definition MRMesh/MRMeshFwd.h:50
Definition MRAngleMeasurementObject.h:10
MRMESH_API Vector3f getWorldPoint() const
MRMESH_API std::shared_ptr< Object > clone() const override
MRMESH_API void swapBase_(Object &other) override
swaps this object with other
MRMESH_API bool getShouldVisualizeRay(bool second) const
MRMESH_API void serializeFields_(Json::Value &root) const override
MRMESH_API void setIsConical(bool value)
AngleMeasurementObject(const AngleMeasurementObject &other)=default
MRMESH_API void deserializeFields_(const Json::Value &root) override
MRMESH_API bool getIsConical() const
virtual MRMESH_API void setLocalRays(const MR::Vector3f &a, const MR::Vector3f &b)
MRMESH_API Vector3f getWorldRay(bool second) const
AngleMeasurementObject(AngleMeasurementObject &&) noexcept=default
MRMESH_API std::vector< std::string > getInfoLines() const override
return several info lines that can better describe the object in the UI
std::string getClassName() const override
return human readable name of subclass
Definition MRAngleMeasurementObject.h:24
MRMESH_API std::shared_ptr< Object > shallowClone() const override
AngleMeasurementObject()
Definition MRAngleMeasurementObject.h:13
MRMESH_API float computeAngle() const
const char * typeName() const override
Definition MRAngleMeasurementObject.h:19
MRMESH_API void setShouldVisualizeRay(bool second, bool enable)
MRMESH_API void propagateWorldXfChangedSignal_() override
MRMESH_API Vector3f getLocalPoint() const
virtual MRMESH_API void setLocalPoint(const MR::Vector3f &point)
MRMESH_API Vector3f getLocalRay(bool second) const
AngleMeasurementObject(ProtectedStruct, const AngleMeasurementObject &obj)
Definition MRAngleMeasurementObject.h:22
MRMESH_API void setupRenderObject_() const override
Definition MRMeasurementObject.h:11
named object in the data model
Definition MRObject.h:60
Definition MRCameraOrientationPlugin.h:8
Definition MRObject.h:246