Open CASCADE Technology 6.6.0
|
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_AIS_ConnectedInteractive.hxx>
#include <Handle_AIS_InteractiveObject.hxx>
#include <AIS_InteractiveObject.hxx>
#include <PrsMgr_TypeOfPresentation3d.hxx>
#include <AIS_KindOfInteractive.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_PrsMgr_PresentationManager3d.hxx>
#include <Handle_Prs3d_Presentation.hxx>
#include <Handle_Prs3d_Projector.hxx>
#include <Handle_Geom_Transformation.hxx>
#include <Handle_SelectMgr_Selection.hxx>
#include <AIS_ConnectedInteractive.lxx>
Data Structures | |
class | AIS_ConnectedInteractive |
Defines an Interactive Object through a connection to another Interactive Object, which serves as a reference, and which is located elsewhere in the viewer. This allows you to use the Connected Interactive Object without having to recalculate presentation, selection or graphic structure. These are deduced from your reference object. The relation between the connected interactive object and its source is generally one of geometric transformation. AIS_ConnectedInteractive class doesn't support selection modes different from 0. Descendants should redefine ComputeSelection() method in order to handle other selection modes and generate connected sensitive entities properly. Refer to AIS_ConnectedShape class for exisiting implementation of a connected interactive object for AIS_Shape that supports all standard sub-shape selection modes. Warning An Interactive entity which is view (or projector) dependent requires recalculation of views in hidden parts mode depending on the position of the projector in each view. You should derive the entity's inheritance from ConnectedInteractive and redefine its compute method to enable this type of calculation. More... |