VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtUiBoundingVolumeElement Class Reference
Inheritance diagram for DtUiBoundingVolumeElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtUiBoundingVolumeElement (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 Constructor.
virtual ~DtUiBoundingVolumeElement ()
 Destructor.
 DtUiBoundingVolumeElement (const DtUiBoundingVolumeElement &orig)
 Copy constructor.
DtUiBoundingVolumeElementoperator= (const DtUiBoundingVolumeElement &orig)
 Assignment operator.
virtual QWidgetcreateLabelWidget (QWidget *parent)
 Create and return the label widget for this element.
virtual QWidgetcreateControls (QWidget *)
 Creates and returns the non-label part of the element.

Protected Member Functions

virtual DtUiElementclone ()
virtual void decorateElement ()
 Sets element decoration depending on the isModified state of the element.
virtual void setFromParameters (DtReaderWriter *parentRw)
virtual void elementChanged ()
virtual void setModified (QLabel *, bool)
virtual void updateOrigin ()
virtual void updateSupportPoints ()
 Updates support points based on bounding volume and origin.
virtual void updateSupportPoint (DtUiElement *, const DtVector &pt)
 Updates value in vector of support point.
virtual void sendUpdatedValues ()
 Sends event with updated bounding volume attributes.
virtual void processUiEvent (const DtUiElementEvent &e)
 Process ui event. Default does nothing.

Protected Attributes

DtLocationEntryWidgetmySize
DtVector myDiff
DtVector myCustomize
QLabelmyOriginLabel
QComboBoxmyOrigin
DtUiElementmyLeftSupport
 storage places for supports
DtUiElementmyRightSupport
DtUiElementmyOtherSupport

Constructor & Destructor Documentation

DtUiBoundingVolumeElement::DtUiBoundingVolumeElement ( const DtString name,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

DtUiBoundingVolumeElement& DtUiBoundingVolumeElement::operator= ( const DtUiBoundingVolumeElement orig)

Assignment operator.

virtual QWidget* DtUiBoundingVolumeElement::createLabelWidget ( QWidget parent) [inline, virtual]

Create and return the label widget for this element.

May return NULL if not special label element is needed.

Reimplemented from DtUiElement.

virtual QWidget* DtUiBoundingVolumeElement::createControls ( QWidget parent) [virtual]

Creates and returns the non-label part of the element.

Reimplemented from DtUiElement.

virtual DtUiElement* DtUiBoundingVolumeElement::clone ( ) [protected, virtual]

Implements DtUiElement.

virtual void DtUiBoundingVolumeElement::decorateElement ( ) [protected, virtual]

Sets element decoration depending on the isModified state of the element.

This version changes myLabel font.

Reimplemented from DtUiElement.

virtual void DtUiBoundingVolumeElement::setFromParameters ( DtReaderWriter parentRw) [protected, virtual]

Reimplemented from DtUiElement.

virtual void DtUiBoundingVolumeElement::elementChanged ( ) [protected, virtual]

Reimplemented from DtUiElement.

virtual void DtUiBoundingVolumeElement::setModified ( QLabel ,
bool   
) [protected, virtual]
virtual void DtUiBoundingVolumeElement::updateOrigin ( ) [protected, virtual]
virtual void DtUiBoundingVolumeElement::updateSupportPoints ( ) [protected, virtual]

Updates support points based on bounding volume and origin.

virtual void DtUiBoundingVolumeElement::updateSupportPoint ( DtUiElement ,
const DtVector pt 
) [protected, virtual]

Updates value in vector of support point.

virtual void DtUiBoundingVolumeElement::sendUpdatedValues ( ) [protected, virtual]

Sends event with updated bounding volume attributes.

virtual void DtUiBoundingVolumeElement::processUiEvent ( const DtUiElementEvent ) [protected, virtual]

Process ui event. Default does nothing.

Reimplemented from DtUiElement.


Member Data Documentation

storage places for supports


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)