3#include "Systems/ComponentSystem.h"
5#include "../Components/DepthAxisComponent.h"
7#include "Resources/Resources.h"
21 std::vector<float> majorTickDepths;
22 std::vector<float> minorTickDepths;
24 std::vector<glm::vec3> majorPositions;
25 std::vector<glm::vec3> majorDirections;
26 std::vector<glm::vec3> minorPositions;
27 std::vector<glm::vec3> minorDirections;
29 std::vector<std::string> majorTexts;
30 std::vector<std::string> minorTexts;
32 glm::vec3 currentAxis = glm::vec3(0, 0, 0);
45 void addText(
DepthAxisComponent & component, std::string * texts,
const size_t count,
const float * depths);
48 std::vector<glm::vec3> & vertexes,
49 std::vector<uint32_t> & indexes,
50 const std::vector<glm::vec3> & positions,
51 const std::vector<glm::vec3> & directions,
52 const glm::vec3 & axis,
53 const glm::vec3 & principalAxis,
55 const std::vector<float> & scales);
59 const std::vector<glm::vec3> & positions,
60 const std::vector<glm::vec3> & directions,
61 const std::vector<std::string> & texts,
62 const glm::vec3 & axis,
63 const glm::vec3 & principalAxis,
65 const std::vector<float> & scales,
66 bool removeDistantAnnotations =
false);
Context * context
Pointer to the Context instance the system lives in.
void update()
Updates the system state to that of the current frame.
Component system with parallel data per component stored in a pool similar to how the components them...
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Base allocator implementation.
Contains all Cogs related functionality.
ComponentIndex SizeType
Type used to track the size of pools.
Data component defining a 3D trajectory, for example a Well trajectory.