#include <producer.h>
Public Member Functions | |
| SelectionProducer (const std::shared_ptr< Renderer > &renderer, const std::shared_ptr< Camera > &camera, const std::shared_ptr< Vector2i > &backgroundSize, const std::shared_ptr< Vector2i > &windowSize) | |
| virtual | ~SelectionProducer () |
| std::shared_ptr< Vector2i > | windowSize () |
| void | toPixel (int x, int y) |
| void | toBox (int x1, int y1, int x2, int y2) |
| void | toWindow () |
| void | updatePass () |
| void | updatePassBatch () |
Protected Attributes | |
| std::shared_ptr< Renderer > | m_renderer |
| std::shared_ptr< Camera > | m_initcamera |
| std::shared_ptr< Vector2i > | m_backgroundSize |
| std::shared_ptr< Vector2i > | m_windowSize |
| std::shared_ptr< Scene > | m_scene |
| std::shared_ptr< Pass > | m_pass |
| cil::SelectionProducer::SelectionProducer | ( | const std::shared_ptr< Renderer > & | renderer, |
| const std::shared_ptr< Camera > & | camera, | ||
| const std::shared_ptr< Vector2i > & | backgroundSize, | ||
| const std::shared_ptr< Vector2i > & | windowSize ) |
|
virtual |
| void cil::SelectionProducer::toBox | ( | int | x1, |
| int | y1, | ||
| int | x2, | ||
| int | y2 ) |
| void cil::SelectionProducer::toPixel | ( | int | x, |
| int | y ) |
| void cil::SelectionProducer::toWindow | ( | ) |
| void cil::SelectionProducer::updatePass | ( | ) |
| void cil::SelectionProducer::updatePassBatch | ( | ) |
| std::shared_ptr< Vector2i > cil::SelectionProducer::windowSize | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |