VisualizationObject.h
Go to the documentation of this file.
1#pragma once
2
3#include <VirtualRobot/VirtualRobot.h>
4
5#include <RobotAPI/interface/ArViz/Elements.h>
6
7#include "ElementVisualizer.h"
8
9namespace armarx::viz::coin
10{
12 {
13 std::string project;
14 std::string filename;
15 VirtualRobot::ManipulationObjectPtr object;
16 };
17
19 {
20 using ElementType = data::ElementObject;
21
22 bool update(ElementType const& element);
23
24 void recreateVisualizationNodes(int drawStyle);
25
27 int loadedDrawStyle = data::ModelDrawStyle::ORIGINAL;
28 };
29
30 void clearObjectCache();
31} // namespace armarx::viz::coin
VirtualRobot::ManipulationObjectPtr object
bool update(ElementType const &element)