VisualizationGrid.h
Go to the documentation of this file.
1#pragma once
2
3#include <RobotAPI/interface/ArViz/Elements.h>
4
5#include "ElementVisualizer.h"
6#include <Inventor/SbColor.h>
7#include <Inventor/nodes/SoMatrixTransform.h>
8#include <Inventor/nodes/SoSeparator.h>
9#include <Inventor/nodes/SoTexture2.h>
10
11class SoCoordinate3;
12class SoIndexedFaceSet;
13
14namespace armarx::viz::coin
15{
17 {
18 using ElementType = data::ElementGrid;
19
21
22 bool update(ElementType const& element);
23
24 SoMatrixTransform* origin;
25
26 SoTexture2* pSoTexture2;
27
29
30 // SoMaterial* materials;
31 // SoCoordinate3* coords;
32 // SoIndexedFaceSet* faceSet;
33
34 // std::vector<SbColor> matColor;
35 // std::vector<float> transp;
36 // std::vector<SbVec3f> vertexPositions;
37 // std::vector<int32_t> faces;
38 // std::vector<int32_t> matInx;
39
40 };
41} // namespace armarx::viz::coin
bool update(ElementType const &element)