|
|
| WorkspaceAnnotationsQt (InviwoApplication *app=util::getInviwoApplication()) |
|
| WorkspaceAnnotationsQt (const QImage &network, const std::vector< std::pair< std::string, QImage > > &canvasImages, InviwoApplication *app=util::getInviwoApplication()) |
|
| WorkspaceAnnotationsQt (const std::filesystem::path &path, InviwoApplication *app=util::getInviwoApplication()) |
|
void | setNetworkImage (const QImage &network) |
|
const Base64Image & | getNetworkImage () const |
|
const QImage & | getNetworkQImage () const |
|
const QImage & | getCanvasQImage (size_t i) const |
|
const QImage & | getPrimaryCanvasQImage () const |
|
void | setCanvasImages (const std::vector< std::pair< std::string, QImage > > &canvasImages) |
| virtual void | serialize (Serializer &s) const override |
| virtual void | deserialize (Deserializer &d) override |
|
const std::vector< ProcessorShim > & | getProcessorList () const |
|
const std::map< std::string, int > | getProcessorCounts () const |
|
void | setCanvasImages (const std::vector< Base64Image > &canvases) |
|
| WorkspaceAnnotations (InviwoApplication *app=util::getInviwoApplication()) |
|
| WorkspaceAnnotations (const std::vector< Base64Image > &canvasImages, InviwoApplication *app=util::getInviwoApplication()) |
|
| WorkspaceAnnotations (const std::filesystem::path &path, InviwoApplication *app=util::getInviwoApplication()) |
|
void | setTitle (const std::string &title) |
|
const std::string & | getTitle () const |
|
void | setAuthor (const std::string &author) |
|
const std::string & | getAuthor () const |
|
void | setTags (const std::string &tags) |
|
const std::string & | getTags () const |
|
void | setCategories (const std::string &cat) |
|
const std::string & | getCategories () const |
|
void | setDescription (const std::string &desc) |
|
const std::string & | getDescription () const |
|
void | setCanvasImages (const std::vector< Base64Image > &canvases) |
|
size_t | numberOfCanvases () const |
|
const Base64Image & | getCanvasImage (size_t i) const |
|
const Base64Image * | getPrimaryCanvasImage () const |
|
std::optional< size_t > | getPrimaryCanvasIndex () const |
|
const std::vector< Base64Image > & | getCanvasImages () const |
| virtual InviwoApplication * | getInviwoApplication () override |
|
ModifiedHandle | onModified (const ModifiedCallback &callback) |
|
PropertyOwner & | operator= (const PropertyOwner &that)=delete |
|
virtual | ~PropertyOwner () |
| | Removes all properties and notifies its observers of the removal.
|
|
void | addProperty (Property *property, bool owner=true) |
|
void | addProperty (Property &property) |
|
Property * | addProperty (std::unique_ptr< Property > property) |
|
template<typename... Ts> |
| void | addProperties (Ts &... properties) |
| void | insertProperty (size_t index, Property &property) |
| | insert property property at position index If index is not valid, the property is appended.
|
| Property * | insertProperty (size_t index, std::unique_ptr< Property > property) |
| | insert property property at position index If index is not valid, the property is appended.
|
| virtual void | insertProperty (size_t index, Property *property, bool owner=true) |
| | insert property property at position index If index is not valid, the property is appended.
|
|
Property * | removeProperty (std::string_view identifier) |
|
Property * | removeProperty (Property *property) |
|
Property * | removeProperty (Property &property) |
| Property * | removeProperty (size_t index) |
| | remove property referred to by index
|
|
virtual Property * | removeProperty (iterator it) |
|
virtual bool | move (Property *property, size_t newIndex) |
| virtual void | clear () |
| | Remove all properties; Owned properties will be deleted.
|
|
virtual const std::string & | getIdentifier () const |
|
const std::vector< Property * > & | getProperties () const |
|
const std::vector< CompositeProperty * > & | getCompositeProperties () const |
|
std::vector< Property * > | getPropertiesRecursive () const |
|
std::vector< Property * > & | getPropertiesRecursive (std::vector< Property * > &destination) const |
|
Property * | getPropertyByIdentifier (std::string_view identifier, bool recursiveSearch=false) const |
|
Property * | getPropertyByPath (std::string_view path) const |
|
template<class T> |
| std::vector< T * > | getPropertiesByType (bool recursiveSearch=false) const |
|
bool | empty () const |
|
size_t | size () const |
|
Property * | operator[] (size_t) |
|
const Property * | operator[] (size_t) const |
|
const_iterator | find (Property *property) const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
virtual bool | isValid () const |
| virtual void | setValid () |
|
InvalidationLevel | getInvalidationLevel () const |
|
virtual Processor * | getProcessor () |
|
virtual const Processor * | getProcessor () const |
|
virtual const PropertyOwner * | getOwner () const |
|
virtual PropertyOwner * | getOwner () |
|
virtual void | setAllPropertiesCurrentStateAsDefault () |
|
virtual void | resetAllProperties () |
| virtual void | invokeEvent (Event *event) override |
|
void | notifyObserversWillAddProperty (PropertyOwner *owner, Property *property, size_t index) |
|
void | notifyObserversDidAddProperty (Property *property, size_t index) |
|
void | notifyObserversWillRemoveProperty (Property *property, size_t index) |
|
void | notifyObserversDidRemoveProperty (PropertyOwner *owner, Property *property, size_t index) |
| Observable< PropertyOwnerObserver > & | operator= (const Observable< PropertyOwnerObserver > &other) |
|
void | addObserver (PropertyOwnerObserver *observer) |
|
void | removeObserver (PropertyOwnerObserver *observer) |
|
bool | isObservedBy (PropertyOwnerObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
|
|
using | ModifiedDispatcher = Dispatcher<void()> |
|
using | ModifiedCallback = typename ModifiedDispatcher::Callback |
|
using | ModifiedHandle = typename ModifiedDispatcher::Handle |
|
using | iterator = std::vector<Property*>::iterator |
|
using | const_iterator = std::vector<Property*>::const_iterator |
| virtual void | invalidate (InvalidationLevel invalidationLevel, Property *modifiedProperty) override |
|
| PropertyOwner (const PropertyOwner &rhs) |
|
| PropertyOwner (PropertyOwner &&rhs) |
|
PropertyOwner & | operator= (PropertyOwner &&that) |
|
void | forEachProperty (std::function< void(Property &)> callback, bool recursiveSearch=false) const |
|
void | forEachObserver (C callback) |
|
virtual void | addObserver (Observer *observer)=0 |
|
virtual void | removeObserver (Observer *observer)=0 |
|
void | addObservationHelper (Observer *observer) |
|
void | removeObservationHelper (Observer *observer) |
|
StringProperty | title_ |
|
StringProperty | author_ |
|
StringProperty | tags_ |
|
StringProperty | categories_ |
|
StringProperty | description_ |
|
StringProperty | primaryCanvasId_ |
|
std::vector< Base64Image > | canvases_ |
|
InviwoApplication * | app_ |
|
ModifiedDispatcher | modified_ |
|
std::vector< Property * > | properties_ |
|
std::vector< EventProperty * > | eventProperties_ |
|
std::vector< CompositeProperty * > | compositeProperties_ |
|
std::vector< std::unique_ptr< Property > > | ownedProperties_ |