![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
data structure representing isovalues More...
#include <isovaluecollection.h>
Public Member Functions | |
| IsoValueCollection (const std::vector< TFPrimitiveData > &values={}, TFPrimitiveSetType type=TFPrimitiveSetType::Relative) | |
| IsoValueCollection (const IsoValueCollection &rhs)=default | |
| IsoValueCollection (IsoValueCollection &&rhs)=default | |
| IsoValueCollection & | operator= (const IsoValueCollection &rhs)=default |
| Public Member Functions inherited from inviwo::TFPrimitiveSet | |
| TFPrimitiveSet (const std::vector< TFPrimitiveData > &values={}, TFPrimitiveSetType type=TFPrimitiveSetType::Relative) | |
| TFPrimitiveSet (const TFPrimitiveSet &rhs) | |
| TFPrimitiveSet (TFPrimitiveSet &&rhs) noexcept=default | |
| TFPrimitiveSet & | operator= (const TFPrimitiveSet &rhs) |
| TFPrimitiveSet & | operator= (TFPrimitiveSet &&rhs) noexcept |
| void | setType (TFPrimitiveSetType type) |
| TFPrimitiveSetType | getType () const |
| dvec2 | getRange () const |
| size_t | size () const |
| bool | empty () const |
| TFPrimitive & | operator[] (size_t i) |
| const TFPrimitive & | operator[] (size_t i) const |
| TFPrimitive & | get (size_t i) |
| const TFPrimitive & | get (size_t i) const |
| TFPrimitive & | front () |
| const TFPrimitive & | front () const |
| TFPrimitive & | back () |
| const TFPrimitive & | back () const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| std::vector< TFPrimitiveData > | get () const |
| std::vector< TFPrimitiveData > | getUnsorted () const |
| void | set (std::span< const TFPrimitiveData >) |
| void | set (const_iterator begin, const_iterator end) |
| std::pair< std::vector< double >, std::vector< vec4 > > | getVectors () const |
| std::pair< std::vector< float >, std::vector< vec4 > > | getVectorsf () const |
| std::vector< double > | getPositions () const |
| std::vector< float > | getPositionsf () const |
| std::vector< vec4 > | getColors () const |
| TFPrimitive & | add (const TFPrimitive &primitive) |
| TFPrimitive & | add (double pos, const vec4 &color) |
| TFPrimitive & | add (double pos, double alpha) |
| TFPrimitive & | add (const dvec2 &pos) |
| TFPrimitive & | add (const TFPrimitiveData &data) |
| void | add (const std::vector< TFPrimitiveData > &primitives) |
| bool | remove (const TFPrimitive &primitive) |
| void | clear () |
| void | setPosition (std::span< TFPrimitive * > primitives, double pos) |
| virtual void | onTFPrimitiveChange (const TFPrimitive &p) override |
| virtual void | serialize (Serializer &s) const override |
| virtual void | deserialize (Deserializer &d) override |
| virtual void | interpolateAndStoreColors (std::span< vec4 > data) const |
| bool | operator== (const std::vector< TFPrimitiveData > &rhs) const |
| bool | contains (const TFPrimitive *primitive) const |
| Public Member Functions inherited from inviwo::Observable< TFPrimitiveSetObserver > | |
| Observable< TFPrimitiveSetObserver > & | operator= (const Observable< TFPrimitiveSetObserver > &other) |
| void | addObserver (TFPrimitiveSetObserver *observer) |
| void | removeObserver (TFPrimitiveSetObserver *observer) |
| bool | isObservedBy (TFPrimitiveSetObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
| Public Member Functions inherited from inviwo::Observer | |
| Observer (const Observer &other) | |
| Observer (Observer &&other) | |
| Observer & | operator= (Observer &&other) |
| Observer & | operator= (const Observer &other) |
| virtual | ~Observer () |
| void | removeObservation (ObservableInterface *observable) |
| void | removeObservations () |
Static Public Member Functions | |
| static IsoValueCollection | load (std::string_view path) |
| static void | save (const IsoValueCollection &tf, std::string_view path) |
Protected Member Functions | |
| virtual std::string_view | serializationKey () const override |
| virtual std::string_view | serializationItemKey () const override |
| Protected Member Functions inherited from inviwo::TFPrimitiveSet | |
| void | verifyPoint (double pos) const |
| void | verifyPoint (const TFPrimitiveData &primitive) const |
| void | verifyPoint (const TFPrimitive &primitive) const |
| TFPrimitive & | add (std::unique_ptr< TFPrimitive > primitive) |
| bool | remove (std::vector< std::unique_ptr< TFPrimitive > >::iterator it) |
| void | sort () |
| vec4 | interpolateColor (double t) const |
| Protected Member Functions inherited from inviwo::TFPrimitiveSetObservable | |
| void | notifyTFPrimitiveAdded (const TFPrimitiveSet &set, TFPrimitive &p) |
| void | notifyTFPrimitiveRemoved (const TFPrimitiveSet &set, TFPrimitive &p) |
| void | notifyTFPrimitiveChanged (const TFPrimitiveSet &set, const TFPrimitive &p) |
| void | notifyTFTypeChanged (const TFPrimitiveSet &set, TFPrimitiveSetType type) |
| void | notifyTFMaskChanged (const TFPrimitiveSet &set, dvec2 mask) |
| Protected Member Functions inherited from inviwo::Observable< TFPrimitiveSetObserver > | |
| void | forEachObserver (C callback) |
| Protected Member Functions inherited from inviwo::ObservableInterface | |
| virtual void | addObserver (Observer *observer)=0 |
| virtual void | removeObserver (Observer *observer)=0 |
| void | addObservationHelper (Observer *observer) |
| void | removeObservationHelper (Observer *observer) |
| Protected Member Functions inherited from inviwo::Observer | |
| void | addObservation (ObservableInterface *observable) |
Additional Inherited Members | |
| Public Types inherited from inviwo::TFPrimitiveSet | |
| using | transform_t = TFPrimitive& (*)(TFPrimitive*) |
| using | const_transform_t = const TFPrimitive& (*)(const TFPrimitive*) |
| using | iterator |
| using | const_iterator |
| Protected Attributes inherited from inviwo::TFPrimitiveSet | |
| std::vector< std::unique_ptr< TFPrimitive > > | values_ |
| std::vector< TFPrimitive * > | sorted_ |
| Protected Attributes inherited from inviwo::Observer | |
| std::unordered_set< ObservableInterface * > | observables_ |
data structure representing isovalues
|
overrideprotectedvirtual |
Reimplemented from inviwo::TFPrimitiveSet.
|
overrideprotectedvirtual |
Reimplemented from inviwo::TFPrimitiveSet.