Definition at line 18 of file RepBase.sip.
Public Member Functions | |
RepBase () | |
virtual | ~RepBase () |
The virtual destructor. | |
virtual RepBase * | clone ()=0 |
Returns a copy of the object. | |
const std::string & | name () const |
Returns the name of the representation. | |
virtual void | setColor (const Color &) |
Sets the color of the representation. | |
virtual void | setStyle (unsigned int) |
Sets the symbol of the representation. | |
virtual unsigned int | getStyle () const |
Returns the style of the point representation. | |
void | setText (const std::string &) |
Sets the text. | |
virtual const Color & | getColor () const |
Get the color of the representation. | |
virtual const Color & | color () const |
Returns the representation's color. | |
virtual void | setSelected (bool yes=true) |
Sets the representation to be selected if yes is true , otherwise set it to be deselected. | |
virtual bool | isSelected () const |
Returns true if representation is in selected state, otherwise returns false . | |
float | size () const |
Returns the size of the representation. | |
void | setSize (float) |
Sets the size of the representation. | |
virtual bool | xError () const |
Returns true if the point representation displays error on the X axis. | |
virtual bool | yError () const |
Returns true if the point representation displays error on the Y axis. | |
virtual void | setErrorOn (const std::string &, bool yes=true) |
Sets the error representation on specified axis, if any, to yes. |
|
|
|
The virtual destructor.
|
|
Returns a copy of the object. Derived classes should implement this function by calling their copy constructor. |
|
Returns the representation's color.
|
|
Get the color of the representation.
|
|
Returns the style of the point representation. Derived class should override this member function if they support styles. This base class implementation returns 0. |
|
Returns
|
|
Returns the name of the representation. This name might be used by a Factory. |
|
Sets the color of the representation.
|
|
Sets the error representation on specified axis, if any, to yes.
|
|
Sets the representation to be selected if yes is
|
|
Sets the size of the representation.
|
|
Sets the symbol of the representation. Derived classes may use this method to set the style of the representation, if they have various styles. This base class implementation does nothing. |
|
Sets the text.
|
|
Returns the size of the representation.
|
|
Returns true if the point representation displays error on the X axis.
The default implementation returns |
|
Returns true if the point representation displays error on the Y axis.
The default implementation returns |