|
SHAPER
9.15.0
|
Manages registering of filters. More...

Public Member Functions | |
| virtual void | registerFilter (const std::string &theID, ModelAPI_Filter *theFilter) |
| Register an instance of a filter. More... | |
| virtual bool | isValid (FeaturePtr theFiltersFeature, ResultPtr theResult, GeomShapePtr theShape) |
| Returns true if all filters of the Filters feature are ok for the Shape (taking into account the Reversed states). More... | |
| virtual std::list< std::pair< ResultPtr, GeomShapePtr > > | select (const FiltersFeaturePtr &theFilterFeature, const GeomAPI_Shape::ShapeType theShapeType) |
| Returns list of all shapes and subshapes in the study, satisfying criteria of all filters of theFilterFeature. More... | |
| virtual std::list< FilterPtr > | filters (GeomAPI_Shape::ShapeType theType) |
| Returns the filters that support the given shape type. More... | |
| virtual FilterPtr | filter (std::string theID) |
| Returns a filter by ID. More... | |
| virtual std::string | id (FilterPtr theFilter) |
| Returns a filter ID by the filter pointer. More... | |
Protected Member Functions | |
| Model_FiltersFactory () | |
| Get instance from Session. More... | |
Friends | |
| class | Model_Session |
Manages registering of filters.
|
inlineprotected |
Get instance from Session.
|
virtual |
Register an instance of a filter.
| theID | unique identifier of the filter, not necessary equal to the name of filter |
| theFilter | the filter's instance |
Implements ModelAPI_FiltersFactory.
|
virtual |
Returns true if all filters of the Filters feature are ok for the Shape (taking into account the Reversed states).
| theResult | parent result of the shape to check |
| theShape | the checked shape |
all filters and the reverse values
Implements ModelAPI_FiltersFactory.
|
virtual |
Returns list of all shapes and subshapes in the study, satisfying criteria of all filters of theFilterFeature.
| theFiltersFeature | feature that contains all information about the filters |
| theShapeType | the type of sub-shapes to find |
Implements ModelAPI_FiltersFactory.
|
virtual |
Returns the filters that support the given shape type.
Returns list of filters for the given shape type.
| theType | a shape type |
Implements ModelAPI_FiltersFactory.
|
virtual |
Returns a filter by ID.
Implements ModelAPI_FiltersFactory.
|
virtual |
Returns a filter ID by the filter pointer.
Implements ModelAPI_FiltersFactory.