![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <modules/brushingandlinking/ports/brushingandlinkingports.h>
Public Types | |
| using | type = void |
Public Member Functions | |
| virtual bool | canConnectTo (const Port *port) const override |
| virtual void | deserialize (Deserializer &d) override |
| virtual std::string_view | getClassIdentifier () const override |
| virtual glm::uvec3 | getColorCode () const override |
| virtual DataInfo | getDataInfo () const override |
| virtual Document | getInfo () const override |
| BrushingAndLinkingManager & | getManager () |
| const BrushingAndLinkingManager & | getManager () const |
| virtual size_t | getMaxNumberOfConnections () const override |
| virtual void | serialize (Serializer &s) const override |
| void | setInvalidationLevels (std::vector< BrushingTargetsInvalidationLevel > invalidationLevels) |
| Public Member Functions inherited from inviwo::Inport | |
| virtual void | connectTo (Outport *outport) |
| virtual void | disconnectFrom (Outport *outport) |
| virtual const std::vector< const Outport * > & | getChangedOutports () const |
| virtual Outport * | getConnectedOutport () const |
| virtual const std::vector< Outport * > & | getConnectedOutports () const |
| virtual size_t | getNumberOfConnections () const |
| virtual bool | isChanged () const |
| virtual bool | isConnected () const override |
| virtual bool | isConnectedTo (const Outport *outport) const |
| bool | isOptional () const |
| virtual bool | isReady () const override |
| const BaseCallBack * | onChange (std::function< void()> lambda) |
| std::shared_ptr< std::function< void()> > | onChangeScoped (std::function< void()> lambda) |
| const BaseCallBack * | onConnect (std::function< void()> lambda) |
| std::shared_ptr< std::function< void()> > | onConnectScoped (std::function< void()> lambda) |
| std::shared_ptr< std::function< void(Outport *)> > | onConnectScoped (std::function< void(Outport *)> lambda) |
| const BaseCallBack * | onDisconnect (std::function< void()> lambda) |
| std::shared_ptr< std::function< void()> > | onDisconnectScoped (std::function< void()> lambda) |
| std::shared_ptr< std::function< void(Outport *)> > | onDisconnectScoped (std::function< void(Outport *)> lambda) |
| const BaseCallBack * | onInvalid (std::function< void()> lambda) |
| std::shared_ptr< std::function< void()> > | onInvalidScoped (std::function< void()> lambda) |
| virtual void | propagateEvent (Event *event, Outport *target=nullptr) |
| void | readyUpdate () |
| void | removeOnChange (const BaseCallBack *callback) |
| void | removeOnConnect (const BaseCallBack *callback) |
| void | removeOnDisconnect (const BaseCallBack *callback) |
| void | removeOnInvalid (const BaseCallBack *callback) |
| void | setIsReadyUpdater (std::function< bool()> updater) |
| void | setOptional (bool optional) |
| Public Member Functions inherited from inviwo::Port | |
| Document & | getHelp () |
| const Document & | getHelp () const |
| const std::string & | getIdentifier () const |
| std::string | getPath () const |
| Get the port path i.e. <processor identifier>.<port identifier>. | |
| void | getPath (std::pmr::string &out) const |
| Processor * | getProcessor () const |
| Port & | operator= (const Port &)=delete |
| Port & | operator= (Port &&)=delete |
| Port (const Port &)=delete | |
| Port (Port &&)=delete | |
| Port & | setHelp (Document help) |
| void | setIdentifier (const std::string &name) |
Protected Member Functions | |
| virtual void | invalidate (InvalidationLevel invalidationLevel) override |
| Protected Member Functions inherited from inviwo::Inport | |
| void | callOnChangeIfChanged () const |
| bool | circularConnection (const Port *port) const |
| Inport (std::string_view identifier, Document help) | |
| virtual void | setValid (const Outport *source) |
| Protected Member Functions inherited from inviwo::Port | |
| Port (std::string_view identifier, Document help) | |
| void | setProcessor (Processor *processor) |
Friends | |
| class | BrushingAndLinkingManager |
Additional Inherited Members | |
| Static Protected Member Functions inherited from inviwo::Inport | |
| static Document | getDefaultPortInfo (const Inport *port, std::string_view portname) |
| Protected Attributes inherited from inviwo::Inport | |
| std::vector< Outport * > | connectedOutports_ |
| StateCoordinator< bool > | isOptional_ |
| StateCoordinator< bool > | isReady_ |
| Protected Attributes inherited from inviwo::Port | |
| Document | help_ |
| std::string | identifier_ |
| Processor * | processor_ |
Enables selection/filtering/highlighting between processors. The inport has it's own BrushingManager and therefore does not need to be connected to a BrushingAndLinkingOutport to be valid.
Use setInvalidationLevels if you only want Processor::process to be called for a subset of brushing targets or actions. Use getModifiedActions if you want to know which BrushingModifications caused a Processor::process call.
|
overridevirtual |
Implements inviwo::Inport.
|
overridevirtual |
Reimplemented from inviwo::Port.
|
overridevirtual |
Implements inviwo::Port.
|
inlineoverridevirtual |
Returns the RGB color code used to colorize all ports of this type. This color code is for instance used in the NetworkEditor. To distinguish different port types through their color, this method should be overloaded in derived classes.
Implements inviwo::Port.
|
overridevirtual |
Implements inviwo::Port.
|
overridevirtual |
This function should describe the state of the port and the data it holds. Derived ports should extend this function and add information about their state. The port help is usually included in this information. The description is usually shown as a tooltip in the GUI.
Implements inviwo::Port.
|
inlineoverridevirtual |
Implements inviwo::Inport.
|
overrideprotectedvirtual |
Called by Outport::invalidate on its connected inports, which is call by Processor::invalidate. Will by default invalidate its processor. From above in the network.
Reimplemented from inviwo::Inport.
|
overridevirtual |
Reimplemented from inviwo::Port.
| void inviwo::BrushingAndLinkingInport::setInvalidationLevels | ( | std::vector< BrushingTargetsInvalidationLevel > | invalidationLevels | ) |
Inport constructor for BrushingAndLinkingManager.