User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Applications - VDF - ViewElementBodyC
 

  PUBLIC
ViewElementBodyC::ViewElementBodyC(void)
ViewElementBodyC::ViewElementBodyC(const DFObjectC &,const Index2dC &)
ViewElementBodyC::Render(GUIViewBodyC &)
ViewElementBodyC::MouseClick(GUIViewBodyC &,const MouseEventC &)
ViewElementBodyC::At(void) const
ViewElementBodyC::Contains(const Index2dC &) const
ViewElementBodyC::Intersects(const IndexRange2dC &) const
ViewElementBodyC::Move(const Index2dC &)
ViewElementBodyC::Frame(void) const
ViewElementBodyC::Selected(void) const
ViewElementBodyC::Selected(bool)
ViewElementBodyC::Object(void) const
ViewElementBodyC::Component(bool)
ViewElementBodyC::Component(void)
ViewElementBodyC::Parts(void)
ViewElementBodyC::AddPart(const ViewElementC &)
ViewElementBodyC::DelPart(const ViewElementC &)
ViewElementBodyC::Disconnect(void)
ViewElementBodyC::AttachPoint(void) const
ViewElementBodyC::AllParts(void) const
ViewElementBodyC::Name(void) const
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   ViewElementBodyC   
 
Element in a view.
 
include "Ravl/DF/ViewElement.hh"
Created:2/8/2002 
User Level:Normal
Library:RavlVDF
In Scope:RavlDFN

Parent Classes: Derived Classes: Variables:
Methods:
ViewElementBodyC()
Default constructor.

ViewElementBodyC(const DFObjectC & nobj,const Index2dC & nat)
Constructor view for object.

bool Render(GUIViewBodyC & view)
Render object in view.

DFMouseActionT MouseClick(GUIViewBodyC & view,const MouseEventC & me)
Mouse click.

const Index2dC & At() const
Get location of object.

bool Contains(const Index2dC & pos) const
Test if this view element contains 'pos'.

bool Intersects(const IndexRange2dC & area) const
Test if rectangle overlaps this widget.

void Move(const Index2dC & at)
Move object to new position.

IndexRange2dC Frame() const
Bounding box for area we're rendering into.

bool Selected() const
Get selected status.

bool Selected(bool state)
Change selected status.

const DFObjectC & Object() const
Access object.

bool Component(bool ncomponent)
Set component flag

bool Component()
Get component flag

DListC<ViewElementC> & Parts()
Access list of parts.

bool AddPart(const ViewElementC & part)
Add part.

bool DelPart(const ViewElementC & part)
Remove part.

bool Disconnect()
Disconnect all refrences.

Index2dC AttachPoint() const
Get attachment point.

DListC<ViewElementC> AllParts() const
Make a list of all parts in the view element.
The returned list is generated recursively, and so may be modified without any side effects.

StringC Name() const
Get name of view element.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 2/8/2002, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002