#include <brushingandlinkingports.h>
Enables selection/filtering/highlighting between processors. The BrushingAndLinkingOutport can be connected to several BrushingAndLinkingInports in order to share information.
- See also
- BrushingAndLinkingManager
◆ clear()
virtual void inviwo::BrushingAndLinkingOutport::clear |
( |
| ) |
|
|
inlineoverridevirtual |
◆ deserialize()
virtual void inviwo::BrushingAndLinkingOutport::deserialize |
( |
Deserializer & | d | ) |
|
|
overridevirtual |
◆ getClassIdentifier()
virtual std::string_view inviwo::BrushingAndLinkingOutport::getClassIdentifier |
( |
| ) |
const |
|
overridevirtual |
◆ getColorCode()
virtual glm::uvec3 inviwo::BrushingAndLinkingOutport::getColorCode |
( |
| ) |
const |
|
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.
◆ getInfo()
virtual Document inviwo::BrushingAndLinkingOutport::getInfo |
( |
| ) |
const |
|
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.
◆ getInvalidationLevels()
Returns the types of targets and actions causing the owning processor to invalidate.
◆ hasData()
virtual bool inviwo::BrushingAndLinkingOutport::hasData |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ invalidate()
virtual void inviwo::BrushingAndLinkingOutport::invalidate |
( |
InvalidationLevel | invalidationLevel | ) |
|
|
overridevirtual |
Overrides the provided invalidationLevel with that of the BrushingAngLinkingManager. Will invalidate its connected inports if any of the BrushingModifications overlap with the modified brushing targets and actions provided by getInvalidationLevels
- Parameters
-
- Note
- Port is set to valid after its processor successfully finished processing.
Reimplemented from inviwo::Outport.
◆ serialize()
virtual void inviwo::BrushingAndLinkingOutport::serialize |
( |
Serializer & | s | ) |
const |
|
overridevirtual |
◆ setInvalidationLevels()
Set the types of brushing targets and actions that should invalidate the owning processor. Enables processors to only handle certain types of filter/selection/highlight actions.
{
{{BrushingTarget::Row}, BrushingModification::Filtered, InvalidationLevel::InvalidOutput},
{{BrushingTarget::Column}, BrushingModification::Selected,
InvalidationLevel::InvalidOutput}
}
);
{
{BrushingModification::Filtered | BrushingModification::Selected,
InvalidationLevel::InvalidOutput}
}
);
void setInvalidationLevels(std::vector< BrushingTargetsInvalidationLevel > invalidationLevels)
◆ setValid()
virtual void inviwo::BrushingAndLinkingOutport::setValid |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- brushingandlinkingports.h