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
 
DtTerrainEditorWidget * findParentTerrainEditorWidget ()
 
const DtTerrainEditorWidget * findParentTerrainEditorWidget () const
 
const QTreeWidgetItem * findTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true) const
 
QTreeWidgetItem * findTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true)
 
DtTerrainEditorPropertyTreeWidgetItem * findTerrainEditorPropertyTreeWidgetItem (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)
 
AttributesMap & attributesMap ()
 
DynamicAttributesMap & dynamicAttributesMap ()
 
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::UnitsType &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::UnitsType > &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::UnitsType &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 QLineEdit * findChildWidgetAsQLineEdit (const std::string &type) const
 
const QCheckBox * findChildWidgetAsQCheckBox (const std::string &type) const
 
const QSpinBox * findChildWidgetAsQSpinBox (const std::string &type) const
 
const QDoubleSpinBox * findChildWidgetAsQDoubleSpinBox (const std::string &type) const
 
const QComboBox * findChildWidgetAsQComboBox (const std::string &type) const
 
const DtFileBrowseWidget * findChildWidgetAsDtFileBrowseWidget (const std::string &type) const
 
const DtScriptEditorWidget * findChildWidgetAsDtScriptEditorWidget (const std::string &type) const
 
const DtColorPushButton * findChildWidgetAsDtColorPushButton (const std::string &type) const
 
const DtUnitsWidget * findChildWidgetAsDtUnitsWidget (const std::string &type) const
 
const DtVec2Widget * findChildWidgetAsDtVec2Widget (const std::string &type) const
 
const DtVec3Widget * findChildWidgetAsDtVec3Widget (const std::string &type) const
 
const DtVec4Widget * findChildWidgetAsDtVec4Widget (const std::string &type) const
 
QWidget * findChildWidget (const std::string &type)
 
QLineEdit * findChildWidgetAsQLineEdit (const std::string &type)
 
QCheckBox * findChildWidgetAsQCheckBox (const std::string &type)
 
QSpinBox * findChildWidgetAsQSpinBox (const std::string &type)
 
QDoubleSpinBox * findChildWidgetAsQDoubleSpinBox (const std::string &type)
 
QComboBox * findChildWidgetAsQComboBox (const std::string &type)
 
DtFileBrowseWidget * findChildWidgetAsDtFileBrowseWidget (const std::string &type)
 
DtScriptEditorWidget * findChildWidgetAsDtScriptEditorWidget (const std::string &type)
 
DtColorPushButton * findChildWidgetAsDtColorPushButton (const std::string &type)
 
DtUnitsWidget * findChildWidgetAsDtUnitsWidget (const std::string &type)
 
DtVec2Widget * findChildWidgetAsDtVec2Widget (const std::string &type)
 
DtVec3Widget * findChildWidgetAsDtVec3Widget (const std::string &type)
 
DtVec4Widget * findChildWidgetAsDtVec4Widget (const std::string &type)
 
QTreeWidgetItem * createQLineEditTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const QString &defaultValue="", bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItem * createQCheckBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool defaultValue=false, bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItem * createQSpinBoxTreeWidgetItem (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)
 
QTreeWidgetItem * createQDoubleSpinBoxTreeWidgetItem (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)
 
QTreeWidgetItem * createQComboBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItem * createDtFileBrowseWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const std::string &defaultValue="", bool required=false, bool nested=true, bool enabled=true)
 
QTreeWidgetItem * createDtScriptEditorWidgetTreeWidgetItem (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)
 
QTreeWidgetItem * createDtColorPushButtonTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(255, 255, 255, 255), bool required=false)
 
QTreeWidgetItem * createDtUnitsWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, double defaultValue, const std::string &defaultUnit, bool required=false)
 
QTreeWidgetItem * createDtVec2WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec2f defaultValue=osg::Vec2f(0, 0), bool required=false)
 
QTreeWidgetItem * createDtVec3WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec3f defaultValue=osg::Vec3f(0, 0, 0), bool required=false, bool nested=true)
 
QTreeWidgetItem * createDtVec4WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(0, 0, 0, 0), bool required=false)
 
DtTerrainEditorPropertyTreeWidgetItem * createTerrainEditorPropertyTreeWidgetItem (const std::string &type, bool required=false, bool nested=true)
 
DtTerrainEditorPropertyTreeWidgetItem * createDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type)
 
DtTerrainEditorPropertyTreeWidgetItem * createDynamicTerrainEditorPropertyTreeWidgetItem (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
DtDe & myDe
 
QTreeWidget * myParentTree
 
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
parentTreeThe parent tree widget of this item.
deThe DtDe.
keyThe property item key identifying this layer.

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 Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)