All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
gazebo::gui::BuildingItem Class Reference

Base class of a items that have building level properties such as the level number and level height. More...

#include <BuildingItem.hh>

Inheritance diagram for gazebo::gui::BuildingItem:
Inheritance graph
[legend]

Public Member Functions

 BuildingItem ()
 Constructor. More...
 
 ~BuildingItem ()
 Destructor. More...
 
int GetLevel () const
 Get the level in which this building item is located. More...
 
double GetLevelBaseHeight () const
 Get the base height of this level relative to the ground plane. More...
 
void SetLevel (int _level)
 Set the level of this building item. More...
 
void SetLevelBaseHeight (double _height)
 Set the base height of this level relative to the ground plane. More...
 

Protected Attributes

int level
 Level that this building item is in. More...
 
double levelBaseHeight
 Base height of the level. More...
 

Detailed Description

Base class of a items that have building level properties such as the level number and level height.

Constructor & Destructor Documentation

gazebo::gui::BuildingItem::BuildingItem ( )

Constructor.

gazebo::gui::BuildingItem::~BuildingItem ( )

Destructor.

Member Function Documentation

int gazebo::gui::BuildingItem::GetLevel ( ) const

Get the level in which this building item is located.

double gazebo::gui::BuildingItem::GetLevelBaseHeight ( ) const

Get the base height of this level relative to the ground plane.

void gazebo::gui::BuildingItem::SetLevel ( int  _level)

Set the level of this building item.

Parameters
[in]_levellevel number
void gazebo::gui::BuildingItem::SetLevelBaseHeight ( double  _height)

Set the base height of this level relative to the ground plane.

Parameters
[in]_heightbase height

Member Data Documentation

int gazebo::gui::BuildingItem::level
protected

Level that this building item is in.

double gazebo::gui::BuildingItem::levelBaseHeight
protected

Base height of the level.


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