VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Private Member Functions
DtCompassModelData Class Reference
Inheritance diagram for DtCompassModelData:
Inheritance graph
[legend]

Public Member Functions

 DtCompassModelData ()
virtual ~DtCompassModelData ()
virtual DtModelDataType type () const
 \ brief Returns the type of this model data
- Public Member Functions inherited from DtEnvironmentalModelData
 DtEnvironmentalModelData ()
 DtEnvironmentalModelData (const DtEnvironmentalModelData &orig)
virtual ~DtEnvironmentalModelData ()
DtEnvironmentalModelDataoperator= (const DtEnvironmentalModelData &rhs)
virtual bool hasColor () const
virtual void setColor (QColor color)
virtual QColor color (bool applyAlpha=false) const
virtual void setRawAppearance (int app)
 Bypasses bit masking for line width and appearance and just sets the appearance field.
virtual int rawAppearance () const
 Appearance. Zero by default.
virtual void setAppearance (int app)
 Because the high 4 bits are used for line width, the only supported bits for appearance are the lower 28 bits.
virtual int appearance () const
virtual void setLineWidth (int width)
 Note that the color shares the myAppearance variable, using the high 4 bits.
virtual int lineWidth () const
virtual void setFillStyle (int style)
 Note that this shares the myAppearance variable, using the 12-15 bits.
virtual int fillStyle () const
virtual void setLineStyle (int style)
 Note that this shares the myAppearance variable, using the 8-11 bits line style is defined as Qt::PenStyle plus 1 with 0 being undefined.
virtual int lineStyle () const
virtual void setUserData (DtArchivableObject *obj)
 Allow for setting and retrieving of user data, which can be anything.
virtual DtArchivableObjectuserData ()
virtual void setTransparencyLevel (int i)
 Allow for transparency level of object from 0 (opaque) to 100 (completely transparent).
virtual int transparencyLevel () const
virtual void setCoordinateSystemType (int)
virtual int coordinateSystemType () const
virtual bool isControlPoint () const
 Questions to ask about this object Accessors to return info about the category.
virtual bool isAnyRoute () const
virtual bool isRoute () const
virtual bool isArea () const
virtual bool isAnyArea () const
virtual bool isObstacle () const
virtual bool isPhaseLine () const
virtual bool isVrfRoute () const
virtual bool isPuff () const
- Public Member Functions inherited from DtModelData
 DtModelData ()
 DtModelData (const DtModelData &orig)
virtual ~DtModelData ()
DtModelDataoperator= (const DtModelData &rhs)
virtual const DtModelKeykey () const
 Key is a unique identifier for the symbol.
virtual void setKey (const DtModelKey &k)
virtual const DtModelKeymodelKey () const
 Model Key is the key that can translate this model data into a symbol through the symbol mapper,aka entity type.
virtual void setModelKey (const DtModelKey &k)
virtual void setAllPoints (const QVector< DtPoint > *pts)
virtual const QVector< DtPoint > * getAllPoints () const
virtual void setPoint (int iIndex, const DtPoint &pnt)
 Set a point at the particular index (if it is not out of range)
virtual void insertPoint (int iIndex, const DtPoint &pnt)
 Inserts a point at the particular index (if it is not out of range)
virtual void removePoint (int iIndex)
 Removes the point at the particular index.
virtual void setName (const QString &name)
 The name of this symbol, usually the marking text.
virtual const QString & getName () const
virtual void setLabel (const QString &name)
 The label of this symbol.
virtual const QString & getLabel () const
virtual void setForceId (int id)
 Set what force this symbol belongs to, if appropriate.
virtual int getForceId () const
virtual void updateFromModel ()
 Re-implement in derived classes that interact with your model.
virtual bool forceUpdate () const
 Return true if this model data should always be updated regardless of cache state change.
virtual void setForceUpdate (bool b)
virtual QString typeStr ()
 Returns the string type of this model data.
virtual DtEntityMapperKey entityMapperKey () const
 Returns an entity mapper key that identifies this type of object.
virtual void setIsPublished (bool b)
 Set to true if this item is published on the network.
virtual bool isPublished () const
virtual void setCanPublish (bool b)
 Set to true if this item is can be published on the network.
virtual bool canPublish () const
virtual void setDeleteFromLayer (bool b)
 Return true if this object can be deleted from an overlay layer.
virtual bool deleteFromLayer () const
virtual void setMustBeOnLayer (bool b)
 Set to true if this item must be on a layer. By default returns false.
virtual bool mustBeOnLayer () const
virtual bool isInExtent (const DtExtent &) const
 Returns true if the model data can be drawn within the give extent.
virtual const QStringList & parents () const
 The ability to add multiple parent's exists, however the system will only currently support the first parent in the list.
virtual void setParents (const QStringList &parent)
virtual void addParent (const QString &parent)
virtual void removeParent (const QString &parent)
virtual void changeParentName (const QString &oldName, const QString &newName)
virtual bool canEdit () const
 Return true/false if this item can be edited. By default is true.
virtual void setCanEdit (bool)
void setChangedFlags (int)
int changedFlags () const
virtual void setOriginPoint (double x=0, double y=0, double z=0)
 The first point in the point list is defined as the origin.
virtual void setOriginPoint (const DtPoint &pnt)
 The first point in the point list is defined as the origin.
virtual const DtPointgetOriginPoint () const
 The first point in the point list is defined as the origin.
- Public Member Functions inherited from DtArchivableObject
 DtArchivableObject (QString name, DtArchivableObjectCreator fcn)
 This constructor will add this object to the archivable object factory.
 DtArchivableObject (QString name)
 DtArchivableObject ()
virtual ~DtArchivableObject ()
virtual QString name () const
DtArchiverarchiver ()
 Returns the archiver of this object.
virtual void setLevel (int i)
virtual int level () const
virtual DtArchivableObjectclone ()
 Allows for cloning of this object.

Private Member Functions

 DtCompassModelData (const DtCompassModelData &orig)
DtCompassModelDataoperator= (const DtCompassModelData &rhs)

Additional Inherited Members

- Signals inherited from DtModelData
void modelDataDestroyed (const QString &)
 Emitted from the destructor.
- Static Public Member Functions inherited from DtEnvironmentalModelData
static DtArchivableObjectcreate ()
static QColor mapColorFrom8Bit (unsigned char iColor)
static unsigned char mapColorTo8Bit (QColor color)
- Protected Member Functions inherited from DtModelData
virtual bool isInExtent (const DtExtent &, const QVector< DtPoint > *) const
virtual bool isInExtent (const DtExtent &, const QVector< DtVector > *) const
virtual void read (QTextStream &s)
 Read/write points.
virtual void write (QTextStream &s)
- Protected Attributes inherited from DtEnvironmentalModelData
QColor myColor
int myAppearance
DtPtrQList< DtArchivableObject * > myUserData
 User a ptr list such that objects that are contained in this list can be recrated when read in (if they have a valid creator).
int myCoordinateSystemType
 Saved out as coordinate system type.

Constructor & Destructor Documentation

DtCompassModelData::DtCompassModelData ( )
virtual DtCompassModelData::~DtCompassModelData ( )
virtual
DtCompassModelData::DtCompassModelData ( const DtCompassModelData orig)
private

Member Function Documentation

virtual DtModelDataType DtCompassModelData::type ( ) const
virtual

\ brief Returns the type of this model data

Reimplemented from DtEnvironmentalModelData.

DtCompassModelData& DtCompassModelData::operator= ( const DtCompassModelData rhs)
private

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)