
Definition at line 20 of file DataRep.sip.
Public Member Functions | |
| virtual | ~DataRep () |
| The destructor. | |
| virtual DataRep * | clone ()=0 |
| The clone function returns an object of its own kind which is a copy of this object. | |
| const std::string & | name () const |
| Returns the name of the display. | |
| virtual void | update (const Observable *) |
| Responds to update message from the data source. | |
| virtual bool | hasErrorDisplay () const |
Returns true if the data representation is capable of error display on the data values. | |
| virtual bool | hasNTupleBindings () const |
Returns true if the DataRep's projector can bind to ntuple. | |
| virtual void | setAxisBinding (const std::string &, const std::string &) |
| Sets the axis binding. | |
| virtual void | setAxisBindings (const std::vector< std::string > &) |
| Sets the axis bindings. | |
| virtual void | matrixTranspose (bool) |
| Transposes the X and Y axis. | |
| RepBase * | getRepresentation () const |
| Returns the representation used to draw the data points. | |
| const Color & | getRepColor () const |
| Returns the color used for the representation. | |
| bool | isDirty () const |
Return true if the data representation has changed is some way and it needs to be re-drawn. | |
| virtual void | setRepresentation (RepBase *) |
| Sets the representation of the data points. | |
| void | setRepColor (const Color &) |
| Sets the color of the data representation. | |
| void | setRepSize (float) |
| Sets the size of the representation. | |
| void | setRepStyle (int) |
| Sets the style type of the point representation. | |
| virtual void | setDirty (bool=true) |
| Sets the dirty flag. | |
| virtual bool | needColorRep () const |
| Determines if extra space is needed for a color rep. | |
| virtual void | setSelected (bool=true) |
| Sets the data representation as selected. | |
| virtual bool | isSelected () const |
Returns true if data representation is in selected state. | |
| virtual bool | acceptFunction (int) |
Returns true if the DataRep accepts functions on number variables. | |
| virtual bool | hasZeroRows () |
| Returns true if this DataRep has zero rows in its NTuple. | |
| virtual void | addValues (const std::vector< double > &) |
| Add the data values to the DataRep. | |
| virtual const DataSource * | getProjectedValues () |
| Returns an ntuple representation of the projected data. | |
| virtual NTuple * | getNTupleAfterCuts () const |
| Returns the full NTuple but with the current set of cuts applied. | |
| virtual double | getMean (const std::string &) |
| Returns the mean. | |
| virtual double | getRMS (const std::string &) |
| Returns the RMS. | |
| virtual DataRep * | getParentDataRep () |
| Gets the parent DataRep. | |
| virtual void | setParentDataRep (DataRep *) |
| Sets the parent DataRep. | |
| virtual void | update () |
| Updates the data representation. | |
| virtual void | normalizeTo (const DataRep *) |
| Normalizes the receiving object to the target one. | |
| int | getNumberOfEntries () const |
| Returns the number of entries used for the DataRep object. | |
| virtual bool | isTargetable () const |
Returns true if the receiving object is target-able. | |
Protected Member Functions | |
| DataRep () | |
| The default constructor. | |
| DataRep (const DataRep &) | |
| The copy constructor. | |
|
|
The default constructor.
|
|
|
The copy constructor.
|
|
|
The destructor.
|
|
|
Returns
The default implementation returns |
|
|
Add the data values to the DataRep. This virtual method is provided as a convenience for those derived classes that respond to it. Nothing is done if this object has NTuple bindings. Otherwise the message is forward to its ProjectorBase object. |
|
|
The clone function returns an object of its own kind which is a copy of this object.
Implemented in LineDataRep. |
|
|
Returns the mean. Returns the mean data points along the axis axis. |
|
|
Returns the full NTuple but with the current set of cuts applied.
|
|
|
Returns the number of entries used for the DataRep object.
|
|
|
Gets the parent DataRep.
|
|
|
Returns an ntuple representation of the projected data.
|
|
|
Returns the color used for the representation.
|
|
|
Returns the representation used to draw the data points.
|
|
|
Returns the RMS. Returns the root mean square of the data points along the axis axis. |
|
|
Returns
The implementation in this base class returns |
|
|
Returns
The implementation in this base class is to return Reimplemented in LineDataRep. |
|
|
Returns true if this DataRep has zero rows in its NTuple. Returns false if the projector is not an NTupleProjector. |
|
|
Return
|
|
|
Returns
|
|
|
Returns
Most derived classes of DataRep are target-able and return |
|
|
Transposes the X and Y axis. If internal representation of the X-Y matrix is represented by a vector with shape, then transpose the X and Y axis. Otherwise do nothing.
|
|
|
Returns the name of the display. See m_name. |
|
|
Determines if extra space is needed for a color rep.
|
|
|
Normalizes the receiving object to the target one.
|
|
||||||||||||
|
Sets the axis binding. Sets binding of the axis with name axis to the NTuple column with label label. If the derived class does not have NTuple bindings, then does nothing. Derived classes may also do further processing upon reception of this method. |
|
|
Sets the axis bindings. Sets the binding of all axis to the NTuple column with the labels in the vector. If the derived class does not have NTuple bindings, then does nothing. Derived classes may also do further processing upon reception of this method. |
|
|
Sets the dirty flag. When set, the display may need to reinitialize itself before the next drawing. |
|
|
Sets the parent DataRep.
|
|
|
Sets the color of the data representation.
|
|
|
Sets the representation of the data points. The pointrep replaces the existing one, and the existing one is then destroyed. Maybe be overridden in derive class to do additional processing. |
|
|
Sets the size of the representation.
|
|
|
Sets the style type of the point representation.
|
|
|
Sets the data representation as selected. Selection means the representations is drawn in its normal color, If representation is not selected, then it draws in a lighter shade. |
|
|
Updates the data representation. Updates the data representation, however, derived classes are allowed to be lazy and not do the actual update until needed by drawProjectedValues. |
|
|
Responds to update message from the data source.
|
1.4.3