The LocatorPass class inheriting from EventWatcher class and Pass class, representing a rendering pass specifically for Locator objects.
More...
#include <locatorpass.h>
The LocatorPass class inheriting from EventWatcher class and Pass class, representing a rendering pass specifically for Locator objects.
◆ LocatorPass()
| cil::LocatorPass::LocatorPass |
( |
const std::shared_ptr< Background > & | background, |
|
|
const std::shared_ptr< Camera > & | camera ) |
◆ ~LocatorPass()
| virtual cil::LocatorPass::~LocatorPass |
( |
| ) |
|
|
virtual |
◆ activeLocator()
| std::shared_ptr< Locator > cil::LocatorPass::activeLocator |
( |
| ) |
const |
◆ add()
| void cil::LocatorPass::add |
( |
const std::shared_ptr< AbstractLocator > & | locator | ) |
const |
Adds a locator to this rendering pass.
◆ begin()
Initiates the update process if there exists highlighted handler in this locator pass.
- Parameters
-
| r | A Ray object that originates from the cursor position on the 2D screen and extends into 3D space. |
- Returns
- Returns a boolean indicating whether the active locator exists.
◆ bind()
| void cil::LocatorPass::bind |
( |
const std::string & | name, |
|
|
std::function< void()> | callback ) |
◆ clear()
| void cil::LocatorPass::clear |
( |
| ) |
const |
◆ end()
| bool cil::LocatorPass::end |
( |
const Ray & | r | ) |
|
◆ handlerHilited()
| Color3f cil::LocatorPass::handlerHilited |
( |
| ) |
const |
◆ handlerNormal()
| Color3f cil::LocatorPass::handlerNormal |
( |
| ) |
const |
◆ locatorOutface()
| Color3f cil::LocatorPass::locatorOutface |
( |
| ) |
const |
◆ locatorOutline()
| Color3f cil::LocatorPass::locatorOutline |
( |
| ) |
const |
◆ remove()
| void cil::LocatorPass::remove |
( |
const std::shared_ptr< AbstractLocator > & | locator | ) |
const |
Removes a locator from this rendering pass.
◆ send()
| void cil::LocatorPass::send |
( |
const std::string & | name | ) |
|
◆ setHandlerHilited()
| void cil::LocatorPass::setHandlerHilited |
( |
const Color3f & | color | ) |
|
◆ setHandlerNormal()
| void cil::LocatorPass::setHandlerNormal |
( |
const Color3f & | color | ) |
|
◆ setLocatorOutface()
| void cil::LocatorPass::setLocatorOutface |
( |
const Color3f & | color | ) |
|
◆ setLocatorOutline()
| void cil::LocatorPass::setLocatorOutline |
( |
const Color3f & | color | ) |
|
◆ unbind()
| void cil::LocatorPass::unbind |
( |
const std::string & | name | ) |
|
◆ update()
| bool cil::LocatorPass::update |
( |
const Ray & | r | ) |
|
Synchronizes the locator pass's active locator and highlighted handler with the cursor position.