API Documentation
Loading...
Searching...
No Matches
DefaultSelectionEffect Class Reference

#include <SelectionEffect.h>

Inheritance diagram for DefaultSelectionEffect:
[legend]
Collaboration diagram for DefaultSelectionEffect:
[legend]

Public Member Functions

 DefaultSelectionEffect ()
 
void applySelectionEffect (Model &model, DesignObjectLookup *lookup) override
 
void removeSelectionEffect (Model &model, DesignObjectLookup *lookup) override
 
void setUseGrips (bool use_grips)
 
void setUseVertexHighlights (bool use)
 
- Public Member Functions inherited from SelectionEffect

Protected Member Functions

virtual void _setupBoundingBox (Model &target, bool attach, DesignObjectLookup *lookup)
 
virtual void _setupVertexHighlighting (Model &target, bool use_highlighting, DesignObjectLookup *lookup)
 

Protected Attributes

bool m_use_grips
 
bool m_use_vertex_hightlights
 
Dictionary< UUID, UUIDm_bounding_box
 
Dictionary< UUID, UUIDm_grips_box
 
Buffer< Modelselected_models
 

Constructor & Destructor Documentation

◆ DefaultSelectionEffect()

Member Function Documentation

◆ _setupBoundingBox()

void _setupBoundingBox ( Model & target,
bool attach,
DesignObjectLookup * lookup )
protectedvirtual

◆ _setupVertexHighlighting()

void _setupVertexHighlighting ( Model & target,
bool use_highlighting,
DesignObjectLookup * lookup )
protectedvirtual

◆ applySelectionEffect()

void applySelectionEffect ( Model & model,
DesignObjectLookup * lookup )
overridevirtual

Implements SelectionEffect.

◆ removeSelectionEffect()

void removeSelectionEffect ( Model & model,
DesignObjectLookup * lookup )
overridevirtual

Implements SelectionEffect.

◆ setUseGrips()

void setUseGrips ( bool use_grips)

◆ setUseVertexHighlights()

void setUseVertexHighlights ( bool use)

Member Data Documentation

◆ m_bounding_box

Dictionary<UUID, UUID> m_bounding_box
protected

◆ m_grips_box

Dictionary<UUID, UUID> m_grips_box
protected

◆ m_use_grips

bool m_use_grips
protected

◆ m_use_vertex_hightlights

bool m_use_vertex_hightlights
protected

◆ selected_models

Buffer<Model> selected_models
protected

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