Enzo
Loading...
Searching...
No Matches
enzo::GroupSelectionComponent Class Reference

Selection component that resolves membership through a named group. More...

#include <SelectionComponent.h>

Inheritance diagram for enzo::GroupSelectionComponent:
enzo::SelectionComponent

Public Member Functions

bool containsPrim (const geo::Primitive &prim) const override
 
bool containsFace (const geo::Primitive &prim, Index index, Offset offset, bool inverted=false) const override
 
bool containsPoint (const geo::Primitive &prim, Index index, Offset offset, bool inverted=false) const override
 
bool containsVertex (const geo::Primitive &prim, Index index, Offset offset, bool inverted=false) const override
 
bool isWholePrim (const geo::Primitive &prim) const override
 Whether the component selects the prim as a whole.
 
- Public Member Functions inherited from enzo::SelectionComponent

Static Public Member Functions

static std::unique_ptr< GroupSelectionComponentcreate (std::string_view name)
 
- Static Public Member Functions inherited from enzo::SelectionComponent
static std::unique_ptr< SelectionComponentfromString (std::string_view string)
 Parses one component string and returns the appropriate subclass.
 
static std::unique_ptr< SelectionComponentfromGroup (std::string_view name)
 Creates a group based component for the named group.
 

Detailed Description

Selection component that resolves membership through a named group.

Member Function Documentation

◆ containsFace()

bool enzo::GroupSelectionComponent::containsFace ( const geo::Primitive & prim,
Index index,
Offset offset,
bool inverted = false ) const
overridevirtual

◆ containsPoint()

bool enzo::GroupSelectionComponent::containsPoint ( const geo::Primitive & prim,
Index index,
Offset offset,
bool inverted = false ) const
overridevirtual

◆ containsPrim()

bool enzo::GroupSelectionComponent::containsPrim ( const geo::Primitive & prim) const
overridevirtual

◆ containsVertex()

bool enzo::GroupSelectionComponent::containsVertex ( const geo::Primitive & prim,
Index index,
Offset offset,
bool inverted = false ) const
overridevirtual

◆ isWholePrim()

bool enzo::GroupSelectionComponent::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: