VR-Forces 4.8 Class Documentation
 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

DtImageLayerTreeWidgetItem. More...

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

Public Member Functions

virtual void setupGui ()
 Sets up the widgets. More...
 
virtual void setImageLayerOptions (const osgEarth::ImageLayer::Options &imageLayerOptions)
 Sets the image layer options displayed in this widget. More...
 
virtual void getImageLayerOptions (osgEarth::ImageLayer::Options &imageLayerOptions) const
 Gets the image layer options from the values in the widget. More...
 
- Public Member Functions inherited from makVrv::DtTerrainLayerTreeWidgetItem
virtual void setTerrainLayerOptions (const osgEarth::TileLayer::Options &options)
 Sets the terrain layer options displayed in this widget. More...
 
virtual void getTerrainLayerOptions (osgEarth::TileLayer::Options &options) const
 Gets the terrain layer options from the values in the widget. More...
 
- Public Member Functions inherited from makVrv::DtVisibleLayerTreeWidgetItem
virtual void setVisibleLayerOptions (const osgEarth::VisibleLayer::Options &options)
 Sets the visible layer options displayed in this widget. More...
 
virtual void getVisibleLayerOptions (osgEarth::VisibleLayer::Options &options) const
 Gets the image layer options from the values in the widget. More...
 
- Public Member Functions inherited from makVrv::DtLayerTreeWidgetItem
virtual void setName (const std::string &name)
 Sets the name of layer to be displayed in this widget. More...
 
virtual void setLayerOptions (const osgEarth::Layer::Options &options)
 Sets the layer options displayed inthis widget. More...
 
virtual void getLayerOptions (osgEarth::Layer::Options &options) const
 Gets the layer options from the values in the widget. More...
 
- Public Member Functions inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
 DtTerrainEditorPropertyTreeWidgetItem (QTreeWidget *tree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Default constructor. More...
 
virtual ~DtTerrainEditorPropertyTreeWidgetItem ()
 Destructor. More...
 
virtual void connectSignals ()
 Connects the signals. More...
 
virtual void setVisible (bool visible)
 Sets the visible attribute if applies. More...
 
virtual void setTextAndTooltip (const QString &text, const QString &tooltip)
 Sets the display name and tooltip of the item. More...
 
virtual void setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key, const QString &text, const QString &tooltip)
 Sets the attributs of the item. More...
 
virtual void setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key)
 Sets the attributs of the item. More...
 
QTreeWidgetItemfindTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true)
 Recursively find the QTreeWidgetItem with the given key. More...
 
DtTerrainEditorPropertyTreeWidgetItemfindTerrainEditorPropertyTreeWidgetItem (const DtOsgEarthPropertyItemKey &key)
 Recursively find the DtTerrainEditorPropertyTreeWidgetItem with the given key. More...
 
virtual void populateContextMenu (QMenu *menu)
 Populates the context menu of this DtTerrainEditorPropertyTreeWidgetItem. More...
 
virtual void populateContextMenu (QMenu *menu, const DtOsgEarthPropertyItemKey &key)
 Populates the context menu of a child DtTerrainEditorPropertyTreeWidgetItem with the given key. More...
 
virtual void triggleContextMenuAction (QAction *action, const DtOsgEarthPropertyItemKey &key)
 Method called when user toggles the action of an context menu for a child DtTerrainEditorPropertyTreeWidgetItem. More...
 
virtual int findDynamicItemCount (const std::string &type)
 Finds how many dynamic items are already allocated for an child with given type. More...
 
std::string getDynamicAttributeType (const std::string &text) const
 Gets the type of the dynamic child from the action text from the context menu. More...
 
void setItemVisible (QTreeWidgetItem *item, bool visible)
 Toggles the visibility of a child item. More...
 
AttributesMapattributesMap ()
 Gets the attributes children map. More...
 
DynamicAttributesMapdynamicAttributesMap ()
 Gets the dynamic attributes children map. More...
 
virtual void setTerrainContentItemKey (const DtTerrainEditorInterface::TerrainContentItemKey &key)
 Sets the associated terrain content item key. More...
 
virtual DtOsgEarthPropertyItemKey constructDtOsgEarthPropertyItemKey (const std::string &type) const
 Constructs a key with the given type and index sets to 0. More...
 
void setValue (const std::string &type, const std::string &value, bool set=true)
 Sets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void setScriptValue (const std::string &type, const std::string &value, bool set=true)
 Sets the value of a child item, the child item must have a DtScriptEditorWidget associated with it. More...
 
void setValue (const std::string &type, bool value, bool set=true)
 Sets the value of a child item, the child item must have a QCheckBox widget associated with it. More...
 
void setValue (const std::string &type, int value, bool set=true)
 Sets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void setValue (const std::string &type, unsigned int value, bool set=true)
 Sets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void setValue (const std::string &type, unsigned short value, bool set=true)
 Sets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void setValue (const std::string &type, double value, bool set=true)
 Sets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::URI &url, bool set=true)
 Sets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::NumericExpression &exp, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::StringExpression &exp, bool set=true)
 Sets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void setScriptValue (const std::string &type, const osgEarth::StringExpression &exp, bool set=true)
 Sets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::Color &color, bool set=true)
 Sets the value of a child item, the child item must have a DtColorPushButton widget associated with it. More...
 
void setValue (const std::string &type, float value, const osgEarth::Units &units, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::Distance &distance, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::Angle &angle, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osg::Vec2f &value, bool set=true)
 Sets the value of a child item, the child item must have a DtVec2Widget widget associated with it. More...
 
void setValue (const std::string &type, const osg::Vec3f &value, bool set=true)
 Sets the value of a child item, the child item must have a DtVec3Widget widget associated with it. More...
 
void setValue (const std::string &type, const osg::Vec4f &value, bool set=true)
 Sets the value of a child item, the child item must have a DtVec4Widget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< std::string > &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getScriptValue (const std::string &type, osgEarth::optional< std::string > &value) const
 Sets the value of a child item, the child item must have a DtScriptEditorWidget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< bool > &value) const
 Gets the value of a child item, the child item must have a QCheckBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< int > &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< unsigned int > &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< unsigned short > &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< double > &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< float > &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::URI > &url) const
 Gets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Config > &config) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::NumericExpression > &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::StringExpression > &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Color > &color) const
 Gets the value of a child item, the child item must have a DtColorPushButton widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Distance > &distance) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Angle > &angle) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< float > &value, osgEarth::optional< osgEarth::Units > &units) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec2f > &value) const
 Sets the value of a child item, the child item must have a DtVec2Widget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec3f > &value) const
 Sets the value of a child item, the child item must have a DtVec3Widget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec4f > &value) const
 Sets the value of a child item, the child item must have a DtVec4Widget widget associated with it. More...
 
void getValue (const std::string &type, std::string &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getValue (const std::string &type, bool &value) const
 Gets the value of a child item, the child item must have a QCheckBox widget associated with it. More...
 
void getValue (const std::string &type, int &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, unsigned int &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, unsigned short &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getValue (const std::string &type, double &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, float &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::URI &url) const
 Gets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Config &config) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::NumericExpression &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::StringExpression &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Color &color) const
 Gets the value of a child item, the child item must have a DtColorPushButton widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Distance &distance) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Angle &angle) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, float &value, osgEarth::Units &units) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osg::Vec2f &value) const
 Sets the value of a child item, the child item must have a DtVec2Widget widget associated with it. More...
 
void getValue (const std::string &type, osg::Vec3f &value) const
 Sets the value of a child item, the child item must have a DtVec3Widget widget associated with it. More...
 
void getValue (const std::string &type, osg::Vec4f &value) const
 Sets the value of a child item, the child item must have a DtVec4Widget widget associated with it. More...
 
const QWidget * findChildWidget (const std::string &type) const
 Finds the child Qwidget. More...
 
const QLineEditfindChildWidgetAsQLineEdit (const std::string &type) const
 Finds the child QLineEdit. More...
 
const QCheckBoxfindChildWidgetAsQCheckBox (const std::string &type) const
 Finds the child QCheckBox. More...
 
const QSpinBoxfindChildWidgetAsQSpinBox (const std::string &type) const
 Finds the child QSpinBox. More...
 
const QDoubleSpinBoxfindChildWidgetAsQDoubleSpinBox (const std::string &type) const
 Finds the child QDoubleSpinBox. More...
 
const QComboBoxfindChildWidgetAsQComboBox (const std::string &type) const
 Finds the child QComboBox. More...
 
const DtFileBrowseWidgetfindChildWidgetAsDtFileBrowseWidget (const std::string &type) const
 Finds the child DtFileBrowseWidget. More...
 
const DtScriptEditorWidgetfindChildWidgetAsDtScriptEditorWidget (const std::string &type) const
 Finds the child DtScriptEditorWidget. More...
 
const DtColorPushButtonfindChildWidgetAsDtColorPushButton (const std::string &type) const
 Finds the child DtColorPushButton. More...
 
const DtUnitsWidgetfindChildWidgetAsDtUnitsWidget (const std::string &type) const
 Finds the child DtUnitsWidget. More...
 
const DtVec2WidgetfindChildWidgetAsDtVec2Widget (const std::string &type) const
 Finds the child DtVec2Widget. More...
 
