A WidgetLabel subclass that resolves MIL-STD virtual background-image keys.
When setBackgroundImage() receives a filename beginning with '', it routes the request through DtMilStdManagerInterface to generate and cache an OSG texture for the encoded entity type. All other filenames are forwarded to DtOsgWidgetLabel unchanged.
Used by DtMilStdIconVisualizer when myIsGeneratedMilStdImage is true.
|
| | DtMilStdWidget (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtMilStdWidget () |
| |
| | DtMilStdWidget ()=delete |
| |
| | DtMilStdWidget (const DtMilStdWidget &)=delete |
| |
| DtMilStdWidget & | operator= (const DtMilStdWidget &)=delete |
| |
| virtual void | setBackgroundImage (const std::string &filename) override |
| |
| | DtOsgWidgetLabel (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtOsgWidgetLabel () |
| |
| | DtOsgWidgetLabel ()=delete |
| |
| | DtOsgWidgetLabel (const DtOsgWidgetLabel &other)=delete |
| |
| DtOsgWidgetLabel & | operator= (const DtOsgWidgetLabel &other)=delete |
| |
| | DtOsgWidgetLabel (const DtOsgWidgetLabel &&other)=delete |
| |
| DtOsgWidgetLabel & | operator= (const DtOsgWidgetLabel &&other)=delete |
| |
| virtual void | setParentId (DtUniqueID id) override |
| |
| virtual void | setOverlay (unsigned int layer) override |
| |
| virtual unsigned int | overlay () const override |
| |
| virtual void | setOrderGroup (unsigned int group) override |
| |
| virtual unsigned int | orderGroup () const override |
| |
| virtual void | setPosition (float x, float y, float z, float w=0) override |
| |
| virtual void | setText (const DtUnicode &string) override |
| |
| virtual void | setFont (const std::string &font, float size) override |
| |
| virtual void | setFontScale (float scale) override |
| |
| virtual float | fontScale (double minimumAltitudeForUse=std::numeric_limits< double >::min()) const override |
| |
| virtual void | setAltitudeBasedConfigurations (const makArchives::DtAltitudeBasedScaleConfigurationRecordCollection &configs) override |
| |
| virtual void | clearAltitudeBasedConfigurations () override |
| |
| virtual void | setIsForcedAltitudeBasedFontScaleEnabled (bool isEnabled) override |
| |
| virtual void | setBaseAltitudeToUseForForcedFontScale (double minimumAltitudeForUse) override |
| |
| virtual void | setLodOutAltitude (double lodOutAltitude) override |
| |
| virtual void | setIsLodOutAltitudeEnabled (bool isLodOutAltitudeEnabled) override |
| |
| virtual bool | isLodOutAltitudeEnabled () const override |
| |
| virtual void | setBackgroundImage (const std::string &filename, float left, float right, float bottom, float top) |
| |
| virtual void | setSvgSource (const std::string &svgString) override |
| |
| virtual void | setRasterSize (int widthPixels, int heightPixels) override |
| |
| virtual void | setTextColor (float r, float g, float b, float a) override |
| |
| virtual void | setColor (float r, float g, float b, float a) override |
| |
| virtual void | setOriginOffset (int xOffset, int yOffset) override |
| |
| virtual void | setSize (float w, float h) override |
| |
| virtual void | getSize (float &width, float &height) override |
| |
| virtual void | setPadding (float paddingX, float paddingY) override |
| |
| virtual void | setModelDefinition (const std::string &str) override |
| |
| virtual void | setTextHorizontalAlignmentPolicy (DtWidgetLabel::TextHorizontalAlignmentPolicy ha) override |
| |
| virtual void | setOriginPlacementPolicy (DtWidgetLabel::OriginPlacementPolicy gcp) override |
| |
| virtual void | setEventsEnabled (bool enabled) override |
| |
| virtual void | setVisible (bool visible) override |
| |
| virtual void | setBoundsLength (int len) override |
| |
| virtual void | setRotation (float angle) override |
| |
| virtual double | getRotation () const override |
| |
| virtual void | setIsRotationInScreenSpace (bool isRotationInScreenSpace) override |
| |
| virtual bool | isRotationInScreenSpace () const override |
| |
| virtual void | setMaximumWorldHeight (double worldHeightInMeters) override |
| |
| virtual double | maximumWorldHeight () const override |
| |
| virtual void | setMaximumWorldWidth (double worldWidthInMeters) override |
| |
| virtual double | maximumWorldWidth () const override |
| |
| virtual void | setTextBoundsPolicy (TextBoundsPolicy) override |
| |
| | DtWidgetLabel (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtWidgetLabel () |
| |
| | DtWidgetLabel ()=delete |
| |
| | DtWidgetLabel (const DtWidgetLabel &other)=delete |
| |
| DtWidgetLabel & | operator= (const DtWidgetLabel &other)=delete |
| |
| | DtWidgetLabel (const DtWidgetLabel &&other)=delete |
| |
| DtWidgetLabel & | operator= (const DtWidgetLabel &&other)=delete |
| |
| virtual void | setTextBoundsPolicy (TextBoundsPolicy)=0 |
| |
| | DtWidget (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtWidget () |
| |
| | DtWidget (const DtWidget &other)=delete |
| |
| DtWidget & | operator= (const DtWidget &other)=delete |
| |
| | DtWidget (const DtWidget &&other)=delete |
| |
| DtWidget & | operator= (const DtWidget &&other)=delete |
| |
| virtual void | setFadingEnabled (bool enabled) |
| |
| virtual void | setAltitudeSpecificSizes (const DtWidget::DtDynamicSizeConfigurationCollection &configs) |
| |
| virtual void | clearAltitudeSpecificSizes () |
| |
| virtual void | setIsForcedSizeByAltitudeEnabled (bool enabled) |
| |
| virtual void | setAltitudeForForcedSize (double minimumAltitudeForUse) |
| |
| virtual DtUniqueID | id () const |
| |
| virtual DtUniqueID | parentId () const |
| |
| virtual void | registerUpdater (DtWidgetUpdater *updater) |
| |
| virtual void | unregisterUpdater (DtWidgetUpdater *updater) |
| |
| virtual DtWidgetUpdater * | updater () |
| |