Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
SelectBasics_EntityOwner Class Reference

defines an abstract owner of sensitive primitives.
Owners are typically used to establish a connection
between sensitive entities and high-level objects (e.g. presentations).

Priority : It's possible to give a priority:
the scale : [0-9] ; the default priority is 0
it allows the predominance of one selected object upon
another one if many objects are selected at the same time


example : Selection of shapes : the owners are
selectable objects (presentations)

a user can give vertex priority [3], edges [2] faces [1] shape [0],
so that if during selection one vertex one edge and one face are
simultaneously detected, the vertex will only be hilighted.

#include <SelectBasics_EntityOwner.hxx>

Inheritance diagram for SelectBasics_EntityOwner:
Inheritance graph
[legend]

Public Member Functions

void Set (const Standard_Integer aPriority)
 sets the selectable priority of the owner

Standard_Integer Priority () const
virtual Standard_Boolean HasLocation () const =0
virtual void SetLocation (const TopLoc_Location &aLoc)=0
virtual void ResetLocation ()=0
virtual const TopLoc_LocationLocation () const =0

Protected Member Functions

 SelectBasics_EntityOwner (const Standard_Integer aPriority=0)

Protected Attributes

Standard_Integer mypriority

Constructor & Destructor Documentation


Member Function Documentation

virtual Standard_Boolean SelectBasics_EntityOwner::HasLocation ( ) const [pure virtual]

Implemented in SelectMgr_EntityOwner.

virtual const TopLoc_Location& SelectBasics_EntityOwner::Location ( ) const [pure virtual]

Implemented in SelectMgr_EntityOwner.

virtual void SelectBasics_EntityOwner::ResetLocation ( ) [pure virtual]

Field Documentation


The documentation for this class was generated from the following file: