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

A GraphCounter computes values to be sorted with the help of
a Graph. I.E. not from a Signature

The default GraphCounter works with an Applied Selection (a
SelectDeduct), the value is the count of selected entities
from each input entities)

#include <IFSelect_GraphCounter.hxx>

Inheritance diagram for IFSelect_GraphCounter:
Inheritance graph
[legend]

Public Member Functions

 IFSelect_GraphCounter (const Standard_Boolean withmap=Standard_True, const Standard_Boolean withlist=Standard_False)
 Creates a GraphCounter, without applied selection

Handle_IFSelect_SelectDeduct Applied () const
 Returns the applied selection

void SetApplied (const Handle< IFSelect_SelectDeduct > &sel)
 Sets a new applied selection

virtual void AddWithGraph (const Handle< TColStd_HSequenceOfTransient > &list, const Interface_Graph &graph)
 Adds a list of entities in the context given by the graph
Default takes the count of entities selected by the applied
selection, when it is given each entity of the list
Can be redefined


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from IFSelect_SignCounter.

Handle_IFSelect_SelectDeduct IFSelect_GraphCounter::Applied ( ) const

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