VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
makVrv::DtBuildingLayerTreeWidgetItem Class Reference

DtBuildingLayerTreeWidgetItem.

Properties for an osgEarth building layer.

This tree widget item has no properties that can be changed at runtime.

Inheritance diagram for makVrv::DtBuildingLayerTreeWidgetItem:
Inheritance graph
[legend]

Public Member Functions

virtual void show ()
 
- Public Member Functions inherited from makVrv::DtVisibleLayerTreeWidgetItem
virtual void setupGui ()
 
virtual void hide ()
 
virtual void connectSignals ()
 
virtual void setProperties (const DtTerrainEditorProperties *props)
 
virtual bool properties (DtTerrainEditorProperties *props) const
 
- Public Member Functions inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
 DtTerrainEditorPropertyTreeWidgetItem (QTreeWidget *tree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 
virtual ~DtTerrainEditorPropertyTreeWidgetItem ()
 
virtual void setName (const std::string &name)
 
virtual void setVisible (bool visible)
 
virtual void setTextAndTooltip (const QString &text, const QString &tooltip)
 
virtual void setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key, const QString &text, const QString &tooltip)
 
virtual void setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key)
 
osgEarth::MapNode * findMapNode ()
 
const osgEarth::MapNode * findMapNode () const
 
DtTerrainEditorWidgetfindParentTerrainEditorWidget ()
 
const DtTerrainEditorWidgetfindParentTerrainEditorWidget () const
 
const QTreeWidgetItemfindTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true) const
 
QTreeWidgetItemfindTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true)
 
DtTerrainEditorPropertyTreeWidgetItemfindTerrainEditorPropertyTreeWidgetItem (const DtOsgEarthPropertyItemKey &key)
 
virtual void populateContextMenu (QMenu *menu)
 
virtual void populateContextMenu (QMenu *menu, const DtOsgEarthPropertyItemKey &key)
 
virtual void triggleContextMenuAction (QAction *action, const DtOsgEarthPropertyItemKey &key)
 
virtual int findDynamicItemCount (const std::string &type)
 
std::string getDynamicAttributeType (const std::string &text) const
 
void setItemVisible (QTreeWidgetItem *item, bool visible)
 
AttributesMapattributesMap ()
 
DynamicAttributesMapdynamicAttributesMap ()
 
virtual void setTerrainContentItemKey (const DtTerrainEditorInterface::TerrainContentItemKey &key)
 
virtual DtOsgEarthPropertyItemKey constructDtOsgEarthPropertyItemKey (const std::string &type) const
 
int getDynamicTerrainEditorPropertyTreeWidgetItemCount (const std::string &type)
 
void hideChildWidgetItem (const std::string &type)
 
void showChildWidgetItem (const std::string &type)
 
bool isChildWidgetItemSet (const std::string &type) const
 
void clearDynamicAttributesMap ()
 
virtual void getCssSymbolEnum (std::string &css, const std::string &key) const
 
virtual void getCssSymbolString (std::string &css, const std::string &key, const std::string &value) const
 
std::string convertBoolToString (bool value) const
 
void setValue (const std::string &type, const std::string &value, bool set=true)
 
void setComboBoxValue (const std::string &type, const std::string &value, bool set=true)
 
void setScriptValue (const std::string &type, const std::string &value, bool set=true)
 
void setValue (const std::string &type, bool value, bool set=true)
 
void setValue (const std::string &type, int value, bool set=true)
 
void setValue (const std::string &type, unsigned int value, bool set=true)
 
void setValue (const std::string &type, unsigned short value, bool set=true)
 
void setValue (const std::string &type, double value, bool set=true)
 
void setValue (const std::string &type, const osgEarth::URI &url, bool set=true)
 
void setValue (const std::string &type, const osgEarth::NumericExpression &exp, bool set=true)
 
void setValue (const std::string &type, const osgEarth::StringExpression &exp, bool set=true)
 
void setScriptValue (const std::string &type, const osgEarth::StringExpression &exp, bool set=true)
 
void setValue (const std::string &type, const osgEarth::Color &color, bool set=true)
 
void setValue (const std::string &type, float value, const osgEarth::Units &units, bool set=true)
 
void setValue (const std::string &type, const osgEarth::Distance &distance, bool set=true)
 
void setValue (const std::string &type, const osgEarth::Angle &angle, bool set=true)
 
void setValue (const std::string &type, const osg::Vec2f &value, bool set=true)
 
void setValue (const std::string &type, const osg::Vec3f &value, bool set=true)
 
void setValue (const std::string &type, const osg::Vec4f &value, bool set=true)
 
void getValue (const std::string &type, osgEarth::optional< std::string > &value) const
 
void getComboBoxValue (const std::string &type, osgEarth::optional< std::string > &value) const
 
void getScriptValue (const std::string &type, osgEarth::optional< std::string > &value) const
 