const DtVec3WidgetfindChildWidgetAsDtVec3Widget (const std::string &type) const
 Finds the child DtVec3Widget. More...
 
const DtVec4WidgetfindChildWidgetAsDtVec4Widget (const std::string &type) const
 Finds the child DtVec4Widget. More...
 
QWidget * findChildWidget (const std::string &type)
 Finds the child Qwidget. More...
 
QLineEditfindChildWidgetAsQLineEdit (const std::string &type)
 Finds the child QLineEdit. More...
 
QCheckBoxfindChildWidgetAsQCheckBox (const std::string &type)
 Finds the child QCheckBox. More...
 
QSpinBoxfindChildWidgetAsQSpinBox (const std::string &type)
 Finds the child QSpinBox. More...
 
QDoubleSpinBoxfindChildWidgetAsQDoubleSpinBox (const std::string &type)
 Finds the child QDoubleSpinBox. More...
 
QComboBoxfindChildWidgetAsQComboBox (const std::string &type)
 Finds the child QComboBox. More...
 
DtFileBrowseWidgetfindChildWidgetAsDtFileBrowseWidget (const std::string &type)
 Finds the child DtFileBrowseWidget. More...
 
DtScriptEditorWidgetfindChildWidgetAsDtScriptEditorWidget (const std::string &type)
 Finds the child DtScriptEditorWidget. More...
 
DtColorPushButtonfindChildWidgetAsDtColorPushButton (const std::string &type)
 Finds the child DtColorPushButton. More...
 
DtUnitsWidgetfindChildWidgetAsDtUnitsWidget (const std::string &type)
 Finds the child DtUnitsWidget. More...
 
DtVec2WidgetfindChildWidgetAsDtVec2Widget (const std::string &type)
 Finds the child DtVec2Widget. More...
 
DtVec3WidgetfindChildWidgetAsDtVec3Widget (const std::string &type)
 Finds the child DtVec3Widget. More...
 
DtVec4WidgetfindChildWidgetAsDtVec4Widget (const std::string &type)
 Finds the child DtVec4Widget. More...
 
QTreeWidgetItemcreateQLineEditTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const QString &defaultValue="", bool required=false)
 Creates a child QLineEdit tree widget item. More...
 
QTreeWidgetItemcreateQCheckBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool defaultValue=false, bool required=false)
 Creates a child QCheckBox tree widget item. More...
 
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)
 Creates a child QSpinBoxTree tree widget item. More...
 
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)
 Creates a child QDoubleSpinBox tree widget item. More...
 
QTreeWidgetItemcreateQComboBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool required=false)
 Creates a child QComboBox tree widget item. More...
 
QTreeWidgetItemcreateDtFileBrowseWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, std::string defaultValue="", bool required=false)
 Creates a child DtFileBrowseWidget tree widget item. More...
 
QTreeWidgetItemcreateDtScriptEditorWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, std::string defaultValue="", bool required=false)
 Creates a child DtScriptEditorWidget tree widget item. More...
 
QTreeWidgetItemcreateDtColorPushButtonTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(255, 255, 255, 255), bool required=false)
 Creates a child DtColorPushButton tree widget item. More...
 
QTreeWidgetItemcreateDtUnitsWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, double defaultValue, const std::string &defaultUnit, bool required=false)
 Creates a child DtUnitsWidget tree widget item. More...
 
QTreeWidgetItemcreateDtVec2WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec2f defaultValue=osg::Vec2f(0, 0), bool required=false)
 Creates a child DtVec2Widget tree widget item. More...
 
QTreeWidgetItemcreateDtVec3WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec3f defaultValue=osg::Vec3f(0, 0, 0), bool required=false)
 Creates a child DtVec3Widget tree widget item. More...
 
QTreeWidgetItemcreateDtVec4WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(0, 0, 0, 0), bool required=false)
 Creates a child DtVec4Widget tree widget item. More...
 
DtTerrainEditorPropertyTreeWidgetItemcreateTerrainEditorPropertyTreeWidgetItem (const std::string &type, bool required=false)
 Creates a child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
 
DtTerrainEditorPropertyTreeWidgetItemcreateDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type)
 Creates a dynamic child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
 
DtTerrainEditorPropertyTreeWidgetItemcreateDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type, int index)
 Creates a dynamic child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
 
int getDynamicTerrainEditorPropertyTreeWidgetItemCount (const std::string &type)
 Gets the maximum index of dynamic child item. More...
 
void hideChildWidgetItem (const std::string &type)
 Hides a child item. More...
 
bool isChildWidgetItemSet (const std::string &type) const
 Checks whether a child item is visible. More...
 
