|
IVW_CORE_API mat4 | boundingBox (const Mesh &mesh) |
|
IVW_CORE_API mat4 | boundingBox (const std::vector< std::shared_ptr< const Mesh >> &meshes) |
|
IVW_CORE_API mat4 | boundingBox (const Volume &volume) |
|
IVW_CORE_API mat4 | boundingBox (const std::vector< std::shared_ptr< Volume >> &volumes) |
|
IVW_CORE_API InviwoApplication * | getInviwoApplication (ProcessorNetwork *) |
|
IVW_CORE_API InviwoApplication * | getInviwoApplication (Processor *) |
|
IVW_CORE_API InviwoApplication * | getInviwoApplication (PropertyOwner *) |
|
IVW_CORE_API InviwoApplication * | getInviwoApplication (Property *) |
|
IVW_CORE_API InviwoApplication * | getInviwoApplication () |
|
std::shared_ptr< IndexBuffer > | makeIndexBuffer (std::vector< std::uint32_t > &&data) |
|
template<typename T = vec3, BufferUsage U = BufferUsage::Static, BufferTarget Target = BufferTarget::Data> |
std::shared_ptr< Buffer< T, Target > > | makeBuffer (std::vector< T > &&data) |
|
IVW_CORE_API uvec3 | getDataFormatColor (NumericType t, size_t comp, size_t size) |
|
IVW_CORE_API std::string | appendIfNotEmpty (const std::string &a, const std::string &b) |
|
IVW_CORE_API void | registerCoreRepresentations (InviwoModule &obj) |
|
IVW_CORE_API void | registerCoreRepresentations (RepresentationFactoryManager &obj) |
|
template<typename T > |
HistogramContainer | calculateVolumeHistogram (const T *data, size3_t dimensions, dvec2 dataRange, const bool &stop=false, size_t bins=2048, size3_t sampleRate=size3_t(1)) |
|
template<typename... Args> |
void | printEvent (std::ostream &os, const std::string &event, Args... args) |
|
void IVW_CORE_API | readBytesIntoBuffer (const std::string &file, size_t offset, size_t bytes, bool littleEndian, size_t elementSize, void *dest) |
|
IVW_CORE_API void | saveLayer (const Layer &layer, const std::string &path, const FileExtension &extension=FileExtension()) |
|
IVW_CORE_API void | saveLayer (const Layer &layer) |
|
IVW_CORE_API std::string | formatSerializationError (const std::string &name, const std::string &src, const std::string &dst, const std::string &err) |
|
IVW_CORE_API void | renamePort (Deserializer &d, std::vector< std::pair< const Port *, std::string >> rules) |
|
IVW_CORE_API void | renameProperty (Deserializer &d, std::vector< std::pair< const Property *, std::string >> rules, std::string path="Properties") |
|
IVW_CORE_API void | changePropertyType (Deserializer &d, std::vector< std::pair< const Property *, std::string >> rules) |
|
IVW_CORE_API std::unordered_set< Processor * > | getDirectPredecessors (Processor *processor) |
|
IVW_CORE_API std::unordered_set< Processor * > | getDirectSuccessors (Processor *processor) |
|
IVW_CORE_API std::unordered_set< Processor * > | getPredecessors (Processor *processor) |
|
IVW_CORE_API std::unordered_set< Processor * > | getSuccessors (Processor *processor) |
|
template<TraversalDirection D, VisitPattern V, typename Func > |
void | traverseNetwork (std::unordered_set< Processor * > &state, Processor *processor, Func f) |
|
IVW_CORE_API std::vector< Processor * > | topologicalSort (ProcessorNetwork *network) |
|
IVW_CORE_API std::vector< ivec2 > | getPositions (const std::vector< Processor * > &processors) |
|
IVW_CORE_API std::vector< ivec2 > | getPositions (ProcessorNetwork *network) |
|
IVW_CORE_API ivec2 | getCenterPosition (const std::vector< Processor * > &processors) |
|
IVW_CORE_API ivec2 | getCenterPosition (ProcessorNetwork *network) |
|
IVW_CORE_API std::pair< ivec2, ivec2 > | getBoundingBox (const std::vector< Processor * > &processors) |
|
IVW_CORE_API std::pair< ivec2, ivec2 > | getBoundingBox (ProcessorNetwork *network) |
|
IVW_CORE_API void | offsetPosition (const std::vector< Processor * > &processors, ivec2 offset) |
|
IVW_CORE_API void | setSelected (const std::vector< Processor * > &processors, bool selected) |
|
IVW_CORE_API void | serializeSelected (ProcessorNetwork *network, std::ostream &os, const std::string &refPath) |
|
IVW_CORE_API std::vector< Processor * > | appendDeserialized (ProcessorNetwork *network, std::istream &is, const std::string &refPath, InviwoApplication *app) |
|
IVW_CORE_API bool | addProcessorOnConnection (ProcessorNetwork *network, std::unique_ptr< Processor > processor, PortConnection connection) |
|
IVW_CORE_API void | replaceProcessor (ProcessorNetwork *network, std::unique_ptr< Processor > newProcessor, Processor *oldProcessor) |
|
void IVW_CORE_API | updateWorkspaces (InviwoApplication *app) |
|
void IVW_CORE_API | updateRegressionWorkspaces (InviwoApplication *app) |
|
void IVW_CORE_API | updateWorkspaces (InviwoApplication *app, const std::string &path) |
|
IVW_CORE_API void | replaceSelectionWithCompositeProcessor (ProcessorNetwork &network) |
|
IVW_CORE_API void | expandCompositeProcessorIntoNetwork (CompositeProcessor &composite) |
|
Tags IVW_CORE_API | getPlatformTags (const Tags &t) |
|
IVW_CORE_API const ProcessorMetaData * | getMetaData (const Processor *processor) |
|
IVW_CORE_API ProcessorMetaData * | getMetaData (Processor *processor) |
|
IVW_CORE_API ivec2 | getPosition (const Processor *processor) |
|
IVW_CORE_API void | setPosition (Processor *processor, ivec2 pos) |
|
IVW_CORE_API bool | isSelected (const Processor *processor) |
|
IVW_CORE_API void | setSelected (Processor *processor, bool selected) |
|
template<typename T , typename... Args> |
std::unique_ptr< T > | makeProcessor (ivec2 pos, Args &&... args) |
|
IVW_CORE_API void | debugBreak () |
|
IVW_CORE_API void | reverse (BufferBase &b) |
|
BuildInfo IVW_CORE_API | getBuildInfo () |
| Accesses build information via an INI file or compile-time definitions. More...
|
|
template<size_t len> |
constexpr uint64_t | constexpr_hash (const char(&str)[len]) |
|
template<typename T , typename std::enable_if< HasEnumName< T >::value, std::size_t >::type = 0> |
std::string | enumName () |
|
template<typename Iterable , typename Callback > |
void | forEach (const Iterable &iterable, Callback &&callback) |
|
template<typename Iterable , typename Callback , typename OnDoneCallback > |
std::vector< std::future< void > > | forEachParallelAsync (const Iterable &iterable, Callback &&callback, size_t jobs, OnDoneCallback &&onTaskDone) |
|
template<typename Iterable , typename Callback > |
std::vector< std::future< void > > | forEachParallelAsync (const Iterable &iterable, Callback &&callback, size_t jobs=0) |
|
template<typename Iterable , typename Callback > |
void | forEachParallel (const Iterable &iterable, Callback &&callback, size_t jobs=0) |
|
template<class F , class... Args> |
auto | for_each_argument (F &&f, Args &&... args) |
|
template<typename F , typename TupleType > |
void | for_each_in_tuple (F &&f, TupleType &&t) |
|
template<typename F , typename TupleType1 , typename TupleType2 > |
void | for_each_in_tuple (F &&f, TupleType1 &&t1, TupleType2 &&t2) |
|
IVW_CORE_API glm::u64 | bytes_to_kilobytes (glm::u64 bytes) |
|
IVW_CORE_API glm::u64 | bytes_to_megabytes (glm::u64 bytes) |
|
IVW_CORE_API glm::u64 | kilobytes_to_bytes (glm::u64 bytes) |
|
IVW_CORE_API glm::u64 | megabytes_to_bytes (glm::u64 bytes) |
|
IVW_CORE_API std::string | formatBytesToString (glm::u64 bytes) |
|
template<typename T > |
constexpr NumericType | getNumericType () |
|
template<typename T > |
bool | isfinite (const T &v) |
|
template<glm::length_t L, typename T , glm::qualifier Q> |
glm::vec< L, bool, Q > | isfinite (const glm::vec< L, T, Q > &x) |
|
template<> |
IVW_CORE_API bool | isfinite (const half_float::half &v) |
|
template<typename T > |
bool | isnan (const T &v) |
|
template<glm::length_t L, typename T , glm::qualifier Q> |
glm::vec< L, bool, Q > | isnan (const glm::vec< L, T, Q > &x) |
|
template<> |
IVW_CORE_API bool | isnan (const half_float::half &v) |
|
template<class U , class T , class BinaryOperation > |
U | accumulate (T x, U init, BinaryOperation op) |
|
template<glm::length_t L, class U , glm::qualifier Q, template< glm::length_t, typename, glm::qualifier > class vecType, class BinaryOperation > |
std::enable_if< util::rank< vecType< L, U, Q > >::value==1, U >::type | accumulate (vecType< L, U, Q > const &x, U init, BinaryOperation op) |
|
template<glm::length_t C, glm::length_t R, class U , glm::qualifier Q, template< glm::length_t, glm::length_t, typename, glm::qualifier > class vecType, class BinaryOperation > |
std::enable_if< util::rank< vecType< C, R, U, Q > >::value==2, U >::type | accumulate (vecType< C, R, U, Q > const &x, U init, BinaryOperation op) |
|
template<typename To = double, typename From , typename std::enable_if< util::rank< From >::value==0 &&util::rank< To >::value==0, int >::type = 0> |
To | glm_convert (From x) |
|
template<typename To = double, typename From , typename std::enable_if< std::is_same< To, From >::value, int >::type = 0> |
To | glm_convert_normalized (From x) |
|
template<typename T , typename std::enable_if< util::rank< T >::value==0, int >::type = 0> |
constexpr auto | glmcomp (T &elem, size_t) -> T & |
|
template<typename T , typename std::enable_if< util::rank< T >::value==2, int >::type = 0> |
constexpr auto | glmcomp (const T &elem, size_t i) -> const typename T::value_type & |
|
template<typename T , typename std::enable_if< util::rank< T >::value==0, int >::type = 0> |
constexpr auto | glmcomp (T &elem, size_t i, size_t j) -> T & |
|
template<typename T , typename std::enable_if< util::rank< T >::value==2, int >::type = 0> |
constexpr auto | glmcomp (const T &elem, size_t i, size_t j) -> const typename T::value_type & |
|
template<typename Type1 , typename Type2 > |
Type1 | invertY (Type1 vec, Type2 dim) |
|
template<typename T > |
bool | all (const T &t) |
|
template<> |
bool | all (const bool &t) |
|
template<typename T > |
bool | any (const T &t) |
|
template<> |
bool | any (const bool &t) |
|
template<typename M , typename T = typename M::value_type> |
M | filled (T v) |
|
template<typename T > |
T | epsilon () |
|
template<typename T > |
bool | almostEqual (const T &x, const T &y, int ulp=2) |
|
template<class T > |
constexpr void | hash_combine (std::size_t &seed, const T &v) noexcept |
|
template<typename C > |
void | forEachPixel (const LayerRAM &layer, C callback) |
|
template<typename C > |
void | forEachPixelParallel (const LayerRAM &layer, C callback, size_t jobs=0) |
|
IVW_CORE_API std::shared_ptr< Image > | readImageFromDisk (std::string filename) |
|
template<size_t N, typename IndexType = size_t> |
auto | makeIndexMapper (const Vector< N, IndexType > &dim) |
|
template<bool PropagateConst = true, typename Iter > |
IndirectIterator< Iter, PropagateConst > | makeIndirectIterator (Iter &&iter) |
|
template<typename T , typename std::enable_if< HasClassIdentifierUpper< T >::value, std::size_t >::type = 0> |
std::string | classIdentifier () |
|
template<typename T , typename std::enable_if< HasDataName< T >::value, std::size_t >::type = 0> |
std::string | dataName () |
|
template<typename T , typename std::enable_if< HasColorCodeUpper< T >::value, std::size_t >::type = 0> |
uvec3 | colorCode () |
|
template<typename T , typename std::enable_if< HasDataInfo< T >::value, std::size_t >::type = 0> |
std::string | data_info (const T *data) |
|
template<typename T , typename std::enable_if<!HasInfo< T >::value &&HasDataInfo< T >::value, std::size_t >::type = 0> |
Document | info (const T &data) |
|
IVW_CORE_API void | log (ExceptionContext context, std::string message, LogLevel level=LogLevel::Info, LogAudience audience=LogAudience::Developer) |
|
IVW_CORE_API void | log (Logger *logger, ExceptionContext context, std::string message, LogLevel level=LogLevel::Info, LogAudience audience=LogAudience::Developer) |
|
template<class charT , class traits , class DelimT > |
ostream_joiner< std::decay_t< DelimT >, charT, traits > | make_ostream_joiner (std::basic_ostream< charT, traits > &os, DelimT &&delimiter) |
|
template<typename T > |
void | SetValue (T &t, T value) |
|
template<typename T > |
OnScopeExit::ExitAction | RevertValue (T &t) |
|
IVW_CORE_API std::vector< std::string > | getLibrarySearchPaths () |
| Returns paths to search for module libraries. All platforms: executable directory and application modules directory (AppData/Inviwo/modules on windows). Platform dependent search directories: OSX: DYLD_LIBRARY_PATH UNIX: LD_LIBRARY_PATH/LD_RUN_PATH, RPATH and "executable directory
/../../lib". More...
|
|
IVW_CORE_API bool | hasAddLibrarySearchDirsFunction () |
|
IVW_CORE_API std::vector< void * > | addLibrarySearchDirs (const std::vector< std::string > &dirs) |
|
IVW_CORE_API void | removeLibrarySearchDirs (const std::vector< void * > &dirs) |
|
IVW_CORE_API std::vector< std::string > | getLoadedLibraries () |
|
template<class T , class... Args> |
std::enable_if<!std::is_array< T >::value, std::unique_ptr< T > >::type | make_unique (Args &&... args) |
|
template<class T > |
std::enable_if< std::is_array< T >::value, std::unique_ptr< T > >::type | make_unique (std::size_t n) |
|
template<typename Derived , typename Base , typename Del > |
std::unique_ptr< Derived, Del > | static_unique_ptr_cast (std::unique_ptr< Base, Del > &&p) |
|
template<typename Derived , typename Base , typename Del > |
std::unique_ptr< Derived, Del > | dynamic_unique_ptr_cast (std::unique_ptr< Base, Del > &&p) |
|
template<typename Derived , typename Base > |
std::unique_ptr< Derived > | dynamic_unique_ptr_cast (std::unique_ptr< Base, std::default_delete< Base >> &&p) |
|
template<std::size_t N, typename Index = size_t, typename Functor > |
auto | make_array (Functor &&func) -> std::array< decltype(func(std::declval< Index >())), N > |
|
template<typename T , typename std::enable_if<!std::is_abstract< T >::value &&std::is_default_constructible< T >::value, int >::type = 0> |
T * | defaultConstructType () |
|
template<class... Ts> |
| overloaded (Ts...) -> overloaded< Ts... > |
|
template<typename T , typename V > |
auto | erase_remove (T &cont, const V &elem) -> decltype(std::distance(std::declval< T >().begin(), std::declval< T >().end())) |
|
template<typename T , typename Pred > |
auto | erase_remove_if (T &cont, Pred pred) -> decltype(std::distance(std::declval< T >().begin(), std::declval< T >().end())) |
|
template<typename T > |
void | reverse_erase (T &cont) |
|
template<typename T , typename Pred > |
void | reverse_erase_if (T &cont, Pred pred) |
|
template<typename T , typename Pred > |
size_t | map_erase_remove_if (T &cont, Pred pred) |
|
template<typename T > |
bool | push_back_unique (T &cont, typename T::value_type elem) |
|
template<typename Dst , typename... Srcs> |
Dst & | append (Dst &dest, Srcs &&... sources) |
|
template<typename T , typename V > |
auto | find (T &cont, const V &elem) |
|
template<typename T , typename Pred > |
auto | find_if (T &cont, Pred pred) -> typename T::iterator |
|
template<typename T , typename Pred > |
auto | find_if (const T &cont, Pred pred) -> typename T::const_iterator |
|
template<typename T , typename V > |
bool | contains (T &cont, const V &elem) |
|
template<typename T , typename Pred > |
bool | contains_if (T &cont, Pred pred) |
|
template<typename T , typename V > |
bool | contains (const T &cont, const V &elem) |
|
template<typename T , typename Pred > |
bool | contains_if (const T &cont, Pred pred) |
|
template<typename T , typename P > |
auto | find_if_or_null (T &cont, P pred) -> typename T::value_type |
|
template<typename T , typename V > |
auto | find_or_null (T &cont, const V &elem) -> typename T::value_type |
|
template<typename T , typename V , typename Callable > |
auto | find_or_null (T &cont, const V &elem, Callable f) -> typename T::value_type |
|
template<typename T > |
bool | has_key (T &map, const typename T::key_type &key) |
|
template<typename T > |
bool | insert_unique (T &map, const typename T::key_type &key, typename T::mapped_type &value) |
|
template<typename T , typename V > |
auto | map_find_or_null (T &cont, const V &elem) -> typename T::mapped_type |
|
template<typename T , typename V , typename Callable > |
auto | map_find_or_null (T &cont, const V &elem, Callable f) -> typename std::result_of< Callable(typename T::mapped_type)>::type |
|
template<typename T , typename UnaryPredicate > |
bool | all_of (const T &cont, UnaryPredicate pred) |
|
template<typename T , typename UnaryPredicate > |
bool | any_of (const T &cont, UnaryPredicate pred) |
|
template<typename T , typename UnaryPredicate > |
bool | none_of (const T &cont, UnaryPredicate pred) |
|
template<class Iter > |
iter_range< Iter > | as_range (Iter begin, Iter end) |
|
template<class Iter > |
iter_range< Iter > | as_range (std::pair< Iter, Iter > const &x) |
|
template<class Container > |
iter_range< typename Container::iterator > | as_range (Container &c) |
|
template<class Container > |
iter_range< typename Container::const_iterator > | as_range (const Container &c) |
|
template<typename T , typename OutIt , typename P > |
OutIt | copy_if (const T &cont, OutIt out, P pred) |
|
template<typename T , typename P > |
auto | copy_if (const T &cont, P pred) -> std::vector< typename T::value_type > |
|
template<typename T , typename UnaryOperation > |
auto | transform (const T &cont, UnaryOperation op) -> std::vector< typename std::result_of< UnaryOperation(typename T::value_type)>::type > |
|
template<typename T , typename Pred > |
auto | ordering (T &cont, Pred pred) -> std::vector< size_t > |
|
template<typename T > |
auto | ordering (T &cont) -> std::vector< size_t > |
|
template<typename Generator > |
auto | table (Generator gen, int start, int end, int step=1) -> std::vector< decltype(gen(std::declval< int >()))> |
|
template<typename T > |
bool | is_future_ready (const std::future< T > &future) |
|
template<typename... A, typename F > |
constexpr bool | is_callable_with (F &&) |
|
std::wstring | toWstring (const std::string &str) |
| convert the given std::string to std::wstring. On Windows, MultiByteToWideChar is used for this conversion assuming utf8 encoding. Otherwise, std::mbsrtowcs is used. More...
|
|
IVW_CORE_API TimerThread & | getDefaultTimerThread () |
|
template<typename Transform , typename Iter > |
auto | makeTransformIterator (Transform &&transform, Iter iter) |
|
IVW_CORE_API void | saveNetwork (ProcessorNetwork *network, std::string filename) |
|
IVW_CORE_API void | saveAllCanvases (ProcessorNetwork *network, const std::string &dir, const std::string &name="UPN", const std::string &ext=".png", bool onlyActiveCanvases=false) |
|
IVW_CORE_API bool | isValidIdentifierCharacter (char c, const std::string &extra="") |
|
IVW_CORE_API void | validateIdentifier (const std::string &identifier, const std::string &type, ExceptionContext context, const std::string &extra="") |
|
IVW_CORE_API std::string | findUniqueIdentifier (const std::string &identifier, std::function< bool(const std::string &)> isUnique, const std::string &sep=" ") |
|
IVW_CORE_API std::string | cleanIdentifier (const std::string &identifier, const std::string &extra="") |
|
IVW_CORE_API std::string | stripModuleFileNameDecoration (std::string filePath) |
| Removes inviwo-module from module library file name. Turns "/path/to/inviwo-module-yourmodule.dll" into "yourmodule". Returns filename without extension if inviwo-module was not found. More...
|
|
IVW_CORE_API std::string | stripIdentifier (std::string identifier) |
|
template<typename... Args> |
void | show (Args &&... args) |
|
template<typename... Args> |
void | hide (Args &&... args) |
|
template<typename C > |
void | forEachVoxel (const VolumeRAM &v, C callback) |
|
template<typename C > |
void | forEachVoxelParallel (const VolumeRAM &v, C callback, size_t jobs=0) |
|
bool IVW_CORE_API | hasTimestamps (const VolumeSequence &seq, bool checkfirstonly=true) |
|
std::pair< double, double > IVW_CORE_API | getTimestampRange (const VolumeSequence &seq, bool sorted=true) |
|
bool IVW_CORE_API | isSorted (const VolumeSequence &seq) |
|
VolumeSequence IVW_CORE_API | sortSequence (const VolumeSequence &seq) |
|
std::pair< SharedVolume, SharedVolume > IVW_CORE_API | getVolumesForTimestep (const VolumeSequence &seq, double t, bool sorted=true) |
|
bool IVW_CORE_API | hasTimestamp (SharedVolume vol) |
|
double IVW_CORE_API | getTimestamp (SharedVolume vol) |
|
bool IVW_CORE_API | hasMargins (const std::shared_ptr< const Volume > &volume) |
|
bool IVW_CORE_API | isBricked (const std::shared_ptr< const Volume > &volume) |
|
size3_t IVW_CORE_API | getBrickDimensions (const std::shared_ptr< const Volume > &volume) |
|
std::pair< vec3, vec3 > IVW_CORE_API | getVolumeMargins (const std::shared_ptr< const Volume > &volume) |
| return the margins of a volume, in normalized texture coordinates [0,1] More...
|
|
size3_t IVW_CORE_API | getVolumeDimensions (const std::shared_ptr< const Volume > &volume) |
| returns the true volume dimensions considering volume margins and bricking More...
|
|
double IVW_CORE_API | voxelVolume (const Volume &volume) |
| calculates the volume of a single voxel, taking the basis and the dimensions into account The units of the result is in the unit as the basis vectors ^3 More...
|
|
template<typename... T> |
auto | zip (T &&... args) -> detailzip::zipper< T... > |
|
template<typename T > |
auto | make_sequence (const T &begin, const T &end, const T &inc) -> sequence< T > |
|
template<typename T , typename... Ts> |
auto | enumerate (T &&cont, Ts &&... conts) |
|
void IVW_QTEDITOR_API | insertNetworkForData (const std::string &dataFile, ProcessorNetwork *net, bool alwaysFirst=false, bool onlySource=false) |
|
template<> |
bool | isfinite (const half_float::half &v) |
|
template<> |
bool | isnan (const half_float::half &v) |
|
template<class T , typename std::enable_if< util::rank< T >::value==1 &&util::extent< T >::value==2, int >::type = 0> |
bool | isConvex (const std::vector< T > &polygon) |
| check whether the given polygon is convex More...
|
|
template<class T , typename std::enable_if< util::rank< T >::value==1 &&util::extent< T >::value==2, int >::type = 0> |
bool | isInside (const std::vector< T > &hull, const T &p) |
| check whether a given point lies within the convex hull More...
|
|
template<class T , typename std::enable_if< util::rank< T >::value==1 &&util::extent< T >::value==2, int >::type = 0> |
double | getArea (const std::vector< T > &polygon) |
| compute the area of a convex polygon More...
|
|
template<class T , typename std::enable_if< util::rank< T >::value==1 &&util::extent< T >::value==2, int >::type = 0> |
std::vector< T > | convexHull (const std::vector< T > &points) |
| compute the complex hull from a given set of 2D points using the Monotone Chain algorithm, i.e. Andrew's convex hull algorithm More...
|
|
std::shared_ptr< Mesh > IVW_MODULE_BASE_API | convertHullToMesh (const std::vector< vec2 > &hull, bool useIndices=false) |
|
IVW_MODULE_BASE_API std::pair< dvec4, dvec4 > | volumeMinMax (const VolumeRAM *volume, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
IVW_MODULE_BASE_API std::pair< dvec4, dvec4 > | layerMinMax (const LayerRAM *layer, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
IVW_MODULE_BASE_API std::pair< dvec4, dvec4 > | bufferMinMax (const BufferRAM *layer, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
IVW_MODULE_BASE_API std::pair< dvec4, dvec4 > | volumeMinMax (const Volume *volume, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
IVW_MODULE_BASE_API std::pair< dvec4, dvec4 > | layerMinMax (const Layer *layer, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
IVW_MODULE_BASE_API std::pair< dvec4, dvec4 > | bufferMinMax (const BufferBase *buffer, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
template<typename ValueType > |
std::pair< dvec4, dvec4 > | dataMinMax (const ValueType *data, size_t size, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
template<typename T , typename U , typename Predicate , typename ValueTransform , typename ProgressCallback > |
void | layerRAMDistanceTransform (const LayerRAMPrecision< T > *inLayer, LayerRAMPrecision< U > *outDistanceField, const Matrix< 2, U > basis, const size2_t upsample, Predicate predicate, ValueTransform valueTransform, ProgressCallback callback) |
|
template<typename T , typename U > |
void | layerRAMDistanceTransform (const LayerRAMPrecision< T > *inVolume, LayerRAMPrecision< U > *outDistanceField, const Matrix< 2, U > basis, const size2_t upsample) |
|
template<typename U , typename Predicate , typename ValueTransform , typename ProgressCallback > |
void | layerDistanceTransform (const Layer *inLayer, LayerRAMPrecision< U > *outDistanceField, const size2_t upsample, Predicate predicate, ValueTransform valueTransform, ProgressCallback callback) |
|
template<typename U , typename ProgressCallback > |
void | layerDistanceTransform (const Layer *inLayer, LayerRAMPrecision< U > *outDistanceField, const size2_t upsample, double threshold, bool normalize, bool flip, bool square, double scale, ProgressCallback callback) |
|
template<typename U > |
void | layerDistanceTransform (const Layer *inLayer, LayerRAMPrecision< U > *outDistanceField, const size2_t upsample, double threshold, bool normalize, bool flip, bool square, double scale) |
|
IVW_MODULE_BASE_API std::shared_ptr< LayerRAM > | layerSubSet (const Layer *in, ivec2 offset, size2_t extent, bool clampBorderOutsideImage=false) |
| extracts a subregion from a layer and returns it as a new layer More...
|
|
template<typename T > |
std::vector< T > | haltonSequence (size_t base, size_t numberOfPoints) |
|
template<typename T > |
std::shared_ptr< Image > | haltonSequence (size2_t dims, size_t numberOfPoints, size_t baseX=2, size_t baseY=3) |
|
template<typename T > |
std::shared_ptr< Volume > | haltonSequence (size3_t dims, size_t numberOfPoints, size_t baseX=2, size_t baseY=3, size_t baseZ=5) |
|
template<typename T , typename Rand = std::mt19937, typename Dist = typename std::conditional<std::is_integral<T>::value, std::uniform_int_distribution<T>, std::uniform_real_distribution<T>>::type> |
void | randomSequence (T *data, size_t numberOfElements, Rand &randomNumberGenerator=Rand(), Dist &distribution=Dist(0, 1)) |
|
template<typename T , typename Rand = std::mt19937, typename Dist = typename std::conditional<std::is_integral<T>::value, std::uniform_int_distribution<T>, std::uniform_real_distribution<T>>::type> |
std::shared_ptr< Image > | randomImage (size2_t dims, Rand &randomNumberGenerator=Rand(), Dist &distribution=Dist(0, 1)) |
|
template<typename T , typename Rand = std::mt19937, typename Dist = typename std::conditional<std::is_integral<T>::value, std::uniform_int_distribution<T>, std::uniform_real_distribution<T>>::type> |
std::shared_ptr< Volume > | randomVolume (size3_t dims, Rand &randomNumberGenerator=Rand(), Dist &distribution=Dist(0, 1)) |
|
template<typename Rand = std::mt19937> |
std::shared_ptr< Image > | perlinNoise (size2_t dims, float persistence, size_t startLevel, size_t endLevel, Rand &randomNumberGenerator=Rand()) |
|
template<typename Rand = std::mt19937> |
std::shared_ptr< Image > | poissonDisk (size2_t dims, size_t poissonDotsAlongX, size_t maxPoints, Rand &randomNumberGenerator=Rand()) |
|
IVW_MODULE_BASE_API std::shared_ptr< Mesh > | marchingcubes (std::shared_ptr< const Volume > volume, double iso, const vec4 &color, bool invert, bool enclose, std::function< void(float)> progressCallback=std::function< void(float)>(), std::function< bool(const size3_t &)> maskingCallback=[](const size3_t &) { return true;}) |
|
IVW_MODULE_BASE_API std::shared_ptr< Mesh > | marchingCubesOpt (std::shared_ptr< const Volume > volume, double iso, const vec4 &color, bool invert, bool enclose, std::function< void(float)> progressCallback=nullptr, std::function< bool(const size3_t &)> maskingCallback=nullptr) |
|
std::shared_ptr< Mesh > | marchingtetrahedron (std::shared_ptr< const Volume > volume, double iso, const vec4 &color=vec4(1.0f), bool invert=false, bool enclose=true, std::function< void(float)> progressCallback=std::function< void(float)>(), std::function< bool(const size3_t &)> maskingCallback=[](const size3_t &) { return true;}) |
|
IVW_MODULE_BASE_API std::unique_ptr< Volume > | curlVolume (std::shared_ptr< const Volume > volume) |
|
IVW_MODULE_BASE_API std::unique_ptr< Volume > | curlVolume (const Volume &volume) |
|
IVW_MODULE_BASE_API std::unique_ptr< Volume > | divergenceVolume (const Volume &volume) |
|
IVW_MODULE_BASE_API std::unique_ptr< Volume > | divergenceVolume (std::shared_ptr< const Volume > volume) |
|
template<typename Functor > |
std::unique_ptr< Volume > | generateVolume (const size3_t &dimensions, const mat3 &basis, Functor &&function) |
|
template<typename T = float> |
std::unique_ptr< Volume > | makeSingleVoxelVolume (const size3_t &size) |
|
template<typename T = float> |
std::unique_ptr< Volume > | makeSphericalVolume (const size3_t &size) |
|
template<typename T = float> |
std::unique_ptr< Volume > | makeRippleVolume (const size3_t &size) |
|
template<typename T = float> |
std::unique_ptr< Volume > | makeMarchingCubeVolume (const size_t &index) |
|
IVW_MODULE_BASE_API std::shared_ptr< Volume > | gradientVolume (std::shared_ptr< const Volume > volume, int channel) |
|
IVW_MODULE_BASE_API std::shared_ptr< Volume > | volumeLaplacian (std::shared_ptr< const Volume > volume, VolumeLaplacianPostProcessing postProcessing, double scale) |
|
template<typename T , typename U , typename Predicate , typename ValueTransform , typename ProgressCallback > |
void | volumeRAMDistanceTransform (const VolumeRAMPrecision< T > *inVolume, VolumeRAMPrecision< U > *outDistanceField, const Matrix< 3, U > basis, const size3_t upsample, Predicate predicate, ValueTransform valueTransform, ProgressCallback callback) |
|
template<typename T , typename U > |
void | volumeRAMDistanceTransform (const VolumeRAMPrecision< T > *inVolume, VolumeRAMPrecision< U > *outDistanceField, const Matrix< 3, U > basis, const size3_t upsample) |
|
template<typename U , typename Predicate , typename ValueTransform , typename ProgressCallback > |
void | volumeDistanceTransform (const Volume *inVolume, VolumeRAMPrecision< U > *outDistanceField, const size3_t upsample, Predicate predicate, ValueTransform valueTransform, ProgressCallback callback) |
|
template<typename U , typename ProgressCallback > |
void | volumeDistanceTransform (const Volume *inVolume, VolumeRAMPrecision< U > *outDistanceField, const size3_t upsample, double threshold, bool normalize, bool flip, bool square, double scale, ProgressCallback callback) |
|
template<typename U > |
void | volumeDistanceTransform (const Volume *inVolume, VolumeRAMPrecision< U > *outDistanceField, const size3_t upsample, double threshold, bool normalize, bool flip, bool square, double scale) |
|
IVW_MODULE_BASE_API std::shared_ptr< VolumeRAM > | volumeSubSample (const VolumeRAM *in, size3_t factors) |
|
IVW_MODULE_BASE_API size_t | volumeSignificantVoxels (const VolumeRAM *volume, IgnoreSpecialValues ignore=IgnoreSpecialValues::No) |
|
IVW_MODULE_BASE_API std::string | writeIvfVolumeSequence (const VolumeSequence &volumes, std::string name, std::string path, std::string reltivePathToElements="", bool overwrite=true) |
| Writes a volume sequence to disk. More...
|
|
void | updateReaderFromFile (const FileProperty &file, TemplateOptionProperty< FileExtension > &reader) |
|
template<typename... Types> |
void | updateFilenameFilters (const DataReaderFactory &rf, FileProperty &file, TemplateOptionProperty< FileExtension > &reader) |
|
MeshDrawerGL::DrawMode | getDrawMode (LineRenderer::LineDrawMode drawMode, bool useAdjacency) |
|
IVW_MODULE_QTWIDGETS_API IvwKey | mapKeyFromQt (const QKeyEvent *keyevent) |
|
IVW_MODULE_QTWIDGETS_API void | importFromFile (TFPrimitiveSet &primitiveSet, QWidget *parent=nullptr) |
| Shows an InviwoFileDialog to import a TFPrimitiveSet from a file. Depending on the underlying type of primitiveSet , either TF primitives or isovalues are imported. More...
|
|
IVW_MODULE_QTWIDGETS_API void | exportToFile (const TFPrimitiveSet &primitiveSet, QWidget *parent=nullptr) |
| Shows an InviwoFileDialog to export a TFPrimitiveSet to a file. Depending on the underlying type of primitiveSet , either TF primitives or isovalues are exported. More...
|
|
IVW_MODULE_QTWIDGETS_API QMenu * | addTFPresetsMenu (QWidget *parent, QMenu *menu, TransferFunctionProperty *property) |
| create a submenu containing entries for TF presets of all transfer functions found in the path PathType::TransferFunctions . Upon selecting a menu entry, the respective preset will be loaded by property . The submenu will be disabled if property is read-only. More...
|
|
template<typename T , typename std::enable_if< util::rank< T >::value==1, int >::type = 0> |
auto | glm2eigen (const T &elem) -> Eigen::Matrix< typename T::value_type, util::extent< T, 0 >::value, 1 > |
|
template<typename T , unsigned Rows, unsigned Cols, typename std::enable_if<(Rows > = 2 && Rows <= 4 && Cols >= 2 && Cols <= 4> |
auto | eigen2glm (const Eigen::Matrix< T, Rows, Cols > &m) |
|
template<typename T , unsigned Rows, unsigned Cols, typename std::enable_if<(Cols > = 2 && Cols <= 4 && Rows == 1> |
auto | eigen2glm (const Eigen::Matrix< T, Cols, Cols > &m) |
|
template<typename T > |
std::shared_ptr< Image > | eigenMatToImage (const T &m, bool flipY=false, std::string name="") |
|
IVW_MODULE_FONTRENDERING_API TextTextureObject | createTextTextureObject (TextRenderer &textRenderer, std::string text, vec4 fontColor, std::shared_ptr< Texture2D > tex=nullptr) |
| Creates a texture with rendered text for a given string including its bounding box. More...
|
|
IVW_MODULE_FONTRENDERING_API std::shared_ptr< Texture2D > | createTextTexture (TextRenderer &textRenderer, std::string text, vec4 fontColor, std::shared_ptr< Texture2D > tex=nullptr) |
| Creates a texture with rendered text for a given string. More...
|
|
std::vector< std::pair< std::string, std::string > > IVW_MODULE_FONTRENDERING_API | getAvailableFonts (const std::string &fontPath=std::string()) |
| returns a list of all fonts found in the given directory, font directory of the fontrendering module More...
|
|
std::string IVW_MODULE_FONTRENDERING_API | getDefaultFontPath () |
| returns the default font directory of Inviwo More...
|
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API IntegralLine | curvature (const IntegralLine &line, dmat4 toWorld) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API IntegralLineSet | curvature (const IntegralLineSet &lines) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API void | curvature (IntegralLine &line, dmat4 toWorld) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API void | curvature (IntegralLineSet &lines) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API IntegralLine | tortuosity (const IntegralLine &line, dmat4 toWorld) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API IntegralLineSet | tortuosity (const IntegralLineSet &lines) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API void | tortuosity (IntegralLine &line, dmat4 toWorld) |
|
IVW_MODULE_VECTORFIELDVISUALIZATION_API void | tortuosity (IntegralLineSet &lines) |
|
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataInport< Mesh > &mesh) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataInport< Mesh, 0 > &meshes) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataInport< Mesh, 0, true > &meshes) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataOutport< Mesh > &mesh) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataInport< Volume > &volume) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataInport< std::vector< std::shared_ptr< Volume >>> &volumes) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataOutport< Volume > &volume) |
|
IVW_CORE_API std::function< std::optional< mat4 >)> | boundingBox (const DataOutport< std::vector< std::shared_ptr< Volume >>> &volumes) |
|