Overview | All Modules | Tutorial | User's Guide | Programming Guide
Previous

COVISE Online Documentation

Next

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vrui::OSGVruiFrame Class Reference

This class provides a flat textured frame arround objects. More...

#include <OSGVruiFrame.h>

Inheritance diagram for vrui::OSGVruiFrame:
vrui::OSGVruiUIContainer vrui::OSGVruiUIElement vrui::vruiUIElementProvider

Public Member Functions

 OSGVruiFrame (coFrame *frame, const std::string &textureName="UI/Frame")
 Constructor. More...
 
virtual ~OSGVruiFrame ()
 Destructor. More...
 
void createGeometry ()
 greate the geometry node More...
 
- 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 createGeometry ()=0
 
virtual vruiTransformNodegetDCS ()=0
 
virtual void resizeGeometry ()=0
 
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 ()
 recalculate and set new geometry coordinates More...
 
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

◆ OSGVruiFrame()

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

Constructor.

Parameters
nameTexture name, default is "UI/Frame", a white frame with round edges

◆ ~OSGVruiFrame()

vrui::OSGVruiFrame::~OSGVruiFrame ( )
virtual

Destructor.

Member Function Documentation

◆ createGeometry()

void vrui::OSGVruiFrame::createGeometry ( )
virtual

greate the geometry node

Implements vrui::vruiUIElementProvider.

◆ realign()

void vrui::OSGVruiFrame::realign ( )
protected

◆ resizeGeometry()

void vrui::OSGVruiFrame::resizeGeometry ( )
protectedvirtual

recalculate and set new geometry coordinates

Implements vrui::vruiUIElementProvider.

Member Data Documentation

◆ frame

coFrame* vrui::OSGVruiFrame::frame
protected

The documentation for this class was generated from the following files:
PreviousNext

Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2009 HLRS, 2004-2009 RRZK, 2005-2009 Visenso
COVISE Version 6.5 Academic