TTK
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ttk::ContinuousScatterPlot Class Reference

TTK processing package that computes the continuous scatterplot of bivariate volumetric data. More...

#include <ContinuousScatterPlot.h>

Inheritance diagram for ttk::ContinuousScatterPlot:
ttk::Debug ttk::BaseClass ttkContinuousScatterPlot

Public Member Functions

 ContinuousScatterPlot ()
 
 ~ContinuousScatterPlot () override
 
template<typename dataType1 , typename dataType2 , class triangulationType = AbstractTriangulation>
int execute (const dataType1 *, const dataType2 *, const triangulationType *) const
 
int setVertexNumber (const SimplexId &vertexNumber)
 
int setDummyValue (bool withDummyValue, double dummyValue)
 
int setResolutions (const SimplexId &resolutionX, const SimplexId &resolutionY)
 
int setScalarMin (const std::array< double, 2 > &scalarMin)
 
int setScalarMax (const std::array< double, 2 > &scalarMax)
 
int setOutputDensity (std::vector< std::vector< double > > *density)
 
int setOutputMask (std::vector< std::vector< char > > *mask)
 
- Public Member Functions inherited from ttk::Debug
 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)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Protected Attributes

SimplexId vertexNumber_
 
bool withDummyValue_
 
double dummyValue_
 
SimplexId resolutions_ [2]
 
std::array< double, 2 > scalarMin_ {0, 0}
 
std::array< double, 2 > scalarMax_ {0, 0}
 
std::vector< std::vector< double > > * density_
 
std::vector< std::vector< char > > * validPointMask_
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
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 Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

TTK processing package that computes the continuous scatterplot of bivariate volumetric data.

Author
Guillaume Favelier guill.nosp@m.aume.nosp@m..fave.nosp@m.lier.nosp@m.@lip6.nosp@m..fr
Date
March 2016

Related publication
"Continuous Scatterplots"
Sven Bachthaler, Daniel Weiskopf
Proc. of IEEE VIS 2008.
IEEE Transactions on Visualization and Computer Graphics, 2008.

See also
ttkContinuousScatterPlot.cpp for a usage example.

Online examples:

Definition at line 32 of file ContinuousScatterPlot.h.

Constructor & Destructor Documentation

◆ ContinuousScatterPlot()

ContinuousScatterPlot::ContinuousScatterPlot ( )

Definition at line 6 of file ContinuousScatterPlot.cpp.

◆ ~ContinuousScatterPlot()

ContinuousScatterPlot::~ContinuousScatterPlot ( )
overridedefault

Member Function Documentation

◆ execute()

template<typename dataType1 , typename dataType2 , class triangulationType >
int ttk::ContinuousScatterPlot::execute ( const dataType1 *  scalars1,
const dataType2 *  scalars2,
const triangulationType *  triangulation 
) const

Definition at line 98 of file ContinuousScatterPlot.h.

◆ setDummyValue()

int ttk::ContinuousScatterPlot::setDummyValue ( bool  withDummyValue,
double  dummyValue 
)
inline

Definition at line 50 of file ContinuousScatterPlot.h.

◆ setOutputDensity()

int ttk::ContinuousScatterPlot::setOutputDensity ( std::vector< std::vector< double > > *  density)
inline

Definition at line 75 of file ContinuousScatterPlot.h.

◆ setOutputMask()

int ttk::ContinuousScatterPlot::setOutputMask ( std::vector< std::vector< char > > *  mask)
inline

Definition at line 80 of file ContinuousScatterPlot.h.

◆ setResolutions()

int ttk::ContinuousScatterPlot::setResolutions ( const SimplexId resolutionX,
const SimplexId resolutionY 
)
inline

Definition at line 58 of file ContinuousScatterPlot.h.

◆ setScalarMax()

int ttk::ContinuousScatterPlot::setScalarMax ( const std::array< double, 2 > &  scalarMax)
inline

Definition at line 70 of file ContinuousScatterPlot.h.

◆ setScalarMin()

int ttk::ContinuousScatterPlot::setScalarMin ( const std::array< double, 2 > &  scalarMin)
inline

Definition at line 65 of file ContinuousScatterPlot.h.

◆ setVertexNumber()

int ttk::ContinuousScatterPlot::setVertexNumber ( const SimplexId vertexNumber)
inline

Definition at line 45 of file ContinuousScatterPlot.h.

Member Data Documentation

◆ density_

std::vector<std::vector<double> >* ttk::ContinuousScatterPlot::density_
protected

Definition at line 92 of file ContinuousScatterPlot.h.

◆ dummyValue_

double ttk::ContinuousScatterPlot::dummyValue_
protected

Definition at line 88 of file ContinuousScatterPlot.h.

◆ resolutions_

SimplexId ttk::ContinuousScatterPlot::resolutions_[2]
protected

Definition at line 89 of file ContinuousScatterPlot.h.

◆ scalarMax_

std::array<double, 2> ttk::ContinuousScatterPlot::scalarMax_ {0, 0}
protected

Definition at line 91 of file ContinuousScatterPlot.h.

◆ scalarMin_

std::array<double, 2> ttk::ContinuousScatterPlot::scalarMin_ {0, 0}
protected

Definition at line 90 of file ContinuousScatterPlot.h.

◆ validPointMask_

std::vector<std::vector<char> >* ttk::ContinuousScatterPlot::validPointMask_
protected

Definition at line 93 of file ContinuousScatterPlot.h.

◆ vertexNumber_

SimplexId ttk::ContinuousScatterPlot::vertexNumber_
protected

Definition at line 86 of file ContinuousScatterPlot.h.

◆ withDummyValue_

bool ttk::ContinuousScatterPlot::withDummyValue_
protected

Definition at line 87 of file ContinuousScatterPlot.h.


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