OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vrui::OSGVruiFrame Class Reference

#include <OSGVruiFrame.h>

Inheritance diagram for vrui::OSGVruiFrame:
Inheritance graph
[legend]
Collaboration diagram for vrui::OSGVruiFrame:
Collaboration graph
[legend]

Public Member Functions

 OSGVruiFrame (coFrame *frame, const std::string &textureName="UI/Frame")
 
virtual ~OSGVruiFrame ()
 
void createGeometry ()
 
- Public Member Functions inherited from vrui::OSGVruiUIContainer
 OSGVruiUIContainer (coUIContainer *container)
 
virtual ~OSGVruiUIContainer ()
 
- Public Member Functions inherited from vrui::OSGVruiUIElement
 OSGVruiUIElement (coUIElement *element)
 
virtual ~OSGVruiUIElement ()
 
vruiTransformNodegetDCS ()
 
- Public Member Functions inherited from vrui::vruiUIElementProvider
 vruiUIElementProvider (coUIElement *element)
 
virtual ~vruiUIElementProvider ()
 
virtual void setEnabled (bool)
 
virtual void setHighlighted (bool)
 
virtual void update ()
 
virtual float getWidth () const
 
virtual float getHeight () const
 
virtual float getDepth () const
 

Protected Member Functions

virtual void resizeGeometry ()
 
void realign ()
 

Protected Attributes

coFrameframe
 
- Protected Attributes inherited from vrui::OSGVruiUIContainer
coUIContainercontainer
 
- Protected Attributes inherited from vrui::OSGVruiUIElement
OSGVruiTransformNodemyDCS
 main DCS of this UI Element More...
 
- Protected Attributes inherited from vrui::vruiUIElementProvider
coUIElementelement
 

Detailed Description

This class provides a flat textured frame arround objects. A frame should contain only one child, use another container to layout multiple children inside the frame. A frame can be configured to fit tight around its child or to maximize its size to always fit into its parent container

Constructor & Destructor Documentation

vrui::OSGVruiFrame::OSGVruiFrame ( coFrame frame,
const std::string &  textureName = "UI/Frame" 
)
virtual vrui::OSGVruiFrame::~OSGVruiFrame ( )
virtual

Member Function Documentation

void vrui::OSGVruiFrame::createGeometry ( )
virtual
void vrui::OSGVruiFrame::realign ( )
protected
virtual void vrui::OSGVruiFrame::resizeGeometry ( )
protectedvirtual

Member Data Documentation

coFrame* vrui::OSGVruiFrame::frame
protected

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