Selection component anchored to a primitive path plus optional per element index sets.
More...
#include <SelectionComponent.h>
|
|
static std::unique_ptr< PathSelectionComponent > | parse (std::string_view string) |
| |
|
static std::unique_ptr< SelectionComponent > | fromString (std::string_view string) |
| | Parses one component string and returns the appropriate subclass.
|
| |
|
static std::unique_ptr< SelectionComponent > | fromGroup (std::string_view name) |
| | Creates a group based component for the named group.
|
| |
Selection component anchored to a primitive path plus optional per element index sets.
◆ containsFace()
| bool enzo::PathSelectionComponent::containsFace |
( |
const geo::Primitive & | prim, |
|
|
Index | index, |
|
|
Offset | offset, |
|
|
bool | inverted = false ) const |
|
overridevirtual |
◆ containsPoint()
| bool enzo::PathSelectionComponent::containsPoint |
( |
const geo::Primitive & | prim, |
|
|
Index | index, |
|
|
Offset | offset, |
|
|
bool | inverted = false ) const |
|
overridevirtual |
◆ containsPrim()
| bool enzo::PathSelectionComponent::containsPrim |
( |
const geo::Primitive & | prim | ) |
const |
|
overridevirtual |
◆ containsVertex()
| bool enzo::PathSelectionComponent::containsVertex |
( |
const geo::Primitive & | prim, |
|
|
Index | index, |
|
|
Offset | offset, |
|
|
bool | inverted = false ) const |
|
overridevirtual |
◆ isWholePrim()
| bool enzo::PathSelectionComponent::isWholePrim |
( |
const geo::Primitive & | prim | ) |
const |
|
overridevirtual |
Whether the component selects the prim as a whole.
Whole prim selection means every face, point, and vertex of a matched prim is implicitly included. Group components consult the primitive group flag for this answer, which is why the prim is required.
Implements enzo::SelectionComponent.
The documentation for this class was generated from the following files: