MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #22368 All Revisions ] Back to Issue ]
Summary 0022368: AIS_Trihedron's highlight presentation isn't updated on trihedron relocation
Revision 2011-11-25 14:29 by szy
Additional information
and documentation updates
Documentation remark, added by APL 2011-04-21 11:40:11:

Changes:
There are following changes in packages:
AIS package:
  AIS_Trihedron's selection shapes handling algorithm has been corrected:
  1) The active selection shapes updated with calls to methods SetComponent,
     ComputeSelection, SetContext;
  2) Method SetLocation(const TopLoc_Location& aLoc) has been overriden from
     the base class; Now the selection shapes are updated on SetLocation;
  3) Method ComputeSelection now adds the selection shapes to the context
     and hides their display presentation, so they won't be display after
     unselection, so they will be displayed on hilight and selection only.

StdSelect package:
  1) StdSelect_BRepOwner presentation shape updating algorithm has been
     corrected; Now the presentation shape is nullified and recomputed on
     hilighting if the update flag is set, so the context can
     unhilight the old presentation shapes correctly.
     
SelectMgr package:
  1) SelectMgr_SelectableObject now calls SetLocation method of
     the SelectMgr_EntityOwner when its own Location is updated.

Modified entities:
AIS package:
1) AIS_Trihedron class (AIS_Trihedron.cdl) - method SetLocation(const
   TopLoc_Location& aLoc) has been overriden from the base class
   PrsMgr_PresentableObject

ViewerTest package:
1) New Draw command "vsetlocation : name x y z" has been added for tests. It allows changing AIS interactive object location through the interactive context with method SetLocation().
Revision 2011-08-01 11:45 by apl
Additional information
and documentation updates
Documentation remark, added by POLETAEV Anton (apl) 2011-04-21 11:40:11:

Changes:
There are following changes in packages:
AIS package:
  AIS_Trihedron's selection shapes handling algorithm has been corrected:
  1) The active selection shapes updated with calls to methods SetComponent,
     ComputeSelection, SetContext;
  2) Method SetLocation(const TopLoc_Location& aLoc) has been overriden from
     the base class; Now the selection shapes are updated on SetLocation;
  3) Method ComputeSelection now adds the selection shapes to the context
     and hides their display presentation, so they won't be display after
     unselection, so they will be displayed on hilight and selection only.

StdSelect package:
  1) StdSelect_BRepOwner presentation shape updating algorithm has been
     corrected; Now the presentation shape is nullified and recomputed on
     hilighting if the update flag is set, so the context can
     unhilight the old presentation shapes correctly.
     
SelectMgr package:
  1) SelectMgr_SelectableObject now calls SetLocation method of
     the SelectMgr_EntityOwner when its own Location is updated.

Modified entities:
AIS package:
1) AIS_Trihedron class (AIS_Trihedron.cdl) - method SetLocation(const
   TopLoc_Location& aLoc) has been overriden from the base class
   PrsMgr_PresentableObject

ViewerTest package:
1) New Draw command "vsetlocation : name x y z" has been added for tests. It allows changing AIS interactive object location through the interactive context with method SetLocation().
Revision 2011-07-29 13:42 by apl
Additional information
and documentation updates
Documentation remark, added by POLETAEV Anton (apl) 2011-04-21 11:40:11:

Changes:
There are following changes in packages:
AIS package:
  AIS_Trihedron's selection shapes handling algorithm has been corrected:
  1) The active selection shapes updated with calls to methods SetComponent,
     ComputeSelection, SetContext;
  2) Method SetLocation(const TopLoc_Location& aLoc) has been overriden from
     the base class; Now the selection shapes are updated on SetLocation;
  3) Method ComputeSelection now adds the selection shapes to the context
     and hides their display presentation, so they won't be display after
     unselection, so they will be displayed on hilight and selection only.

StdSelect package:
  1) StdSelect_BRepOwner presentation shape updating algorithm has been
     corrected; Now the presentation shape is nullified and recomputed on
     hilighting if the update flag is set, so the context can
     unhilight the old presentation shapes correctly.
     
SelectMgr package:
  1) SelectMgr_SelectableObject now calls SetLocation method of
     the SelectMgr_EntityOwner when its own Location is updated.

Modified entities:
AIS package:
1) AIS_Trihedron class (AIS_Trihedron.cdl) - method SetLocation(const
   TopLoc_Location& aLoc) has been overriden from the base class
   PrsMgr_PresentableObject


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker