Logo Search packages:      
Sourcecode: qantenna version File versions  Download package

Primitive Class Reference

#include <primitive.h>

Inheritance diagram for Primitive:

Line Patch

List of all members.


Detailed Description

Primitive class is used as a basic structure to implement a list (primitiveList) with lines and patches (polymorphism). Its functions are overloaded in line and patch classes.

Definition at line 30 of file primitive.h.


Public Member Functions

virtual double CalculateMaxModule ()=0
 This finction calculates the maximum module.
virtual int GetCardParameter ()=0
 Get card parameter.
virtual int GetCardParameter1 ()=0
 Get card parameter1.
virtual double GetColor ()=0
 This function isn't used yet, but are usefull for futures improvements.
virtual QVector< double > GetEnd1 ()=0
 Get end1.
virtual QVector< double > GetEnd2 ()=0
 Get end2.
virtual QString GetLabel ()=0
 Get label.
virtual int GetTagNumber ()=0
 Get tag number.
virtual double GetWidth ()=0
 This function isn't used yet, but are usefull for futures improvements.
virtual void Move (QVector< double > &pos)=0
virtual void Reflect (bool x, bool y, bool z)=0
 This function reflect the line along x (reflection in Y-Z plane), y or z.
virtual void Rotate (QVector< double > &ang)=0
virtual void SetCardParameter (int newCardParameter)=0
 Set parameter that are used to process card as GM, GX, and others.
virtual void SetCardParameter1 (int newCardParameter)=0
 Set parameter that are used to process card as GM, GX, and others.
virtual void SetColor (double newColor)=0
 This function isn't used yet, but are usefull for futures improvements.
virtual void SetLabel (QString newLabel)=0
 Set card label.
virtual void SetTagNumber (int newTagNumber)=0
 Set tag number.
virtual void SetWidth (double newWidth)=0
 This function isn't used yet, but are usefull for futures improvements.

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

Generated by  Doxygen 1.6.0   Back to index