Qt Displays wraps a derived class of Cut1DPlotter. More...
#include <QtCut.h>
Public Member Functions | |
void | addDataRep (const std::string &type, const DataSource *ntuple, const std::vector< std::string > &bindings) |
Creates and adds a DataRep to the display. | |
void | addDataRep (PyDataRep *pyRep) |
Adds a DataRep created within Python. | |
void | addDataRep (PyFunctionRep *pyFuncRep) |
Adds a Function (as PyFunctionRep) | |
void | addDataRepStacked (const std::string &type, const DataSource *ntuple, const std::vector< std::string > &bindings) |
Adds a DataRep to the display by stacking, i.e. | |
void | addFunction (FunctionBase *function) |
Adds a Function (as a FunctionBase object) | |
void | addObserver (hippodraw::Observer *observer) |
Adds an observer to PlotterBase object. | |
void | addTarget (QtDisplay *) |
Adds a display as a target of the cut. | |
void | addTargets (const std::vector< QtDisplay * > &targets) |
Adds the displays as targets of the cut. | |
void | addValues (const std::vector< double > &v) |
Adds the values to the display. | |
void | applyCut (QtDisplay *cut) |
Applies a cut to the wrapped PlotterBase. | |
void | applyCuts (const std::vector< QtDisplay * > &cuts) |
Applies a cuts to the wrapped PlotterBase. | |
PyDataSource * | createDataArray () const |
Creates a data array wrapper for the contents of the display. | |
PyNTuple * | createNTuple () const |
Creates and returns an PyNTuple representing the display. | |
int | currentView () |
Return the current view index. | |
std::vector< double > | cutRange () |
Return the range of the cut. | |
void | deleteView (int index) |
Delete a view by index. | |
PlotterBase * | display () |
Returns the wrapped display object. | |
double | getBinWidth (const std::string &axis) const |
Returns the bin width on the specified axis. | |
PyDataRep * | getDataRep () |
Returns the selected DataRep in the plotter. | |
const std::vector< PyDataRep * > & | getDataReps () const |
Returns a vector of all DataReps in the plotter. | |
const std::string & | getLabel (const std::string &axis) const |
Returns the label on the specified axis. | |
int | getLog (const std::string &axis) |
Return 1 if the specified axis is logarithmically scaled. | |
std::vector< double > | getRange (const std::string &axis) |
Get the Range of the specified axis. | |
const std::string & | getTitle () const |
Returns the title of the display. | |
int | nextView (bool stepForward=true) |
Cycle through each set of plot ranges, thereby changing the view with each call. | |
double | numberOfEntries () const |
Return the number of entries in the display. | |
int | numViews () |
Return the number of stored views. | |
int | plotterId () const |
Return the Id to the plotter object. | |
QtCut (const DataSource &nt, const std::vector< std::string > &binding) | |
Create a cut. | |
QtCut (const PyDataSource &nt, const std::vector< std::string > &binding) | |
Create a cut. | |
QtCut (const DataSource &source, const std::vector< std::string > &binding, QtDisplay *target, double low, double high) | |
Constructor for creating a CutPlotter with axis binding to DataSource source, applying the TupleCut to target, and setting the range to low and high. | |
QtCut (const PyDataSource &nt, const std::vector< std::string > &binding, QtDisplay *target, double low, double high) | |
Constructor for creating a CutPlotter with axis binding to PyDataSource nt, applying the TupleCut to target, and setting the range to low and high. | |
QtCut (PyDataSource &source, const std::string &label, boost::python::numeric::array array, QtDisplay *target) | |
Constructor for creating a CutPlotter using a numarray as a mask to the target display. | |
QtCut (PlotterBase *plotter) | |
Create a cut object from a Cut[1/2]DPlotter object. | |
void | reset () |
Resets all bins. | |
void | resize () |
Restore the X and Y dimensions of the display to their saved values. | |
int | saveView () |
Save the current set of plot ranges which define a "view" for this plot. | |
void | setAspectRatio (double ratio) |
Sets the aspect ratio. | |
void | setAutoRanging (const std::string &axis, bool flag) |
Sets the auto ranging flag on specified axis. | |
void | setAutoTicks (const std::string &axis, bool yes) |
Sets the ticks to be automatic or manual. | |
void | setBinWidth (const std::string &axis, double width, bool save=false) |
Sets the bin width on the specified axis. | |
void | setBinWidth (const std::string &axis, double width) |
Sets the bin width on the specified axis. | |
void | setColorMap (const std::string &name) |
Set the color map by name. | |
void | setContourLevels (const std::vector< double > &levels) |
Set the contour levels if a ContourPointRep. | |
void | setCutRange (double low, double high, const std::string &axis="x") |
Sets the range of the cut on the chosen axis. | |
void | setEnabled (bool yes) |
Sets the enabled status. | |
void | setLabel (const std::string &axis, const std::string &label) |
Sets the label on the corresponding axis. | |
void | setLog (const std::string &axis, int flag) |
Sets the specified axis to Logarithmic binning (if applicable ) and display. | |
void | setNumberOfBins (const std::string &axis, unsigned int number) |
Sets the number of bins. | |
void | setOffset (const std::string &axis, double offset) |
Sets the offset of the bins on the specified axis. | |
void | setPointRep (RepBase *rep) |
Sets the PointRep for the display. | |
void | setRange (const std::string &axis, double low, double high, bool save=false) |
Sets the Range on the specified axis. | |
void | setRange (const std::string &axis, double low, double high) |
Sets the Range on the specified axis. | |
void | setTicks (const std::string &axis, const std::vector< double > &values, const std::vector< std::string > &labels) |
Sets the axis ticks to specified points and values. | |
void | setTitle (const std::string &title) |
Sets the title of the display. | |
void | setTransform (const std::string &name) |
Sets the Transform. | |
void | setView (int index) |
Set the view by index. | |
void | toggleInverted () |
Toggles the inversion status. | |
void | unlock () |
Unlock the QApplication in case of exception. | |
void | update () |
Updates the display. |
Static Public Member Functions | |
static void | createFits (const std::vector< std::string > &column_list, const std::vector< QtCut * > &cut_list, DataSource *ds, const std::string &filename, const std::string &dsname) |
Static method. | |
static NTuple * | createNTuple (const std::vector< std::string > &column_list, const std::vector< QtCut * > &cut_list, DataSource *ds) |
Static method. | |
static void | createTnt (const std::vector< std::string > &column_list, const std::vector< QtCut * > &cut_list, DataSource *ds, const std::string &filename, const std::string &dsname) |
Static method. | |
static void | fillCutList (std::vector< const TupleCut * > &tuple_cut_list, const std::vector< QtCut * > &cut_list) |
Protected Attributes | |
PlotterBase * | m_plotter |
The contained PlotterBase object. |
Private Member Functions | |
void | createCut (const DataSource &ds, const std::vector< std::string > &binding) |
Creates an uninitialized cut. |
Qt Displays wraps a derived class of Cut1DPlotter.
It locks the QApplication object before forwarding messages to the contained CutDisplay object. It unlocks the QApplication object upon return.
QtCut | ( | const DataSource & | nt, |
const std::vector< std::string > & | binding | ||
) |
Create a cut.
Definition at line 104 of file QtCut.cxx.
References QtCut::createCut(), PyApp::lock(), and QtDisplay::unlock().
QtCut | ( | const PyDataSource & | nt, |
const std::vector< std::string > & | binding | ||
) |
Create a cut.
Definition at line 114 of file QtCut.cxx.
References QtCut::createCut(), PyDataSource::dataSource(), PyApp::lock(), and QtDisplay::unlock().
QtCut | ( | const DataSource & | source, |
const std::vector< std::string > & | binding, | ||
QtDisplay * | target, | ||
double | low, | ||
double | high | ||
) |
Constructor for creating a CutPlotter with axis binding to DataSource source, applying the TupleCut to target, and setting the range to low and high.
Definition at line 51 of file QtCut.cxx.
References QtCut::addTarget(), QtCut::createCut(), PyApp::lock(), QtCut::setCutRange(), and QtDisplay::unlock().
QtCut | ( | const PyDataSource & | nt, |
const std::vector< std::string > & | binding, | ||
QtDisplay * | target, | ||
double | low, | ||
double | high | ||
) |
Constructor for creating a CutPlotter with axis binding to PyDataSource nt, applying the TupleCut to target, and setting the range to low and high.
Definition at line 65 of file QtCut.cxx.
References QtCut::addTarget(), QtCut::createCut(), PyDataSource::dataSource(), PyApp::lock(), QtCut::setCutRange(), and QtDisplay::unlock().
QtCut | ( | PyDataSource & | source, |
const std::string & | label, | ||
boost::python::numeric::array | array, | ||
QtDisplay * | target | ||
) |
Constructor for creating a CutPlotter using a numarray as a mask to the target display.
Definition at line 79 of file QtCut.cxx.
References QtCut::addTarget(), QtCut::createCut(), PyDataSource::dataSource(), PyApp::lock(), PyDataSource::saveColumnFromNumArray(), QtCut::setCutRange(), and QtDisplay::unlock().
QtCut | ( | PlotterBase * | plotter | ) |
Create a cut object from a Cut[1/2]DPlotter object.
If the plotter is neither then an assert is raised.
Definition at line 123 of file QtCut.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Creates and adds a DataRep to the display.
type | The type of DataRep. Will be used to search for the type in the DataRepFactory. If the type doesn't exist, nothing is created. No checks are made that the new DataRep is consistent for viewing with existing ones. |
ntuple | A pointer to the DataSource to be used. |
bindings | The labels of the columns in the DataSource to be used. |
Definition at line 730 of file QtDisplay.cxx.
References DisplayController::addDataRep(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Adds a DataRep created within Python.
Definition at line 756 of file QtDisplay.cxx.
References DisplayController::addDataRep(), PyDataRep::getDataRep(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Adds a Function (as PyFunctionRep)
Definition at line 766 of file QtDisplay.cxx.
References DisplayController::addDataRep(), PyFunctionRep::getRep(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Adds a DataRep to the display by stacking, i.e.
sharing X axis but not the Y axis.
Definition at line 744 of file QtDisplay.cxx.
References DisplayController::addDataRepStacked(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Adds a Function (as a FunctionBase object)
Definition at line 780 of file QtDisplay.cxx.
References DisplayController::addDataRep(), FunctionController::createFunctionRep(), PlotterBase::getDataRep(), FunctionController::instance(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Adds an observer to PlotterBase object.
Definition at line 1261 of file QtDisplay.cxx.
References QtDisplay::m_plotter.
void addTarget | ( | QtDisplay * | target | ) |
Adds a display as a target of the cut.
Definition at line 136 of file QtCut.cxx.
References QtDisplay::display(), CutController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
Referenced by QtCut::QtCut().
void addTargets | ( | const std::vector< QtDisplay * > & | targets | ) |
Adds the displays as targets of the cut.
Definition at line 147 of file QtCut.cxx.
References QtDisplay::display(), CutController::instance(), PyApp::lock(), QtDisplay::m_plotter, num_util::size(), and QtDisplay::unlock().
|
inherited |
Adds the values to the display.
Definition at line 1137 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Applies a cut to the wrapped PlotterBase.
If cut is a wrapper for a CutPlotter, then applies the cut to the wrapped PlotterBase object, otherwise an exception is thrown.
Definition at line 1309 of file QtDisplay.cxx.
References QtDisplay::display(), CutController::instance(), PyApp::lock(), and QtDisplay::unlock().
|
inherited |
Applies a cuts to the wrapped PlotterBase.
If the cuts are rappers for a CutPlotter, then applies the cuts to the wrapped PlotterBase object. If any of the cuts is not wrapper for a cut, an exception will be thrown.
Definition at line 1324 of file QtDisplay.cxx.
References QtDisplay::display(), CutController::instance(), PyApp::lock(), num_util::size(), and QtDisplay::unlock().
|
private |
Creates an uninitialized cut.
Definition at line 42 of file QtCut.cxx.
References CutController::instance(), QtDisplay::m_plotter, and Color::yellow.
Referenced by QtCut::QtCut().
|
inherited |
Creates a data array wrapper for the contents of the display.
Definition at line 1288 of file QtDisplay.cxx.
References QtDisplay::createNTuple(), FunctionController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
static |
Static method.
Create a new NTuple using the column_list (labels) and cut_list (QtCut/CutPlotter). Then save it to a FITS file.
Definition at line 288 of file QtCut.cxx.
References QtCut::fillCutList(), FitsController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
static |
Static method.
Create a new NTuple using the column_list (labels) and cut_list (QtCut/CutPlotter). The returned NTuple is managed by Python.
Definition at line 229 of file QtCut.cxx.
References NTupleController::createNTuple(), QtCut::fillCutList(), NTupleController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Creates and returns an PyNTuple representing the display.
Definition at line 1146 of file QtDisplay.cxx.
References FunctionController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
Referenced by QtDisplay::createDataArray().
|
static |
Static method.
Create a new NTuple using the column_list (labels) and cut_list (QtCut/CutPlotter). Then save it to a TNT file.
Definition at line 257 of file QtCut.cxx.
References NTupleController::createNTupleToFile(), QtCut::fillCutList(), NTupleController::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Return the current view index.
Definition at line 906 of file QtDisplay.cxx.
References PlotterBase::currentView(), and QtDisplay::m_plotter.
std::vector< double > cutRange | ( | ) |
Return the range of the cut.
For a 1 D CutPlotter the range is returned as [Xlow, Xhi] while for a 2 D CutPlotter the range is returned as [Xlow, Xhi, Ylow, Yhi]
Definition at line 188 of file QtCut.cxx.
References QtCut::fillCutList(), QtDisplay::getRange(), Range::high(), PyApp::lock(), Range::low(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Delete a view by index.
Definition at line 895 of file QtDisplay.cxx.
References PlotterBase::deleteView(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Returns the wrapped display object.
Definition at line 723 of file QtDisplay.cxx.
References QtDisplay::m_plotter.
Referenced by PyCanvas::addDisplay(), QtCut::addTarget(), QtCut::addTargets(), PyCanvas::addText(), PyCanvas::addTextAt(), PyCanvas::addTextAtAbs(), PyFunctionRep::addTo(), QtDisplay::applyCut(), QtDisplay::applyCuts(), PyCanvas::findSelectedView(), PyCanvas::getPickTable(), and PyCanvas::removeDisplay().
|
static |
Definition at line 324 of file QtCut.cxx.
References QtDisplay::m_plotter.
Referenced by QtCut::createFits(), QtCut::createNTuple(), QtCut::createTnt(), QtCut::cutRange(), and PyFitsController::writeToFile().
|
inherited |
Returns the bin width on the specified axis.
Definition at line 1018 of file QtDisplay.cxx.
References PlotterBase::getBinWidth(), and QtDisplay::m_plotter.
|
inherited |
Returns the selected DataRep in the plotter.
Definition at line 1096 of file QtDisplay.cxx.
References PlotterBase::activePlotIndex(), PlotterBase::getDataRep(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Returns a vector of all DataReps in the plotter.
Definition at line 1112 of file QtDisplay.cxx.
References PlotterBase::getDataRep(), PlotterBase::getNumDataReps(), PyApp::lock(), QtDisplay::m_plotter, QtDisplay::m_pyDataReps, and QtDisplay::unlock().
|
inherited |
Returns the label on the specified axis.
Definition at line 971 of file QtDisplay.cxx.
References hippodraw::Axes::convert(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Return 1 if the specified axis is logarithmically scaled.
Definition at line 1076 of file QtDisplay.cxx.
References DisplayController::getLog(), DisplayController::instance(), and QtDisplay::m_plotter.
|
inherited |
Get the Range of the specified axis.
Definition at line 828 of file QtDisplay.cxx.
References hippodraw::Axes::convert(), PlotterBase::getRange(), Range::high(), PyApp::lock(), Range::low(), QtDisplay::m_plotter, num_util::type(), and QtDisplay::unlock().
Referenced by QtCut::cutRange(), and QtDisplay::saveView().
|
inherited |
Returns the title of the display.
Definition at line 917 of file QtDisplay.cxx.
References PlotterBase::getTitle(), and QtDisplay::m_plotter.
|
inherited |
Cycle through each set of plot ranges, thereby changing the view with each call.
stepForward | Direction to step through the views. |
Definition at line 877 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, PlotterBase::nextView(), and QtDisplay::unlock().
|
inherited |
Return the number of entries in the display.
Definition at line 1163 of file QtDisplay.cxx.
References PlotterBase::activeProjector(), ProjectorBase::getNumberOfEntries(), and QtDisplay::m_plotter.
|
inherited |
Return the number of stored views.
Definition at line 891 of file QtDisplay.cxx.
References QtDisplay::m_plotter, and PlotterBase::numViews().
|
inherited |
Return the Id to the plotter object.
Definition at line 1218 of file QtDisplay.cxx.
References QtDisplay::m_plotter, and PlotterBase::plotterId().
|
inherited |
Resets all bins.
Definition at line 992 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Restore the X and Y dimensions of the display to their saved values.
Definition at line 1171 of file QtDisplay.cxx.
References DisplayController::getLog(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_binWidths, QtDisplay::m_plotter, QtDisplay::m_ranges, PlotterBase::setAutoRanging(), PlotterBase::setBinWidth(), QtDisplay::setLog(), PlotterBase::setRange(), and QtDisplay::unlock().
|
inherited |
Save the current set of plot ranges which define a "view" for this plot.
Definition at line 849 of file QtDisplay.cxx.
References QtDisplay::getRange(), QtDisplay::m_plotter, QtDisplay::m_ranges, and PlotterBase::saveView().
|
inherited |
Sets the aspect ratio.
Definition at line 1128 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setAspectRatio(), and QtDisplay::unlock().
|
inherited |
Sets the auto ranging flag on specified axis.
Definition at line 1086 of file QtDisplay.cxx.
References hippodraw::Axes::convert(), PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setAutoRanging(), num_util::type(), and QtDisplay::unlock().
|
inherited |
Sets the ticks to be automatic or manual.
Definition at line 1279 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Sets the bin width on the specified axis.
Definition at line 999 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_binWidths, QtDisplay::m_plotter, PlotterBase::setBinWidth(), and QtDisplay::unlock().
Referenced by QtDisplay::setBinWidth().
|
inherited |
Sets the bin width on the specified axis.
This version is needed since Boost.Python cannot accommodate default arguments directly.
Definition at line 1025 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::setBinWidth(), and QtDisplay::unlock().
|
inherited |
Set the color map by name.
Definition at line 1227 of file QtDisplay.cxx.
References BinToColorFactory::instance(), PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Set the contour levels if a ContourPointRep.
Definition at line 937 of file QtDisplay.cxx.
References PlotterBase::activePlotIndex(), PlotterBase::getDataRep(), DataRep::getProjector(), PyApp::lock(), QtDisplay::m_plotter, RepBase::name(), Observable::notifyObservers(), PlotterBase::representation(), and QtDisplay::unlock().
void setCutRange | ( | double | low, |
double | high, | ||
const std::string & | axis = "x" |
||
) |
Sets the range of the cut on the chosen axis.
The choice of axis matters only when a 2D cut is being talked about
Definition at line 164 of file QtCut.cxx.
References hippodraw::Axes::convert(), PyApp::lock(), QtDisplay::m_plotter, num_util::type(), and QtDisplay::unlock().
Referenced by QtCut::QtCut().
void setEnabled | ( | bool | yes | ) |
Sets the enabled status.
Sets the enabled status of the CutPlotter. A plotter that is disabled keeps its target but does not apply the cut.
Definition at line 209 of file QtCut.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Sets the label on the corresponding axis.
Definition at line 958 of file QtDisplay.cxx.
References hippodraw::Axes::convert(), PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setLabel(), and QtDisplay::unlock().
|
inherited |
Sets the specified axis to Logarithmic binning (if applicable ) and display.
Definition at line 1065 of file QtDisplay.cxx.
References hippodraw::Axes::convert(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, DisplayController::setLog(), num_util::type(), and QtDisplay::unlock().
Referenced by QtDisplay::resize().
|
inherited |
Sets the number of bins.
Definition at line 983 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setNumberOfBins(), and QtDisplay::unlock().
|
inherited |
Sets the offset of the bins on the specified axis.
Definition at line 1032 of file QtDisplay.cxx.
References hippodraw::Axes::convert(), DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, DisplayController::setOffset(), num_util::type(), and QtDisplay::unlock().
|
inherited |
Sets the PointRep for the display.
Definition at line 923 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setRepresentation(), and QtDisplay::unlock().
|
inherited |
Sets the Range on the specified axis.
Definition at line 800 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, QtDisplay::m_ranges, PlotterBase::setRange(), and QtDisplay::unlock().
Referenced by QtDisplay::setRange().
|
inherited |
Sets the Range on the specified axis.
This version is needed since Boost.Python cannot accommodate default arguments directly.
Definition at line 819 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::setRange(), and QtDisplay::unlock().
|
inherited |
Sets the axis ticks to specified points and values.
Definition at line 1268 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Sets the title of the display.
Definition at line 910 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setTitle(), and QtDisplay::unlock().
|
inherited |
Sets the Transform.
Definition at line 1044 of file QtDisplay.cxx.
References DisplayController::instance(), PyApp::lock(), QtDisplay::m_plotter, DisplayController::setTransform(), and QtDisplay::unlock().
|
inherited |
Set the view by index.
Definition at line 865 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, PlotterBase::setView(), and QtDisplay::unlock().
void toggleInverted | ( | ) |
Toggles the inversion status.
Definition at line 219 of file QtCut.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
inherited |
Unlock the QApplication in case of exception.
Definition at line 1061 of file QtDisplay.cxx.
Referenced by QtDisplay::addDataRep(), QtDisplay::addDataRepStacked(), QtDisplay::addFunction(), QtCut::addTarget(), QtCut::addTargets(), QtDisplay::addValues(), QtDisplay::applyCut(), QtDisplay::applyCuts(), QtDisplay::createDataArray(), QtCut::createFits(), QtCut::createNTuple(), QtDisplay::createNTuple(), QtCut::createTnt(), QtCut::cutRange(), QtDisplay::deleteView(), QtDisplay::getDataRep(), QtDisplay::getDataReps(), QtDisplay::getLabel(), QtDisplay::getRange(), QtDisplay::nextView(), QtCut::QtCut(), QtDisplay::QtDisplay(), QtDisplay::reset(), QtDisplay::resize(), QtDisplay::setAspectRatio(), QtDisplay::setAutoRanging(), QtDisplay::setAutoTicks(), QtDisplay::setBinWidth(), QtDisplay::setColorMap(), QtDisplay::setContourLevels(), QtCut::setCutRange(), QtCut::setEnabled(), QtDisplay::setLabel(), QtDisplay::setLog(), QtDisplay::setNumberOfBins(), QtDisplay::setOffset(), QtDisplay::setPointRep(), QtDisplay::setRange(), QtDisplay::setTicks(), QtDisplay::setTitle(), QtDisplay::setTransform(), QtDisplay::setView(), QtCut::toggleInverted(), and QtDisplay::update().
|
inherited |
Updates the display.
Definition at line 1250 of file QtDisplay.cxx.
References PyApp::lock(), QtDisplay::m_plotter, and QtDisplay::unlock().
|
protectedinherited |
The contained PlotterBase object.
Definition at line 97 of file QtDisplay.h.
Referenced by QtDisplay::addDataRep(), QtDisplay::addDataRepStacked(), QtDisplay::addFunction(), QtDisplay::addObserver(), QtCut::addTarget(), QtCut::addTargets(), QtDisplay::addValues(), QtCut::createCut(), QtDisplay::createDataArray(), QtCut::createFits(), QtCut::createNTuple(), QtDisplay::createNTuple(), QtCut::createTnt(), QtDisplay::currentView(), QtCut::cutRange(), QtDisplay::deleteView(), QtDisplay::display(), QtCut::fillCutList(), QtDisplay::getBinWidth(), QtDisplay::getDataRep(), QtDisplay::getDataReps(), QtDisplay::getLabel(), QtDisplay::getLog(), QtDisplay::getRange(), QtDisplay::getTitle(), QtDisplay::nextView(), QtDisplay::numberOfEntries(), QtDisplay::numViews(), QtDisplay::plotterId(), QtCut::QtCut(), QtDisplay::QtDisplay(), QtDisplay::reset(), QtDisplay::resize(), QtDisplay::saveView(), QtDisplay::setAspectRatio(), QtDisplay::setAutoRanging(), QtDisplay::setAutoTicks(), QtDisplay::setBinWidth(), QtDisplay::setColorMap(), QtDisplay::setContourLevels(), QtCut::setCutRange(), QtCut::setEnabled(), QtDisplay::setLabel(), QtDisplay::setLog(), QtDisplay::setNumberOfBins(), QtDisplay::setOffset(), QtDisplay::setPointRep(), QtDisplay::setRange(), QtDisplay::setTicks(), QtDisplay::setTitle(), QtDisplay::setTransform(), QtDisplay::setView(), QtCut::toggleInverted(), and QtDisplay::update().