VR-Forces 4.10 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 | Protected Attributes
makVrf::DtVrfImageAttribute Class Reference
Inheritance diagram for makVrf::DtVrfImageAttribute:
Inheritance graph
[legend]

Public Member Functions

 DtVrfImageAttribute (makVrv::DtDe &)
 
virtual ~DtVrfImageAttribute ()
 
virtual void setSize (double x, double y)
 Set the size of the attribute. More...
 
virtual void setImageFilePath (const std::string &imageFilePath)
 Set the image to display. More...
 
virtual void getMinSize (double &xOut, double &yOut)
 Get the minimum size of the attribute. More...
 
virtual void setVisible (bool)
 Set the attribute visible or hidden. More...
 
virtual void scaleImage (double)
 If there is an image scale it. More...
 
- Public Member Functions inherited from makVrv::DtImageAttribute
 DtImageAttribute (DtDe &de)
 CTOR. More...
 
virtual ~DtImageAttribute ()
 DTOR. More...
 
virtual void setPosition (float x, float y, float z, float w)
 Set the position of the attribute in world space, using vrvGraphics float packing. More...
 
virtual void setOffset (double x, double y)
 Set the offset of the attribute. More...
 
virtual void setColor (float r, float g, float b, float a)
 Set the color of the attribute. More...
 
virtual void setShadowText (bool enabled)
 Set whether attribute text should have shadows. More...
 
virtual bool visible () const
 Get the visibility of the attribute. More...
 
virtual void setOverlay (unsigned int overlayId)
 Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager. More...
 
virtual void setGroup (unsigned int group)
 Set the group to draw the atribute on. More...
 
- Public Member Functions inherited from makVrv::DtAttribute
 DtAttribute ()
 CTOR. More...
 
virtual ~DtAttribute ()
 DTOR. More...
 
virtual void setForegroundGroup (unsigned int group)
 Set the group to draw the atribute's foreground on. More...
 
virtual void setBackgroundGroup (unsigned int group)
 Set the group to draw the atribute's background on. More...
 

Protected Member Functions

virtual void updateImageBox ()
 Updates the image box with the current settings. More...
 

Protected Attributes

double myScale
 
- Protected Attributes inherited from makVrv::DtImageAttribute
DtBaseQuadAttribute myQuadAttribute
 
DtBaseOutlineAttribute myOutlineAttribute
 
DtDemyDe
 
std::string myImageFilePath
 
osg::ref_ptr< osg::Texture > myQuadTexture
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtAttribute
boost::signalslib::signal
< void(DtAttribute *, double,
double)> 
signal_sizeChanged
 Emitted when the attribute's size changes. More...
 

Constructor & Destructor Documentation

makVrf::DtVrfImageAttribute::DtVrfImageAttribute ( makVrv::DtDe )
virtual makVrf::DtVrfImageAttribute::~DtVrfImageAttribute ( )
virtual

Member Function Documentation

virtual void makVrf::DtVrfImageAttribute::setSize ( double  x,
double  y 
)
virtual

Set the size of the attribute.

Reimplemented from makVrv::DtImageAttribute.

virtual void makVrf::DtVrfImageAttribute::setImageFilePath ( const std::string &  imageFilePath)
virtual

Set the image to display.

Reimplemented from makVrv::DtImageAttribute.

virtual void makVrf::DtVrfImageAttribute::getMinSize ( double xOut,
double yOut 
)
virtual

Get the minimum size of the attribute.

Reimplemented from makVrv::DtImageAttribute.

virtual void makVrf::DtVrfImageAttribute::setVisible ( bool  visible)
virtual

Set the attribute visible or hidden.

Reimplemented from makVrv::DtImageAttribute.

virtual void makVrf::DtVrfImageAttribute::scaleImage ( double  )
virtual

If there is an image scale it.

virtual void makVrf::DtVrfImageAttribute::updateImageBox ( )
protectedvirtual

Updates the image box with the current settings.

Reimplemented from makVrv::DtImageAttribute.

Member Data Documentation

double makVrf::DtVrfImageAttribute::myScale
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)