MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028990Community[OCCT] OCCT:Codingpublic2017-08-11 15:372017-08-16 14:18
ReporterVico Liang 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.3.0*Fixed in Version 
Summary0028990: class Prs3d_Root can be removed
DescriptionPrs3d_Root just delegates function call to Prs3d_Presentation object, it can be removed to simplify OCCT type system.

class Prs3d_Root
{
public:

  DEFINE_STANDARD_ALLOC

  //! Returns the current (last created) group of primititves inside graphic objects in the display.
  //! A group also contains the attributes whose ranges are limited to the primitives in it.
  static Handle(Graphic3d_Group) CurrentGroup (const Handle(Prs3d_Presentation)& thePrs3d)
  {
    return thePrs3d->CurrentGroup();
  }

  //! Returns the new group of primitives inside graphic objects in the display.
  //! A group also contains the attributes whose ranges are limited to the primitives in it.
  static Handle(Graphic3d_Group) NewGroup (const Handle(Prs3d_Presentation)& thePrs3d)
  {
    return thePrs3d->NewGroup();
  }

};
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0024752closedbugmaster Open CASCADE Visualization - inherit OpenGl_Group from Graphic3d_Group 

-  Notes
(0069457)
kgv (developer)
2017-08-16 14:18

Prs3d_Root was not removed within 0024752 because it is widely used (previously it was the only public API for creating new groups).

So this removal should come through deprecation -> removal cycle.

- Issue History
Date Modified Username Field Change
2017-08-11 15:37 Vico Liang New Issue
2017-08-11 15:37 Vico Liang Assigned To => kgv
2017-08-16 14:15 kgv Relationship added related to 0024752
2017-08-16 14:18 kgv Note Added: 0069457


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker