3#include "Foundation/ComponentModel/Component.h"
18 glm::vec3 axis = glm::vec3(1, 0, 0);
20 float majorInterval = 10.f;
21 float minorInterval = 1.f;
23 float majorDistance = 15.f;
24 float minorDistance = 10.f;
28 float unitScale = 1.f;
29 std::string unitOfMeasurement =
"m";
31 float startMeasuredDepth = 0.f;
32 float endMeasuredDepth = 100.f;
34 bool endpointsInclusive =
true;
35 bool enableMinorText =
false;
37 bool useTrajectoryOrientedAxis =
false;
39 bool enableMaxSize =
false;
40 float maxSize = 100.0f;
42 float minorScaleThreshold = 0.3f;
44 glm::vec4 diffuseColor = glm::vec4(1, 1, 1, 1);
46 static void registerType();
51template<>
inline Cogs::StringView getName<Cogs::Core::DepthAxisComponent>() {
return "DepthAxisComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
std::shared_ptr< ComponentModel::Entity > EntityPtr
Smart pointer for Entity access.
Contains all Cogs related functionality.