Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
itascaxd::ILabel Class Referenceabstract

Interface to a single label. More...

#include <ilabel.h>

Public Member Functions

virtual const IThinggetIThing () const =0
 Returns a const pointer to the IThing interface for a label.
 
virtual IThinggetIThing ()=0
 Returns a pointer to the IThing interface for a label.
 
virtual TType getType () const =0
 Returns the general type for the ILabel class.
 
virtual DVect getPos () const =0
 Returns the label position, set setPos()
 
virtual DVect getEnd () const =0
 Returns the position where the end of the arrow points to.
 
virtual QString getText () const =0
 Returns the label text, see setText()
 
virtual bool isArrow () const =0
 Returns true is arrow is ON, see setArrow()
 
virtual bool isEndDefined () const =0
 Returns true is arrow end is defined, see setEnd() and setEndImplicitly()
 
virtual void setPos (const DVect &dv)=0
 Sets the label position, set getPos()
 
virtual void setEnd (const DVect &dv)=0
 Sets the end vertex AND sets boolean endDefined_ to true, see getEnd() and setEndImplicitly.
 
virtual void setEndImplicitly (const DVect &dv)=0
 Sets the end vertex BUT DO NOT MODIFY endDefined_, see setEnd()
 
virtual void setArrow (bool b)=0
 Sets the arrow property ON, see getArrow()
 
virtual void setText (const QString &str)=0
 Set the label text, see getText()
 
virtual const ILabelgetNext () const =0
 
virtual ILabelgetNext ()=0
 

Static Public Attributes

static const TType type_ = 0x4c815bdd
 The type identification number for this class, for use in convert_cast() and convert_getcast().
 

Detailed Description

Interface to a single label.

Member Function Documentation

◆ getNext() [1/2]

virtual const ILabel * itascaxd::ILabel::getNext ( ) const
pure virtual

Returns the next const ILabel() object in the global ILabel list, or 0 if it is the last one. Use ILabelList::getFirst() to obtain the first label in the list.

◆ getNext() [2/2]

virtual ILabel * itascaxd::ILabel::getNext ( )
pure virtual

Returns the next ILabel() object in the global ILabel list, or 0 if it is the last one. Use ILabelList::getFirst() to obtain the first label in the list.


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