DiscussionsIssue archiveOCCT:Visualization

Archived issue #0022362

AIS_LocalContext should be public class

Open CASCADEOCCT:Visualizationclosed0 public notes

Search issues

Description

The improvement concerns C++ headers in package AIS, with the aim to allow
querying the current LocalContext instance. This will help to avoid some long
delays when many objects are managed by a local context.

Additional information

Documentation remark, added by Author 2011-04-04 12:01:30:

Improvements:
Internal API improved:
1. Class AIS_LocalContext is made public, it can be obtained by new method
AIS_InteractiveContext::LocalContext()
2. Methods of AIS_LocalContext: FindSelectedOwnerFromIO() and
FindSelectedOwnerFromShape() made public.

This change allows to improve performance when many hilighted objects should be
processed in a loop.
Modified entities:
package AIS (TKV3d)
class AIS_InteractiveContext
class AIS_LocalContext

Public activity

No public notes

Participants are labeled by their role within this record.