|
CEDRIC
Revision_backup-2009-02
|
#include <FilterVisViewer.h>
Public Member Functions | |
| FilterVisViewer (QWidget *parent=0) | |
| virtual | ~FilterVisViewer () |
| void | addFilterVis (FilterVis *vis) |
| virtual void | setPhastScene (PhastScene *scene) |
| Set scenegraph via PhastScene. More... | |
| void | setActiveParticle (int index) |
Public Member Functions inherited from EventViewerWidget | |
| EventViewerWidget (QWidget *parent=0) | |
| virtual | ~EventViewerWidget () |
| virtual QSize | minimumSizeHint () const |
| Force a minimum size. More... | |
| void | setScenegraph (osg::Node *node) |
| Set scenegraph containing all event geometry (e.g. tracks and setup) More... | |
| int | getViewMode () const |
| Provided for convenience, returns current projection mode. More... | |
| double | getProjectionAlpha () const |
| Rotation angle in "Planar" view mode. More... | |
| MyCameraWidget * | getMyCameraWidget () |
| Access contained MyCameraWidget (usefull for making connections) More... | |
| MyCamera * | getMyCamera () |
| Provided for convenience to get MyCamera of MyCameraWidget member. More... | |
| bool | isContinuousUpdateForced () const |
| Pass through from OsgViewerWidget member m_viewerWidget. More... | |
| bool | isLinked () const |
| void | setLinked (bool l) |
| void | linkTo (EventViewerWidget *viewer) |
| void | unlinkFrom (EventViewerWidget *viewer) |
Protected Types | |
| typedef std::list< FilterVis * > | FilterList |
Protected Member Functions | |
| void | applyFilter (FilterVis *vis) |
Protected Member Functions inherited from EventViewerWidget | |
| void | getRulerProjection (osg::Vec3 &projEast, osg::Vec3 &projUp) |
| virtual void | enterEvent (QEvent *) |
| virtual void | leaveEvent (QEvent *) |
Additional Inherited Members | |
Public Types inherited from EventViewerWidget | |
| enum | ViewModes { VIEW_ORTHO =0, VIEW_PERSPECTIVE, VIEW_PLANAR } |
| Provided for convenience, should match with MyCamera::Projection) More... | |
| enum | ViewHomePerspectives { TOP_VIEW =0, SIDE_VIEW, FRONT_VIEW } |
| Supplied default camera perspectives. More... | |
Public Slots inherited from EventViewerWidget | |
| void | setViewMode (int viewMode) |
| Set projection mode. More... | |
| void | setViewHome (int perspective) |
| Set a default camera without changing projection. More... | |
| void | setHomePosition (osg::Vec3 center) |
| Specify home position by hand (to disable call enableAutoHomePosition()) More... | |
| void | enableAutoHomePosition () |
| Compute home position according to bounding box (and if bounding box is not valid set (0,0,0) as center) More... | |
| void | home () |
| void | adjustDistance () |
| Compute and set distance for which camera fits bounding box. More... | |
| void | adjustCenter () |
| Reset center of view to origin (0,0,0) More... | |
| void | fitBoundingBox () |
| DOESN'T WORK CORRECTLY, SEE MyCamera. More... | |
| void | setRulerVisible (bool enable) |
| Set visibility of rulers. More... | |
| bool | isRulerVisible () const |
| Get visibility of rulers. More... | |
| void | forceContinuousUpdate (bool force) |
| Pass through to OsgViewerWidget member m_viewerWidget. More... | |
| void | triggerRedraw () |
| Pass through to OsgViewerWidget member m_viewerWidget. More... | |
| void | changeProjectionAlpha (double alpha) |
| Change projection plane in "Planar" view mode. More... | |
| void | viewSide () |
| void | viewTop () |
| void | viewFront () |
Signals inherited from EventViewerWidget | |
| void | positionChanged (float x, float y, float z) |
| Unprojected mouse position (forwarded from MyCameraWidget) More... | |
| void | activeViewerChanged (EventViewerWidget *) |
Protected Slots inherited from EventViewerWidget | |
| void | updateRuler () |
| void | setPosition (float x, float y, float z) |
| void | gotFocus (bool b) |
|
protected |
|
inline |
|
inlinevirtual |
| void FilterVisViewer::addFilterVis | ( | FilterVis * | vis | ) |
References applyFilter(), FilterVis::FILTER_PLAIN, and FilterVis::mode().
Referenced by EventMultiViewer::createClusterVisPerspective(), and EventMultiViewer::createTrackDetVisPerspective().
|
protected |
References FilterVis::filter(), FilterVis::FILTER_ADD, FilterVis::FILTER_PLAIN, FILTERVISVIEWER_DEBUG, FilterVis::mode(), EventViewerWidget::setScenegraph(), and FilterVis::visNode().
Referenced by addFilterVis(), and setPhastScene().
| void FilterVisViewer::setActiveParticle | ( | int | index | ) |
References setPhastScene().
Referenced by EventMultiViewer::setActiveParticle().
|
virtual |
Set scenegraph via PhastScene.
Reimplemented from EventViewerWidget.
References applyFilter(), and FILTERVISVIEWER_DEBUG.
Referenced by setActiveParticle().
1.8.6