15 #include <vsg/maths/sphere.h>
16 #include <vsg/nodes/Node.h>
34 Bin(int32_t in_binNumber, SortOrder in_sortOrder);
38 void read(
Input& input)
override;
39 void write(
Output& output)
const override;
43 void add(
State* state,
double value,
const Node* node);
45 int32_t binNumber = 0;
46 SortOrder sortOrder = NO_SORT;
51 std::vector<dmat4> _matrices;
52 std::vector<const StateCommand*> _stateCommands;
56 uint32_t matrixIndex = 0;
57 uint32_t stateCommandIndex = 0;
58 uint32_t stateCommandCount = 0;
59 const Node* child =
nullptr;
62 std::vector<Element> _elements;
64 using KeyIndex = std::pair<float, uint32_t>;
65 mutable std::vector<KeyIndex> _binElements;
RecordTraversal traverses a scene graph doing view frustum culling and invoking state/commands to rec...
Definition: RecordTraversal.h:61
vsg::State is used by vsg::RecordTraversal to manage state stacks, projection and modelview matrices ...
Definition: State.h:228