Log of /trunk/graf3d/eve/src/TEveSelection.cxx
Parent Directory
Revision
32462 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 4 14:53:19 2010 UTC (4 years, 10 months ago) by
matevz
File length: 12164 byte(s)
Diff to
previous 30891
Add methods that allow implied selection and highlight to be updated
after new elements are added to compound or projections.
* TEveElement
Add method:
void RecheckImpliedSelections();
* TEveSelection
Add methods:
void RecheckImpliedSet(SelMap_i& smi);
void RecheckImpliedSetForElement(TEveElement* el);
Revision
30891 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 27 19:28:36 2009 UTC (5 years, 2 months ago) by
matevz
File length: 10837 byte(s)
Diff to
previous 30886
TEveElement
- add virtual TEveElement* ForwardEdit();
- make virtual ForwardSelection() non-const.
TEveSelection & TEveViewerList
- make Clicked / ReClicked / UnClicked functions and corresponding
signals symmetric.
TEveCalo
- implement ForwardEdit() to keep editor on concrete calo-viz object.
Revision
30886 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 27 13:37:11 2009 UTC (5 years, 2 months ago) by
matevz
File length: 10455 byte(s)
Diff to
previous 30819
From Alja.
geaf3d/gl:
In TGLSelectRecord add new member and type to define a result of TGLLogicalShape::ProcessSelection().
Handle this result in TGLEventHandler::HandleButton(). In TGLViewer emit "ReClick" signal
if selection has changed only internally or emit "UnClicked" signal if secondary selection became empty.
graf3d/eve:
Separate case when secondary selection has changed from case when primary selection has changed.
Add a new function TEveSelection::SelectionRepeated(), called when selection has changed only internally and
add TEveSelection::UserRePickedElement(), called when secondary selection was cleared.
Revision
30819 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 20 20:01:16 2009 UTC (5 years, 3 months ago) by
matevz
File length: 9886 byte(s)
Diff to
previous 27157
From Alja.
graf3d/gl/inc/TGLViewer:
Change enum ESecSelType: remove obsolete member kNone and redefine kAlways to kOnRequest.
graf3d/gl/src/TGLEventHandler:
Set default secondary selection mode to kOnRequest: Buy default secondary
selection is now activated also on mouse click if this is defined by TGLLogicalShape.
graf3d/eve/inc/TEveElement.h:
graf3d/eve/src/TEveElement.cxx:
Add virtual function ForwardSelection() to allow TEveElement objects to forward its selection
state. This is required in case if some other objects is managing its selection and highlight state.
graf3d/eve/src/TEveSelection.cxx:
In MapPickedToSelect() first check if element is forwarding a selection.
graf3d/eve/inc/TEveCaloData.h
graf3d/eve/src/TEveCaloData.cxx
Add a member to hold a list of secondary selected cells (i.e. towers). Add a functionality to
manage selection state of calorimeter objects. In order to fit in TEveSelection procedure
TEveCaloData now inherits from TEveElement and manages selection state of child elements in FillImpliedSelected().
graf3d/eve/inc/TEveCalo.h:
graf3d/eve/src/TEveCalo.cxx:
Forward selection to TEveCaloData. Override IncImpliedSelected() to printout selected tower info.
tutorials/eve/calo_detail.C
Call IncDenyDestroy() on calo data, since it is TEveElement, but not added anywhere.
tutorials/eve/calorimeters.C
In second tab create four different calorimeter views to demonstrate secondary selection.
Revision
25245 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 25 21:44:09 2008 UTC (6 years, 4 months ago) by
matevz
File length: 9811 byte(s)
Diff to
previous 24147
Merge changes from the eve-dev branch (-r 25202:HEAD). This makes trunk up to date with all developments in eve/ and gl/. eve-dev branch is now obsolete and will be removed.
Revision
24147 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 4 19:48:39 2008 UTC (6 years, 7 months ago) by
matevz
File length: 9807 byte(s)
Diff to
previous 24001
- TEveProjectionManager:
Added member 'Bool_t fImportEmpty' - this forces the projection manager
to also import sub-trees without any projectable elements.
Useful if one expects a completely parallel element structure in
projected replica.
- TEveSelection:
Added method 'void RemoveImpliedSelected(TEveElement* el)' needed for
deregistration of implied-selected elements during their destruction.
- TEveManager:
- In PreDeleteElement() check if the element is implied selected or
highlighted and deregister it from there.
- In function InsertVizDBEntry():
a) added argument 'Bool_t update';
b) when replacing the model-element copy its children to the new
model and optionally update their viz-params.
- TEveElement:
- Add methods to simplify propagation of visualization-parameters
between model-elements and their clients
- Add members 'Int_t fParentIgnoreCnt, fTopItemCnt' that allow
better tracking of references in view of automatic destruction.
- Consolidate Has/Num|Children/Parents() methods.
- TEveGeoNode:
Use TEveElement::HasChildren() instead of checking container size.
Revision
24001 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 23 20:58:14 2008 UTC (6 years, 8 months ago) by
matevz
File length: 9104 byte(s)
Diff to
previous 23140
Optimize updates of element visibility by introducing a new stamp-type
and preprocessing the changed elements in TEveManager::DoRedraw3D().
Make TEveElement::AddStamp() virtual. This allows sub-classes to react
to different changes within the element.
This also simplifes handling of visibility for TEveGeoNode and
TEveSceneInfo.
TEveProjection manager properly maintains compound-element relation.
Finalize propagation of visibility and color from compounds to
compound elements and from projectables to projecteds.
Add three new selection propagation modes (compound, compound and
projectable, master).
Remove obsolete method TEveElement::UpdateItems() and all its
incarnations.
Replace asserts in TEveTrackPropagator::HelixToBounds() with a warning
as this case can actually occur due to numerical errors for tracks with
pZ close to zero.
Revision
23140 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by
rdm
File length: 8649 byte(s)
Diff to
previous 22548
move the following directories to "graf2d":
asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf
move the following directories to "graf3d":
eve, ftgl, g3d, gl, x3d
Revision
22292 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 22 12:28:32 2008 UTC (6 years, 11 months ago) by
matevz
Original Path:
branches/dev/fireworks/eve/src/TEveSelection.cxx
File length: 6458 byte(s)
Diff to
previous 22266
TGListTree - GetPicWidth() implmented in item-baseclass. The function
is now trivial as check-boxes have been moved after the icons.
TEveElement - fix CheckRefCount() to ignore selection parents and
items. Added bool flag fDestructing to prevent emission of stamps and
signals during destruction.
TEveProjectionBases - TEveProjectable now destroys all projected's
when it is destroyed.
TEvePointSet - set fPickable to true in all ctors.
TEveStraightLineSet - fix projections of markers when fish-eye
distortion is non-zero.
TEveGeoNode - use single-rendering state for TEveGeoTopNode, as it
draws it children implicitly via TGeoPainter. This option was recently
added for ALICE HLT.
TEveVSDStructs/TEveVector - added operators +=, -=, *= and float*.
Revision
22266 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 20 20:46:59 2008 UTC (6 years, 11 months ago) by
matevz
Original Path:
branches/dev/fireworks/eve/src/TEveSelection.cxx
File length: 6366 byte(s)
Diff to
previous 22234
TGListTree - further changes to handling of current and below-mouse
item as required by eve.
TGLPhysicalShape - reset main color on each pass of selected-object
rendering as some renderers change current color.
TGLEventHandler - fix handling of arrow keys.
eve/ - consolidate selection / highlight handling between GL viewers
and list-tree.
Revision
22234 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 19 20:33:19 2008 UTC (6 years, 11 months ago) by
matevz
Original Path:
branches/dev/fireworks/eve/src/TEveSelection.cxx
File length: 6282 byte(s)
Diff to
previous 22090
Optimize setting of main-color of an element (or collection of
elements):
- Fix all GL object-rendering code to strictly use color set by the
TGLPhysicalShape for main object components so that the
display-lists remain valid during color change.
- Consolidate all main-color changing code-paths through TEveElement's
to only use change-bits/stamps and to not tag the element as
fundamentally changed.
Consolidate and extend behaviour of TEveProjectionManager and
sub-classes of TEveProjected:
Implement virtual SetDepth() for all projected classes and use it
from projection-manager to set current depth.
Extent functionality of TEveProjectionManager::ImportElements() to
allow placement of resulting projected objectes also into another
container.
First steps towards common selection between GL-viewers and list-trees.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.