|
| ResizeEvent (size2_t newSize) |
|
| ResizeEvent (size2_t newSize, size2_t previousSize) |
|
| ResizeEvent (const ResizeEvent &rhs)=default |
|
ResizeEvent & | operator= (const ResizeEvent &that)=default |
|
virtual ResizeEvent * | clone () const override |
|
virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) override |
|
size2_t | size () const |
|
size2_t | previousSize () const |
|
void | setSize (size2_t csize) |
|
void | setPreviousSize (size2_t previousSize) |
|
virtual uint64_t | hash () const override |
|
virtual void | print (std::ostream &ss) const override |
|
bool | markAsUsed () |
|
bool | hasBeenUsed () const |
|
bool | markAsUnused () |
|
bool | setUsed (bool isUsed) |
|
bool | markAsVisited (Processor *) |
|
void | markAsVisited (Event &) |
|
bool | hasVisitedProcessor (Processor *) const |
|
const std::vector< Processor * > & | getVisitedProcessors () const |
|
template<typename EventType > |
EventType * | getAs () |
|
template<typename EventType > |
const EventType * | getAs () const |
|
Event propagating image/canvas size changes upwards in the network. Image inports and outports within a processor must be in the same group for the event to be propagated.
As soon as the network adds or removes a connection, all the image sinks (processors that consume images) are responsible for pushing a new resize event to the network to make sure that all the image ports in the network above it have an up-to-date view on which image sizes to use. (
- See also
- ImageExport,
-
CanvasProcessorWidget)
-
BaseImageInport
-
ImageOutport
-
Processor::addPort