Public Types | Public Attributes | List of all members
gazebo::gui::BuildingMakerPrivate Class Reference

#include <BuildingMakerPrivate.hh>

Public Types

enum  SaveState { NEVER_SAVED, ALL_SAVED, UNSAVED_CHANGES }
 Save states for the building editor. More...
 

Public Attributes

std::map< std::string,
BuildingModelManip * > 
allItems
 A map of building part names to model manip objects which manage the visuals representing the building part. More...
 
std::map< std::string,
std::vector< std::string > > 
attachmentMap
 A map of building part names to model manip objects which manage the visuals representing the building part. More...
 
std::string buildingDefaultName
 Default name of building model. More...
 
std::vector< event::ConnectionPtrconnections
 A list of gui editor events connected to the building maker. More...
 
int currentLevel
 The current level that is being edited. More...
 
enum SaveState currentSaveState
 Store the current save state of the model. More...
 
int doorCounter
 Counter for the number of doors in the model. More...
 
int floorCounter
 Counter for the number of floors in the model. More...
 
std::string folderName
 Folder name, which is the model name without spaces. More...
 
rendering::VisualPtr hoverVis
 Visual that is currently hovered over by the mouse. More...
 
transport::PublisherPtr makerPub
 Publisher for factory messages. More...
 
std::string modelName
 Name of the building model. More...
 
sdf::SDFPtr modelSDF
 The building model in SDF format. More...
 
sdf::SDFPtr modelTemplateSDF
 A template SDF of a simple box model. More...
 
transport::NodePtr node
 Node used to publish messages. More...
 
std::string previewName
 Name of the building model preview. More...
 
rendering::VisualPtr previewVisual
 The root visual of the building model preview. More...
 
std::unique_ptr< SaveDialogsaveDialog
 A dialog for setting building model name and save location. More...
 
QColor selectedColor
 The color currently selected. More...
 
QString selectedTexture
 The texture currently selected. More...
 
int stairsCounter
 Counter for the number of staircases in the model. More...
 
int wallCounter
 Counter for the number of walls in the model. More...
 
int windowCounter
 Counter for the number of windows in the model. More...
 

Member Enumeration Documentation

Save states for the building editor.

Enumerator
NEVER_SAVED 
ALL_SAVED 
UNSAVED_CHANGES 

Member Data Documentation

std::map<std::string, BuildingModelManip *> gazebo::gui::BuildingMakerPrivate::allItems

A map of building part names to model manip objects which manage the visuals representing the building part.

std::map<std::string, std::vector<std::string> > gazebo::gui::BuildingMakerPrivate::attachmentMap

A map of building part names to model manip objects which manage the visuals representing the building part.

std::string gazebo::gui::BuildingMakerPrivate::buildingDefaultName

Default name of building model.

std::vector<event::ConnectionPtr> gazebo::gui::BuildingMakerPrivate::connections

A list of gui editor events connected to the building maker.

int gazebo::gui::BuildingMakerPrivate::currentLevel

The current level that is being edited.

enum SaveState gazebo::gui::BuildingMakerPrivate::currentSaveState

Store the current save state of the model.

int gazebo::gui::BuildingMakerPrivate::doorCounter

Counter for the number of doors in the model.

int gazebo::gui::BuildingMakerPrivate::floorCounter

Counter for the number of floors in the model.

std::string gazebo::gui::BuildingMakerPrivate::folderName

Folder name, which is the model name without spaces.

rendering::VisualPtr gazebo::gui::BuildingMakerPrivate::hoverVis

Visual that is currently hovered over by the mouse.

transport::PublisherPtr gazebo::gui::BuildingMakerPrivate::makerPub

Publisher for factory messages.

std::string gazebo::gui::BuildingMakerPrivate::modelName

Name of the building model.

sdf::SDFPtr gazebo::gui::BuildingMakerPrivate::modelSDF

The building model in SDF format.

sdf::SDFPtr gazebo::gui::BuildingMakerPrivate::modelTemplateSDF

A template SDF of a simple box model.

transport::NodePtr gazebo::gui::BuildingMakerPrivate::node

Node used to publish messages.

std::string gazebo::gui::BuildingMakerPrivate::previewName

Name of the building model preview.

rendering::VisualPtr gazebo::gui::BuildingMakerPrivate::previewVisual

The root visual of the building model preview.

std::unique_ptr<SaveDialog> gazebo::gui::BuildingMakerPrivate::saveDialog

A dialog for setting building model name and save location.

QColor gazebo::gui::BuildingMakerPrivate::selectedColor

The color currently selected.

If none is selected, it will be QColor::Invalid.

QString gazebo::gui::BuildingMakerPrivate::selectedTexture

The texture currently selected.

If none is selected, it will be an empty string.

int gazebo::gui::BuildingMakerPrivate::stairsCounter

Counter for the number of staircases in the model.

int gazebo::gui::BuildingMakerPrivate::wallCounter

Counter for the number of walls in the model.

int gazebo::gui::BuildingMakerPrivate::windowCounter

Counter for the number of windows in the model.


The documentation for this class was generated from the following file: