Inviwo  0.9.10.1
Inviwo documentation
inviwo::BrushingAndLinkingInport Class Reference
+ Inheritance diagram for inviwo::BrushingAndLinkingInport:

Public Member Functions

 BrushingAndLinkingInport (std::string identifier)
 
void sendFilterEvent (const std::unordered_set< size_t > &indices)
 
void sendSelectionEvent (const std::unordered_set< size_t > &indices)
 
void sendColumnSelectionEvent (const std::unordered_set< size_t > &indices)
 
bool isFiltered (size_t idx) const
 
bool isSelected (size_t idx) const
 
bool isColumnSelected (size_t idx) const
 
const std::unordered_set< size_t > & getSelectedIndices () const
 
const std::unordered_set< size_t > & getFilteredIndices () const
 
const std::unordered_set< size_t > & getSelectedColumns () const
 
virtual std::string getClassIdentifier () const override
 
- Public Member Functions inherited from inviwo::DataInport< BrushingAndLinkingManager >
 DataInport (std::string identifier)
 
virtual uvec3 getColorCode () const override
 
virtual Document getInfo () const override
 
virtual size_t getMaxNumberOfConnections () const override
 
virtual bool canConnectTo (const Port *port) const override
 
virtual void connectTo (Outport *port) override
 
virtual bool isConnected () const override
 
virtual std::shared_ptr< const BrushingAndLinkingManagergetData () const
 
virtual std::vector< std::shared_ptr< const BrushingAndLinkingManager > > getVectorData () const
 
virtual std::vector< std::pair< Outport *, std::shared_ptr< const BrushingAndLinkingManager > > > getSourceVectorData () const
 
bool hasData () const
 
- Public Member Functions inherited from inviwo::Inport
virtual bool isReady () const override
 
void setOptional (bool optional)
 
bool isOptional () const
 
virtual bool isChanged () const
 
virtual void disconnectFrom (Outport *outport)
 
virtual bool isConnectedTo (const Outport *outport) const
 
virtual OutportgetConnectedOutport () const
 
virtual const std::vector< Outport * > & getConnectedOutports () const
 
virtual size_t getNumberOfConnections () const
 
virtual std::vector< const Outport * > getChangedOutports () const
 
virtual void propagateEvent (Event *event, Outport *target=nullptr)
 
template<typename T >
const BaseCallBack * onChange (T *o, void(T::*m)())
 
const BaseCallBack * onChange (std::function< void()> lambda)
 
template<typename T >
const BaseCallBack * onInvalid (T *o, void(T::*m)())
 
const BaseCallBack * onInvalid (std::function< void()> lambda)
 
const BaseCallBack * onConnect (std::function< void()> lambda)
 
const BaseCallBack * onDisconnect (std::function< void()> lambda)
 
void removeOnChange (const BaseCallBack *callback)
 
template<typename T >
void removeOnChange (T *o)
 
void removeOnInvalid (const BaseCallBack *callback)
 
template<typename T >
void removeOnInvalid (T *o)
 
void removeOnConnect (const BaseCallBack *callback)
 
void removeOnDisconnect (const BaseCallBack *callback)
 
- Public Member Functions inherited from inviwo::Port
std::string getIdentifier () const
 
void setIdentifier (const std::string &name)
 
ProcessorgetProcessor () const
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) override
 
- Public Member Functions inherited from inviwo::InportIterable< T, Flat >
 InportIterable (std::vector< Outport * > *connections)
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

std::unordered_set< size_t > filterCache_
 
std::unordered_set< size_t > selectionCache_
 
std::unordered_set< size_t > selectionColumnCache_
 

Additional Inherited Members

- Public Types inherited from inviwo::DataInport< BrushingAndLinkingManager >
using type = BrushingAndLinkingManager
 
- Protected Member Functions inherited from inviwo::Inport
 Inport (std::string identifier="")
 
virtual void invalidate (InvalidationLevel invalidationLevel)
 
virtual void setValid (const Outport *source)
 
void readyUpdate ()
 
virtual void setChanged (bool changed=true, const Outport *source=nullptr)
 
void callOnChangeIfChanged () const
 
- Protected Member Functions inherited from inviwo::Port
 Port (std::string identifier="")
 
void setProcessor (Processor *processor)
 
- Protected Attributes inherited from inviwo::Inport
StateCoordinator< bool > isReady_
 
StateCoordinator< bool > isOptional_
 
std::vector< Outport * > connectedOutports_
 
- Protected Attributes inherited from inviwo::Port
std::string identifier_
 
Processorprocessor_
 

The documentation for this class was generated from the following files: