MantisBT - Community
View Issue Details
0029367Community[OCCT] OCCT:Visualizationpublic2017-12-05 06:522019-09-17 10:24
Vico Liang 
mzernova 
normalintegration request 
assignedopen 
 
[OCCT] 7.5.0* 
0029367: Visualization - simplify interface of V3d_View and V3d_Viewer
class V3d_View:
  Standard_EXPORT Standard_Boolean IfMoreLights() const;
  V3d_ListOfLightIterator ActiveLightIterator() const;
  void InitActiveLights();
  Standard_Boolean MoreActiveLights() const;
  void NextActiveLights();
  const Handle(V3d_Light)& ActiveLight() const;

class V3d_Viewer:
  V3d_ListOfViewIterator ActiveViewIterator() const;
  void InitActiveViews();
  Standard_Boolean MoreActiveViews() const;
  void NextActiveViews();
  const Handle(V3d_View)& ActiveView();

  V3d_ListOfViewIterator DefinedViewIterator() const;
  void InitDefinedViews();
  Standard_Boolean MoreDefinedViews() const;
  void NextDefinedViews();
  const Handle(V3d_View)& DefinedView() const;

  V3d_ListOfLightIterator ActiveLightIterator() const;
  void InitActiveLights();
  Standard_Boolean MoreActiveLights() const;
  void NextActiveLights();
  const Handle(V3d_Light)& ActiveLight() const;

  V3d_ListOfLightIterator DefinedLightIterator() const;
  void InitDefinedLights();
  Standard_Boolean MoreDefinedLights() const;
  void NextDefinedLights();
  const Handle(V3d_Light)& DefinedLight() const;

All above methods can be removed and replaced by returning the internal raw data
  V3d_ListOfView myDefinedViews;
  V3d_ListOfView myActiveViews;
  V3d_ListOfLight myDefinedLights;
  V3d_ListOfLight myActiveLights;
No tags attached.
related to 0028987closed kgv Open CASCADE Visualization, SelectMgr_SelectableObject - move out iterator from object 
related to 0030972new kgv Open CASCADE Visualization - remove deprecated iterators embedded into TKV3d containers 
Issue History
2017-12-05 06:52Vico LiangNew Issue
2017-12-05 06:52Vico LiangAssigned To => kgv
2017-12-05 08:30kgvRelationship addedrelated to 0029290
2017-12-05 08:33kgvRelationship addedrelated to 0028987
2019-09-04 13:04abvTarget Version7.4.0 => 7.5.0*
2019-09-17 10:23kgvAssigned Tokgv => mzernova
2019-09-17 10:23kgvSeverityminor => integration request
2019-09-17 10:23kgvStatusnew => assigned
2019-09-17 10:23kgvSummarySimplify interface of V3d_View and V3d_Viewer => Visualization - simplify interface of V3d_View and V3d_Viewer
2019-09-17 10:24kgvRelationship addedrelated to 0030972

There are no notes attached to this issue.