13 #ifndef _DisplayController_H_
14 #define _DisplayController_H_
19 #include <msdevstudio/MSconfig.h>
32 class NTupleProjector;
101 getUniqueWithNTupleBindings (
const PlotterBase * plotter );
109 const std::string &
type )
const;
131 const std::string &
type );
134 void setAxisModelWithoutSetBin (
PlotterBase * plotter,
136 const std::string &
type );
168 const std::string & getDataSourceName (
const PlotterBase * plotter,
172 const std::vector < std::string > & getDisplayTypes ()
const;
176 void setValueTransform (
PlotterBase * plotter,
const std::string & name );
180 void setValueTransform (
PlotterBase * plotter,
int index );
184 void addValueTransform (
const std::string & name,
185 const std::vector < double > & ctrl_points );
192 bool removeValueTransform (
const std::string & name );
199 const std::vector <double> & sv);
205 const std::vector <double> & getValueCtrlPts (
const PlotterBase * plotter);
210 const std::vector < double > & sv);
216 int getValueTransformIndex (
PlotterBase * plotter );
220 const std::vector < std::string > & getValueTransformTypes ()
const;
227 bool hasControlPoints (
const PlotterBase * plotter )
const;
231 bool isUserDefinedValueTransform (
const PlotterBase * plotter )
const;
234 const std::vector < std::string > & getTextTypes ()
const;
243 createDisplay (
const std::string & name );
260 createDisplay (
const std::string & name,
262 const std::vector< std::string > & bindings )
const;
274 const std::string & getType (
const PlotterBase * plotter,
281 int getNumberOfEntries (
const PlotterBase * plotter,
int index = 0 )
const;
286 int getUnderflow (
const PlotterBase * plotter,
int index = 0 )
const;
291 int getOverflow (
const PlotterBase * plotter,
int index = 0 )
const;
299 const std::string & axis,
int index = 0 )
const;
313 const std::string & axis,
int index = 0 )
const;
330 const std::string & point_rep );
334 unsigned int getRepStyle (
const PlotterBase * plotter )
const;
353 const std::string & name,
355 const std::vector< std::string > & bindings )
const;
366 const std::string & name,
368 const std::vector < std::string > & bindings )
const;
373 const std::string & axis,
392 void addTextViewToList ( std::vector < const ViewBase * > & destination,
393 const std::vector < const ViewBase * > & source );
396 void removeTextObservers (
const std::vector < const ViewBase * > & views );
401 createTextDataRep (
const std::string &
type,
402 const std::string & text = std::string() );
411 const std::string & name,
412 const std::string & text = std::string () );
422 const std::string & name,
423 const std::string & text = 0);
429 const std::string & name,
430 const std::string & text = std::string() );
436 int activeDataRepIndex (
const PlotterBase * plotter )
const;
449 void setActiveDataRepIndex (
PlotterBase * plotter,
454 bool hasNTupleBindings (
const PlotterBase * plotter,
int index );
474 const std::vector < std::string > &
475 getDataSourceLabels (
const PlotterBase * plotter,
int index );
483 const std::vector < std::string > &
484 bindingOptions (
const std::string & type );
488 const std::vector < std::string > &
489 bindingOptions (
const PlotterBase * plottter,
int index );
494 const std::vector< std::string > &
495 axisBindings (
const PlotterBase * plotter )
const;
500 const std::vector< std::string > &
501 axisBindings (
const PlotterBase * plotter,
int index )
const;
507 const std::string & axis,
508 const std::string & label );
512 const std::vector< std::string > & labels )
const;
526 bool getLog (
const PlotterBase * plotter,
const std::string & axis )
const;
538 const std::string & axis,
567 const std::string & x,
568 const std::string & y);
572 const std::string & name );
576 const std::string & x,
577 const std::string & y );
581 const std::string & x,
582 const std::string & y,
583 const std::string & z );
594 bool hasSymbolRep (
const PlotterBase * plotter )
const;
599 bool hasLineRep (
const PlotterBase * plotter )
const;
607 void setIntervalCount (
const PlotterBase * plotter,
608 unsigned int count );
612 void setIntervalEnabled (
const PlotterBase * plotter,
bool yes );
616 void setAllIntervalEnabled (
const PlotterBase * plotter,
bool yes );
621 const Range & range );
631 const std::string & axis,
636 void setBinWidth (
DataRep * datarep,
642 const std::string & axis,
654 bool isAxisBinned (
PlotterBase * display,
const std::string & axis );
667 #endif // _DisplayController_H_