CompositeFunctionRep.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _CompositeFunctionRep_H_
15 #define _CompositeFunctionRep_H_
16 
17 #include "FunctionRep.h"
18 
19 
20 class FunctionParameter;
21 
22 namespace hippodraw {
23 
29 {
30 
31  public:
32 
35  typedef std::vector < FunctionRep * > FunctionRepList_t;
36 
37  private:
38 
42 
43 
44  public:
45 
49 
50  virtual void addToComposite ( FunctionRep * frep );
51 
52  virtual void removeFromComposite ( FunctionRep * frep );
53 
56  bool isMember ( const FunctionRep * );
57 
60  unsigned int count () const;
61 
63  const FunctionRepList_t & getFunctionReps () const;
64 
68  virtual void setFixedFlags ( const std::vector < int > & flags );
69 
70  virtual void drawProjectedValues ( TransformBase * transform,
71  ViewBase * view );
72 
73 };
74 
75 } // namespace hippodraw
76 
77 #endif // _CompositeFunctionRep_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
A transform that transforms coordinates from one coordinate system to another.
Definition: TransformBase.h:35
A derived class of DataRep which is a base class for displaying a function.
Definition: FunctionRep.h:34
std::vector< FunctionRep * > FunctionRepList_t
The type of container for the list of FunctionRep objects.
hippodraw::FunctionRep class interface
The base class for data representations.
Definition: DataRep.h:68
A Derived class of FunctionRep which hold a composite function.
FunctionRepList_t m_func_reps
The list of FunctionRep objects making up the composite.
The abstract base class for views.
Definition: ViewBase.h:62
A function that can be added to a DataRep and used in a fitter.
Definition: FunctionBase.h:90

Generated for HippoDraw Class Library by doxygen