API Documentation
Loading...
Searching...
No Matches
SelectionEffect.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Model.h>
4namespace NDEVR
5{
6 class DesignObjectLookup;
8 {
9 public:
10 virtual void applySelectionEffect(Model& model, DesignObjectLookup* lookup) = 0;
11 virtual void removeSelectionEffect(Model& model, DesignObjectLookup* lookup) = 0;
12 };
13
15 {
16 public:
18 void applySelectionEffect(Model& model, DesignObjectLookup* lookup) override;
19 void removeSelectionEffect(Model& model, DesignObjectLookup* lookup) override;
20 void setUseGrips(bool use_grips);
21 void setUseVertexHighlights(bool use);
22 protected:
23
24 virtual void _setupBoundingBox(Model& target, bool attach, DesignObjectLookup* lookup);
25 virtual void _setupVertexHighlighting(Model& target, bool use_highlighting, DesignObjectLookup* lookup);
26 protected:
32 };
33}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:77
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition SelectionEffect.h:15
bool m_use_grips
Definition SelectionEffect.h:27
Buffer< Model > selected_models
Definition SelectionEffect.h:31
Dictionary< UUID, UUID > m_bounding_box
Definition SelectionEffect.h:29
Dictionary< UUID, UUID > m_grips_box
Definition SelectionEffect.h:30
bool m_use_vertex_hightlights
Definition SelectionEffect.h:28
Definition DesignObjectLookup.h:61
Definition Dictionary.h:48
Definition Model.h:54
Definition SelectionEffect.h:8
virtual void removeSelectionEffect(Model &model, DesignObjectLookup *lookup)=0
virtual void applySelectionEffect(Model &model, DesignObjectLookup *lookup)=0
Definition ACIColor.h:37