User Documentation
RAVL, Recognition And Vision Library
Ravl - Applications - VDF - ViewLinkC

ViewLinkC::ViewLinkC(const ViewElementC &,const ViewElementC &,const DFObjectC &)
ViewLinkC::Source(void) const
ViewLinkC::Destination(void) const
ViewElementC::Render(GUIViewBodyC &)
ViewElementC::MouseClick(GUIViewBodyC &,const MouseEventC &)
ViewElementC::At(void) const
ViewElementC::Frame(void) const
ViewElementC::Contains(const Index2dC &) const
ViewElementC::Intersects(const IndexRange2dC &) const
ViewElementC::Move(const Index2dC &)
ViewElementC::Selected(void) const
ViewElementC::Object(void) const
ViewElementC::AddPart(const ViewElementC &)
ViewElementC::DelPart(const ViewElementC &)
ViewElementC::AttachPoint(void) const
ViewElementC::AllParts(void) const
ViewElementC::Name(void) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

View of link between objects.
include "Ravl/DF/ViewElement.hh"
User Level:Normal
In Scope:RavlDFN

Parent Classes: Methods:
ViewLinkC(const ViewElementC & source,const ViewElementC & dest,const DFObjectC & obj)

const ViewElementC & Source() const
Source of link.

const ViewElementC & Destination() const
Destination of link.

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.

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

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.

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/RefCounter.hh"
const RCHandleC<ViewElementBodyC> & operator =(const RCHandleC<ViewElementBodyC> & oth)
Assign handle.

RCHandleC<ViewElementBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<ViewElementBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<ViewElementBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<ViewElementBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<ViewElementBodyC> & obj)

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