TTK
|
TTK processing package that takes an input ensemble data set (represented by a list of scalar fields) and which computes various vertexwise statistics (PDF estimation, bounds, moments, etc.) More...
#include <UncertainDataEstimator.h>
Public Member Functions | |
UncertainDataEstimator () | |
template<class dataType > | |
int | execute () |
int | setInputDataPointer (const int idx, void *const data) |
void | setOutputLowerBoundField (void *const data) |
void | setOutputUpperBoundField (void *const data) |
void | setOutputProbability (const int idx, double *const data) |
void | setOutputMeanField (void *const data) |
void | setComputeLowerBound (const bool state) |
void | setComputeUpperBound (const bool state) |
void | setVertexNumber (const SimplexId &vertexNumber) |
void | setBinCount (const int binCount) |
void | setNumberOfInputs (const int numberOfInputs) |
double | getBinValue (int b) |
![]() | |
Debug () | |
~Debug () override | |
virtual int | setDebugLevel (const int &debugLevel) |
int | setWrapper (const Wrapper *wrapper) override |
int | printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
int | printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
int | printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
void | setDebugMsgPrefix (const std::string &prefix) |
![]() | |
BaseClass () | |
virtual | ~BaseClass ()=default |
int | getThreadNumber () const |
virtual int | setThreadNumber (const int threadNumber) |
Protected Attributes | |
SimplexId | vertexNumber_ {0} |
int | numberOfInputs_ {0} |
int | BinCount {0} |
std::vector< double > | binValues_ {} |
bool | ComputeLowerBound {} |
bool | ComputeUpperBound {} |
std::vector< void * > | inputData_ {} |
void * | outputLowerBoundField_ {} |
void * | outputUpperBoundField_ {} |
std::vector< double * > | outputProbability_ {} |
void * | outputMeanField_ {} |
![]() | |
int | debugLevel_ |
std::string | debugMsgPrefix_ |
std::string | debugMsgNamePrefix_ |
![]() | |
bool | lastObject_ |
int | threadNumber_ |
Wrapper * | wrapper_ |
Additional Inherited Members | |
![]() | |
int | printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const |
int | welcomeMsg (std::ostream &stream) |
![]() | |
static COMMON_EXPORTS debug::LineMode | lastLineMode = ttk::debug::LineMode::NEW |
TTK processing package that takes an input ensemble data set (represented by a list of scalar fields) and which computes various vertexwise statistics (PDF estimation, bounds, moments, etc.)
Definition at line 185 of file UncertainDataEstimator.h.
ttk::UncertainDataEstimator::UncertainDataEstimator | ( | ) |
Definition at line 3 of file UncertainDataEstimator.cpp.
int ttk::UncertainDataEstimator::execute | ( | ) |
Execute the package.
Definition at line 288 of file UncertainDataEstimator.h.
|
inline |
Definition at line 266 of file UncertainDataEstimator.h.
|
inline |
Definition at line 249 of file UncertainDataEstimator.h.
|
inline |
Definition at line 234 of file UncertainDataEstimator.h.
|
inline |
Definition at line 238 of file UncertainDataEstimator.h.
|
inline |
Pass a pointer to an input array representing a scalarfield. The array is expected to be correctly allocated. idx in [0,numberOfInputs_[
idx | Index of the input scalar field. |
data | Pointer to the data array. |
Definition at line 199 of file UncertainDataEstimator.h.
|
inline |
Set the number of input scalar fields
numberOfInputs | Number of input scalar fields. |
Definition at line 260 of file UncertainDataEstimator.h.
|
inline |
Pass a pointer to an output array representing the lower bound scalar field. The array is expected to be correctly allocated.
data | Pointer to the data array. |
Definition at line 212 of file UncertainDataEstimator.h.
|
inline |
Definition at line 230 of file UncertainDataEstimator.h.
|
inline |
Definition at line 224 of file UncertainDataEstimator.h.
|
inline |
Pass a pointer to an output array representing the upper bound scalar field. The array is expected to be correctly allocated.
data | Pointer to the data array. |
Definition at line 220 of file UncertainDataEstimator.h.
|
inline |
Set the number of vertices in the scalar field.
vertexNumber | Number of vertices in the data-set. |
Definition at line 245 of file UncertainDataEstimator.h.
|
protected |
Definition at line 275 of file UncertainDataEstimator.h.
|
protected |
Definition at line 276 of file UncertainDataEstimator.h.
|
protected |
Definition at line 277 of file UncertainDataEstimator.h.
|
protected |
Definition at line 278 of file UncertainDataEstimator.h.
|
protected |
Definition at line 279 of file UncertainDataEstimator.h.
|
protected |
Definition at line 274 of file UncertainDataEstimator.h.
|
protected |
Definition at line 280 of file UncertainDataEstimator.h.
|
protected |
Definition at line 283 of file UncertainDataEstimator.h.
|
protected |
Definition at line 282 of file UncertainDataEstimator.h.
|
protected |
Definition at line 281 of file UncertainDataEstimator.h.
|
protected |
Definition at line 273 of file UncertainDataEstimator.h.