void getValue (const std::string &type, osgEarth::optional< bool > &value) const
 
void getValue (const std::string &type, osgEarth::optional< int > &value) const
 
void getValue (const std::string &type, osgEarth::optional< unsigned int > &value) const
 
void getValue (const std::string &type, osgEarth::optional< unsigned short > &value) const
 
void getValue (const std::string &type, osgEarth::optional< double > &value) const
 
void getValue (const std::string &type, osgEarth::optional< float > &value) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::URI > &url) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Config > &config) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::NumericExpression > &exp) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::StringExpression > &exp) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Color > &color) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Distance > &distance) const
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Angle > &angle) const
 
void getValue (const std::string &type, osgEarth::optional< float > &value, osgEarth::optional< osgEarth::Units > &units) const
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec2f > &value) const
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec3f > &value) const
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec4f > &value) const
 
void getValue (const std::string &type, std::string &value) const
 
void getComboBoxValue (const std::string &type, std::string &value) const
 
void getScriptValue (const std::string &type, std::string &value) const
 
void getValue (const std::string &type, bool &value) const
 
void getValue (const std::string &type, int &value) const
 
void getValue (const std::string &type, unsigned int &value) const
 
void getValue (const std::string &type, unsigned short &value) const
 
void getValue (const std::string &type, double &value) const
 
void getValue (const std::string &type, float &value) const
 
void getValue (const std::string &type, osgEarth::URI &url) const
 
void getValue (const std::string &type, osgEarth::Config &config) const
 
void getValue (const std::string &type, osgEarth::NumericExpression &exp) const
 
void getValue (const std::string &type, osgEarth::StringExpression &exp) const
 
void getValue (const std::string &type, osgEarth::Color &color) const
 
void getValue (const std::string &type, osgEarth::Distance &distance) const
 
void getValue (const std::string &type, osgEarth::Angle &angle) const
 
void getValue (const std::string &type, float &value, osgEarth::Units &units) const
 
void getValue (const std::string &type, osg::Vec2f &value) const
 
void getValue (const std::string &type, osg::Vec3f &value) const
 
void getValue (const std::string &type, osg::Vec4f &value) const
 
const QWidget * findChildWidget (const std::string &type) const
 
const QLineEditfindChildWidgetAsQLineEdit (const std::string &type) const
 
const QCheckBoxfindChildWidgetAsQCheckBox (const std::string &type) const
 
const QSpinBoxfindChildWidgetAsQSpinBox (const std::string &type) const
 
const QDoubleSpinBoxfindChildWidgetAsQDoubleSpinBox (const std::string &type) const
 
const QComboBoxfindChildWidgetAsQComboBox (const std::string &type) const
 
const DtFileBrowseWidgetfindChildWidgetAsDtFileBrowseWidget (const std::string &type) const
 
const DtScriptEditorWidgetfindChildWidgetAsDtScriptEditorWidget (const std::string &type) const
 
const DtColorPushButtonfindChildWidgetAsDtColorPushButton (const std::string &type) const
 
const DtUnitsWidgetfindChildWidgetAsDtUnitsWidget (const std::string &type) const
 
const DtVec2WidgetfindChildWidgetAsDtVec2Widget (const std::string &type) const
 
const DtVec3WidgetfindChildWidgetAsDtVec3Widget (const std::string &type) const
 
const DtVec4WidgetfindChildWidgetAsDtVec4Widget (const std::string &type) const
 
QWidget * findChildWidget (const std::string &type)
 
QLineEditfindChildWidgetAsQLineEdit (const std::string &type)
 
QCheckBoxfindChildWidgetAsQCheckBox (const std::string &type)
 
QSpinBoxfindChildWidgetAsQSpinBox (const std::string &type)
 
QDoubleSpinBoxfindChildWidgetAsQDoubleSpinBox (const std::string &type)
 
QComboBoxfindChildWidgetAsQComboBox (const std::string &type)
 
DtFileBrowseWidgetfindChildWidgetAsDtFileBrowseWidget (const std::string &type)
 
DtScriptEditorWidgetfindChildWidgetAsDtScriptEditorWidget (const std::string &type)
 
DtColorPushButtonfindChildWidgetAsDtColorPushButton (const std::string &type)
 
DtUnitsWidgetfindChildWidgetAsDtUnitsWidget (const std::string &type)
 
DtVec2WidgetfindChildWidgetAsDtVec2Widget (const std::string &type)
 
DtVec3WidgetfindChildWidgetAsDtVec3Widget (const std::string &type)
 
DtVec4WidgetfindChildWidgetAsDtVec4Widget (const std::string &type)
 
QTreeWidgetItemcreateQLineEditTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const QString &defaultValue="", bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItemcreateQCheckBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool defaultValue=false, bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItemcreateQSpinBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, int defaultValue=0, int singleStep=1, int min=0, int max=INT_MAX, bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItemcreateQDoubleSpinBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, double defaultValue=0.0, double singleStep=0.1, double min=0.0, double max=FLT_MAX, bool required=false, bool nested=true)
 
QTreeWidgetItemcreateQComboBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItemcreateDtFileBrowseWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const std::string &defaultValue="", bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItemcreateDtScriptEditorWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const std::string &defaultValue="", bool isHTML=false, bool required=false, bool nested=true)
 
virtual
DtMinimapEditorTreeWidgetItem
createDtMinimapEditorWidgetTreeWidgetItem (DtDe &de, QWidget *parentWidget)
 
void configureDtMinimapEditorWidgetTreeWidgetItem (DtMinimapEditorTreeWidgetItem *widget, const std::string &type, const QString &text, const QString &tooltip, bool required=false, bool nested=true)
 
QTreeWidgetItemcreateDtColorPushButtonTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(255, 255, 255, 255), bool required=false)
 
QTreeWidgetItemcreateDtUnitsWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, double defaultValue, const std::string &defaultUnit, bool required=false)
 
QTreeWidgetItemcreateDtVec2WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec2f defaultValue=osg::Vec2f(0, 0), bool required=false)
 
QTreeWidgetItemcreateDtVec3WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec3f defaultValue=osg::Vec3f(0, 0, 0), bool required=false, bool nested=true)
 
QTreeWidgetItemcreateDtVec4WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(0, 0, 0, 0), bool required=false)
 
DtTerrainEditorPropertyTreeWidgetItemcreateTerrainEditorPropertyTreeWidgetItem (const std::string &type, bool required=false, bool nested=true)
 
DtTerrainEditorPropertyTreeWidgetItemcreateDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type)
 
DtTerrainEditorPropertyTreeWidgetItemcreateDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type, int index)
 

Protected Member Functions

 DtBuildingLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 
- Protected Member Functions inherited from makVrv::DtVisibleLayerTreeWidgetItem
 DtVisibleLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 
- Protected Member Functions inherited from makVrv::DtLayerTreeWidgetItem
 DtLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 

Friends

class DtBuildingLayerTreeWidgetItemCreator
 

Additional Inherited Members

- Public Types inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
enum  TerrainEditorPropertyDataRole {
  ItemDataType = Qt::UserRole, ItemDataIndex, ItemDataParentType, ItemDataParentIndex,
  ItemContentType, ItemContentId
}
 
typedef
osgEarth::FeatureSource::Options 
FeatureSourceOptions
 
typedef std::pair
< QTreeWidgetItem *, bool
AttributeSetPair
 
typedef std::map
< DtOsgEarthPropertyItemKey,
AttributeSetPair
AttributesMap
 
typedef std::map
< DtOsgEarthPropertyItemKey,
QTreeWidgetItem * > 
DynamicAttributesMap
 
- Static Public Member Functions inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
static std::string getTerrainPropertyItemType (QTreeWidgetItem *item)
 
static int getTerrainPropertyItemIndex (QTreeWidgetItem *item)
 
static std::string getTerrainPropertyItemParentType (QTreeWidgetItem *item)
 
static int getTerrainPropertyItemParentIndex (QTreeWidgetItem *item)
 
static DtOsgEarthPropertyItemKey getDtOsgEarthPropertyItemKey (QTreeWidgetItem *item)
 
- Protected Slots inherited from makVrv::DtVisibleLayerTreeWidgetItem
virtual void on_visibleCheckBox_stateChanged (int value)
 
virtual void on_opacitySpinBox_valueChanged (double value)
 
virtual void on_minRangeSpinBox_valueChanged (double value)
 
virtual void on_maxRangeSpinBox_valueChanged (double value)
 
- Protected Attributes inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
DtDemyDe
 
QTreeWidgetmyParentTree
 
AttributesMap myAttributesMap
 
DynamicAttributesMap myDynamicAttributesMap
 
DtOsgEarthPropertyItemKey myOsgEarthPropertyItemKey
 
DtTerrainEditorInterface::TerrainContentItemKey myTerrainContentItemKey
 
int myTerrainContentType
 
int myTerrainContentId
 

Constructor & Destructor Documentation

makVrv::DtBuildingLayerTreeWidgetItem::DtBuildingLayerTreeWidgetItem ( QTreeWidget parentTree,
DtDe de,
const DtOsgEarthPropertyItemKey key 
)
protected

Protected Constructor. Use DtBuildingLayerTreeWidgetItemCreator to create instances of this class.

Parameters
deThe DtDe.
parentTreeWidgetThe parent widget of this item, usually a tree widget.

Member Function Documentation

virtual void makVrv::DtBuildingLayerTreeWidgetItem::show ( )
virtual

Show this tree widget item.

Reimplemented from makVrv::DtVisibleLayerTreeWidgetItem.

Friends And Related Function Documentation


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)