|
SHAPER
9.15.0
|
Interface for the selection of filters. More...

Public Types | |
| enum | VariantType { VT_Empty , VT_ResultSubShapePair , VT_TypeSubShapeNamePair , VT_TypeInnerPointPair , VT_WeakNamingPair , VT_Filtering } |
Public Member Functions | |
| FiltersAPI_Selection (const FiltersPtr &theFeature) | |
| Constructor without values. More... | |
| virtual | ~FiltersAPI_Selection () |
| Destructor. More... | |
| FiltersFeaturePtr | feature () const |
| Return filters feature. More... | |
| std::list< ModelHighAPI_Selection > | select (const std::string theShapeType) const |
| Return selected entities. More... | |
| std::list< ModelHighAPI_Selection > | select (const GeomAPI_Shape::ShapeType theShapeType) const |
| virtual void | fillAttribute (const std::shared_ptr< ModelAPI_AttributeSelection > &theAttribute) const |
| Fill attribute values. More... | |
| virtual void | appendToList (const std::shared_ptr< ModelAPI_AttributeSelectionList > &theAttribute) const |
| Append to list attribute. More... | |
| virtual VariantType | variantType () const |
| virtual ResultSubShapePair | resultSubShapePair () const |
| virtual TypeSubShapeNamePair | typeSubShapeNamePair () const |
| virtual TypeInnerPointPair | typeInnerPointPair () const |
| virtual TypeWeakNamingPair | typeWeakNamingPair () const |
| virtual std::string | shapeType () const |
| void | setName (const std::wstring &theName) |
| Shortcut for result()->data()->setName() More... | |
| std::wstring | name () const |
| Shortcut for result()->data()->name() More... | |
| void | setColor (int theRed=0, int theGreen=0, int theBlue=0, bool random=false) |
| Change result's color. More... | |
| void | setSubShapeColor (const ModelHighAPI_Selection &theShape, int theRed, int theGreen, int theBlue) |
| Change subShape' color. More... | |
| std::list< int > | getSubShapeColor (const ModelHighAPI_Selection &theShape) |
| Get subShape' color. More... | |
| void | setDeflection (double theValue) |
| Change result's deflection. More... | |
| void | setTransparency (double theValue) |
| Change result's transparency. More... | |
| int | numberOfSubs () const |
| Returns the number of sub-elements. More... | |
| ModelHighAPI_Selection | subResult (int theIndex) const |
| Returns the sub-result by zero-base index. More... | |
Protected Attributes | |
| VariantType | myVariantType |
| ResultSubShapePair | myResultSubShapePair |
| TypeSubShapeNamePair | myTypeSubShapeNamePair |
| TypeInnerPointPair | myTypeInnerPointPair |
| TypeWeakNamingPair | myWeakNamingPair |
| std::shared_ptr< ModelAPI_FiltersFeature > | myFilterFeature |
Interface for the selection of filters.
|
explicit |
Constructor without values.
|
virtual |
Destructor.
| FiltersFeaturePtr FiltersAPI_Selection::feature | ( | ) | const |
Return filters feature.
| std::list< ModelHighAPI_Selection > FiltersAPI_Selection::select | ( | const std::string | theShapeType | ) | const |
Return selected entities.
|
virtualinherited |
Fill attribute values.
|
virtualinherited |
Append to list attribute.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inherited |
Shortcut for result()->data()->setName()
|
inherited |
Shortcut for result()->data()->name()
|
inherited |
Change result's color.
|
inherited |
Change subShape' color.
|
inherited |
Get subShape' color.
|
inherited |
Change result's deflection.
|
inherited |
Change result's transparency.
|
inherited |
Returns the number of sub-elements.
|
inherited |
Returns the sub-result by zero-base index.