Open CASCADE Technology 6.6.0
Public Member Functions
IFSelect_SelectControl Class Reference

A SelectControl kind Selection works with two input Selections
in a dissymmetric way : the Main Input which gives an input
list of Entities, to be processed, and the Second Input which
gives another list, to be used to filter the main input.

e.g. : SelectDiff retains the items of the Main Input which
are not in the Control Input (which acts as Diff Input)
or a specific selection which retains Entities from the Main
Input if and only if they are concerned by an entity from
the Control Input (such as Views in IGES, etc...)

The way RootResult and Label are produced are at charge of
each sub-class

#include <IFSelect_SelectControl.hxx>

Inheritance diagram for IFSelect_SelectControl:
Inheritance graph
[legend]

Public Member Functions

Handle_IFSelect_Selection MainInput () const
 Returns the Main Input Selection

Standard_Boolean HasSecondInput () const
 Returns True if a Control Input is defined
Thus, Result can be computed differently if there is a
Control Input or if there is none

Handle_IFSelect_Selection SecondInput () const
 Returns the Control Input Selection, or a Null Handle

void SetMainInput (const Handle< IFSelect_Selection > &sel)
 Sets a Selection to be the Main Input

void SetSecondInput (const Handle< IFSelect_Selection > &sel)
 Sets a Selection to be the Control Input

void FillIterator (IFSelect_SelectionIterator &iter) const
 Puts in an Iterator the Selections from which "me" depends
That is to say, the list of Input Selections


Member Function Documentation

void IFSelect_SelectControl::FillIterator ( IFSelect_SelectionIterator iter) const [virtual]

Implements IFSelect_Selection.

Standard_Boolean IFSelect_SelectControl::HasSecondInput ( ) const
Handle_IFSelect_Selection IFSelect_SelectControl::MainInput ( ) const
Handle_IFSelect_Selection IFSelect_SelectControl::SecondInput ( ) const
void IFSelect_SelectControl::SetMainInput ( const Handle< IFSelect_Selection > &  sel)
void IFSelect_SelectControl::SetSecondInput ( const Handle< IFSelect_Selection > &  sel)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines