3#include <NDEVR/CoordinateOptions.h>
4#include <NDEVR/DesignSettings.h>
5#include <NDEVR/Model.h>
6#include <NDEVR/FileResource.h>
7#if NDEVR_NAVIGATION_MARKER_MODEL
14 class NDEVR_DESIGN_API NavigationMarkerModel :
public Model
19 NavigationMarkerModel();
24 NavigationMarkerModel(
const Model& model);
29 Vertex<3, fltp08> target()
const;
34 Vertex<3, fltp08> position()
const;
39 void clearTarget(
const void* lock =
nullptr);
46 void setTarget(Vertex<3, fltp08> target,
bool ignore_elevation =
true,
const void* lock =
nullptr);
53 void setPosition(Vertex<3, fltp08> location,
bool ignore_elevation =
true,
const void* lock =
nullptr);
66 void setPositionModelColor(RGBColor color,
const void* lock =
nullptr);
71 Model targetMarker()
const;
76 Model currentLocationMarker()
const;
81 void updateTargetDistance(
bool ignore_elevation)
const;
86 Vector<3, fltp08> normalSize()
const;
91 static constexpr StringView TypeName() {
return "navigation_marker"; }
93 static DynamicPointer<Model> s_navigator_model;
A core class that represents a node on model hierarchy.
The primary namespace for the NDEVR SDK.