void clearDynamicAttributesMap ()
 Cleans the dynamic attributes map. More...
 
virtual void getCssSymbolEnum (std::string &css, const std::string &key) const
 Gets the CSS symbol text for a child item with QComboxBox. More...
 
virtual void getCssSymbolString (std::string &css, const std::string &key, const std::string &value) const
 Gets the CSS symbol text for a given key and value pair. More...
 
std::string convertBoolToString (bool value) const
 convenient function for converting a boolean to string("true" or "false"). More...
 

Protected Member Functions

 DtImageLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 
virtual void setTextureFilter (const std::string &key, const osgEarth::optional< osg::Texture::FilterMode > &mode)
 
virtual void getTextureFilter (const std::string &key, osgEarth::optional< osg::Texture::FilterMode > &mode) const
 
- Protected Member Functions inherited from makVrv::DtTerrainLayerTreeWidgetItem
 DtTerrainLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 
virtual void setTileSourceOptions (const osgEarth::optional< osgEarth::TileLayer::Options > &options)
 Sets the tile source options for the terrain layer. More...
 
virtual void getTileSourceOptions (osgEarth::TileLayer::Options &options) const
 Sets the tile source options displayed in this widget. More...
 
- Protected Member Functions inherited from makVrv::DtVisibleLayerTreeWidgetItem
 DtVisibleLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 
- Protected Member Functions inherited from makVrv::DtLayerTreeWidgetItem
 DtLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 
virtual void setCachePolicy (const osgEarth::optional< osgEarth::CachePolicy > &cachePolicy)
 Sets the cache policy for the layer. More...
 
virtual void getCachePolicy (osgEarth::optional< osgEarth::CachePolicy > &cachePolicy) const
 Sets the cache policy for the layer. More...
 

Friends

class DtImageLayerTreeWidgetItemCreator
 

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)
 Gets the type from the user data stored in QTreeWidgetItem. More...
 
static int getTerrainPropertyItemIndex (QTreeWidgetItem *item)
 Gets the index from the user data stored in QTreeWidgetItem. More...
 
static std::string getTerrainPropertyItemParentType (QTreeWidgetItem *item)
 Gets the parent type from the user data stored in QTreeWidgetItem. More...
 
static int getTerrainPropertyItemParentIndex (QTreeWidgetItem *item)
 Gets the parent index from the user data stored in QTreeWidgetItem. More...
 
static DtOsgEarthPropertyItemKey getDtOsgEarthPropertyItemKey (QTreeWidgetItem *item)
 Gets the key from the user data stored in QTreeWidgetItem. More...
 
- Protected Attributes inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
DtDemyDe
 
QTreeWidgetmyParentTree
 
AttributesMap myAttributesMap
 
DynamicAttributesMap myDynamicAttributesMap
 
DtOsgEarthPropertyItemKey myOsgEarthPropertyItemKey
 
DtTerrainEditorInterface::TerrainContentItemKey myTerrainContentItemKey
 
int myTerrainContentType
 
int myTerrainContentId
 

Detailed Description

DtImageLayerTreeWidgetItem.

Serializable configuration options for an image layer. OsgEarth::ImageLayer::Options

Constructor & Destructor Documentation

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

Protected Constructor.

Use DtImageLayerTreeWidgetItemCreator to create instances of this class

Parameters
parentTreeThe parent tree of this tree widget item.
deDtDe
keyThe key of this DtTerrainEditorPropertyTreeWidgetItem.

Member Function Documentation

virtual void makVrv::DtImageLayerTreeWidgetItem::setupGui ( )
virtual
virtual void makVrv::DtImageLayerTreeWidgetItem::setImageLayerOptions ( const osgEarth::ImageLayer::Options &  imageLayerOptions)
virtual

Sets the image layer options displayed in this widget.

virtual void makVrv::DtImageLayerTreeWidgetItem::getImageLayerOptions ( osgEarth::ImageLayer::Options &  imageLayerOptions) const
virtual

Gets the image layer options from the values in the widget.

virtual void makVrv::DtImageLayerTreeWidgetItem::setTextureFilter ( const std::string &  key,
const osgEarth::optional< osg::Texture::FilterMode > &  mode 
)
protectedvirtual
Parameters
keymin_filter or mag_filter, represent min filter or mag filter in opengl.
virtual void makVrv::DtImageLayerTreeWidgetItem::getTextureFilter ( const std::string &  key,
osgEarth::optional< osg::Texture::FilterMode > &  mode 
) const
protectedvirtual
Parameters
keymin_filter or mag_filter, represent min filter or mag filter in opengl.

Friends And Related Function Documentation

friend class DtImageLayerTreeWidgetItemCreator
friend

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)