30 #include <QApplication> 40 int main(
int argc,
char** argv)
42 QApplication
app(argc, argv);
43 ros::init(argc, argv,
"render_panel_test");
55 displays_panel->show();
void initialize()
Do initialization that wasn't done in constructor. Initializes tool manager, view manager...
void initialize(Ogre::SceneManager *scene_manager, DisplayContext *manager)
void initialize(VisualizationManager *manager)
Display * createDisplay(const QString &class_lookup_name, const QString &name, bool enabled)
Create and add a display to this panel, by class lookup name.
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
Ogre::SceneManager * getSceneManager() const override
Returns the Ogre::SceneManager used for the main RenderPanel.
The VisualizationManager class is the central manager class of rviz, holding all the Displays...
void startUpdate()
Start timers. Creates and starts the update and idle timers, both set to 30Hz (33ms).
int main(int argc, char **argv)