31 using namespace hippodraw;
41 m_rep -> setColor ( blue );
42 m_rep -> setSize ( 2 );
65 while ( size-- != 0 ) {
66 flags.push_back ( 0 );
77 FunctionRepList_t::iterator first
91 FunctionRepList_t::iterator first
136 vector<int>::const_iterator first = flags.begin();
138 for (
unsigned int i = 0;
i <
size;
i++ ) {
141 unsigned int number = tmp.size ();
142 vector<int>::const_iterator end = first + number;
143 copy ( first, end, tmp.begin() );
virtual void setFixedFlags(const std::vector< int > &flags)
Set the parameters that are to be held fixed during a fit.
A LinePointRep class that draws a function by trying to make a smooth line after the transform to the...
FunctionBase * getFunction() const
Returns the actual function, a FunctionBase derived class.
virtual void setFixedFlags(const std::vector< int > &flags)
Sets the fixed flags of its contained function representations and itself.
virtual void addToComposite(FunctionRep *frep)
A transform that transforms coordinates from one coordinate system to another.
const std::vector< int > & getFixedFlags() const
Returns a set of flags indicating which function parameters are fixed during a fit.
CompositeFunctionRep class interface.
FunctionParameter class interface.
A derived class of DataRep which is a base class for displaying a function.
RepBase * m_rep
The representation used for drawing each data point in the view.
A Color class for creating the color object following the standard RGB color space.
std::vector< FunctionRep * > FunctionRepList_t
The type of container for the list of FunctionRep objects.
The base class for fitters.
The base class for data representations.
LineFunctionRep class interface.
bool isMember(const FunctionRep *)
Returns true if the FunctionRep is a member of the Composite.
intp size(numeric::array arr)
virtual void removeFromComposite(FunctionRep *frep)
Removes the function representation from composite if receiving object is a CompositeFunctionRep, otherwise does nothing.
void drawCuts(TransformBase *transform, ViewBase *view)
Draws the cuts.
hippodraw::ProjectorBase class interface.
virtual void drawProjectedValues(TransformBase *transform, ViewBase *view)
Draws the projected values.
void setInComposite(bool yes)
Informs receiving object that it is a member of a composite.
CompositeFunctionRep(FunctionBase *, DataRep *)
The constructor.
FunctionRepList_t m_func_reps
The list of FunctionRep objects making up the composite.
Fitter * getFitter() const
Returns the Fitter object currently in use.
The abstract base class for views.
A function that can be added to a DataRep and used in a fitter.
ProjectorBase * m_projector
A projector used to transform data to projected values that will be plotted.
unsigned int count() const
Returns the number of FunctionRep objects contained by the composite.
virtual void setDirty(bool yes=true)
Sets the dirty flag.
Expresses a range of values.
hippodraw::FunctionBase class interface
const FunctionRepList_t & getFunctionReps() const
Returns the list of contained FunctionRep objects.