|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | SetScalarFields (const std::string &s) |
|
void | ClearScalarFields () |
|
virtual void | SetSelectFieldsWithRegexp (bool) |
|
virtual bool | GetSelectFieldsWithRegexp () |
|
virtual void | SetRegexpString (const std::string &) |
|
virtual std::string | GetRegexpString () |
|
virtual void | SetNumberOfComponents (int) |
|
virtual int | GetNumberOfComponents () |
|
virtual void | SetNumberOfNeighbors (int) |
|
virtual int | GetNumberOfNeighbors () |
|
virtual void | SetIsDeterministic (int) |
|
virtual int | GetIsDeterministic () |
|
virtual void | SetMethod (int _arg) |
|
virtual void | SetMethod (METHOD) |
|
virtual METHOD | GetMethod () const |
|
virtual void | SetKeepAllDataArrays (bool) |
|
virtual bool | GetKeepAllDataArrays () |
|
void | SetInputIsADistanceMatrix (const bool b) |
|
virtual bool | GetInputIsADistanceMatrix () |
|
virtual void | Setse_Affinity (const std::string &) |
|
virtual std::string | Getse_Affinity () |
|
virtual void | Setse_Gamma (float) |
|
virtual float | Getse_Gamma () |
|
virtual void | Setse_EigenSolver (const std::string &) |
|
virtual std::string | Getse_EigenSolver () |
|
virtual void | Setlle_Regularization (float) |
|
virtual float | Getlle_Regularization () |
|
virtual void | Setlle_EigenSolver (const std::string &) |
|
virtual std::string | Getlle_EigenSolver () |
|
virtual void | Setlle_Tolerance (float) |
|
virtual float | Getlle_Tolerance () |
|
virtual void | Setlle_MaxIteration (int) |
|
virtual int | Getlle_MaxIteration () |
|
virtual void | Setlle_Method (const std::string &) |
|
virtual std::string | Getlle_Method () |
|
virtual void | Setlle_HessianTolerance (float) |
|
virtual float | Getlle_HessianTolerance () |
|
virtual void | Setlle_ModifiedTolerance (float) |
|
virtual float | Getlle_ModifiedTolerance () |
|
virtual void | Setlle_NeighborsAlgorithm (const std::string &) |
|
virtual std::string | Getlle_NeighborsAlgorithm () |
|
virtual void | Setmds_Metric (bool) |
|
virtual bool | Getmds_Metric () |
|
virtual void | Setmds_Init (int) |
|
virtual int | Getmds_Init () |
|
virtual void | Setmds_MaxIteration (int) |
|
virtual int | Getmds_MaxIteration () |
|
virtual void | Setmds_Verbose (int) |
|
virtual int | Getmds_Verbose () |
|
virtual void | Setmds_Epsilon (float) |
|
virtual float | Getmds_Epsilon () |
|
virtual void | Settsne_Perplexity (float) |
|
virtual float | Gettsne_Perplexity () |
|
virtual void | Settsne_Exaggeration (float) |
|
virtual float | Gettsne_Exaggeration () |
|
virtual void | Settsne_LearningRate (float) |
|
virtual float | Gettsne_LearningRate () |
|
virtual void | Settsne_MaxIteration (int) |
|
virtual int | Gettsne_MaxIteration () |
|
virtual void | Settsne_MaxIterationProgress (int) |
|
virtual int | Gettsne_MaxIterationProgress () |
|
virtual void | Settsne_GradientThreshold (float) |
|
virtual float | Gettsne_GradientThreshold () |
|
virtual void | Settsne_Metric (const std::string &) |
|
virtual std::string | Gettsne_Metric () |
|
virtual void | Settsne_Init (const std::string &) |
|
virtual std::string | Gettsne_Init () |
|
virtual void | Settsne_Verbose (int) |
|
virtual int | Gettsne_Verbose () |
|
virtual void | Settsne_Method (const std::string &) |
|
virtual std::string | Gettsne_Method () |
|
virtual void | Settsne_Angle (float) |
|
virtual float | Gettsne_Angle () |
|
virtual void | Setiso_EigenSolver (const std::string &) |
|
virtual std::string | Getiso_EigenSolver () |
|
virtual void | Setiso_Tolerance (float) |
|
virtual float | Getiso_Tolerance () |
|
virtual void | Setiso_MaxIteration (int) |
|
virtual int | Getiso_MaxIteration () |
|
virtual void | Setiso_PathMethod (const std::string &) |
|
virtual std::string | Getiso_PathMethod () |
|
virtual void | Setiso_NeighborsAlgorithm (const std::string &) |
|
virtual std::string | Getiso_NeighborsAlgorithm () |
|
virtual void | Setiso_Metric (const std::string &) |
|
virtual std::string | Getiso_Metric () |
|
virtual void | Setpca_Copy (bool) |
|
virtual bool | Getpca_Copy () |
|
virtual void | Setpca_Whiten (bool) |
|
virtual bool | Getpca_Whiten () |
|
virtual void | Setpca_SVDSolver (const std::string &) |
|
virtual std::string | Getpca_SVDSolver () |
|
virtual void | Setpca_Tolerance (float) |
|
virtual float | Getpca_Tolerance () |
|
virtual void | Setpca_MaxIteration (const std::string &) |
|
virtual std::string | Getpca_MaxIteration () |
|
virtual void | Settopomap_AngularSampleNb (unsigned long int) |
|
virtual unsigned long int | Gettopomap_AngularSampleNb () |
|
virtual void | Settopomap_CheckMST (bool) |
|
virtual bool | Gettopomap_CheckMST () |
|
virtual void | Settopomap_Strategy (int _arg) |
|
virtual void | Settopomap_Strategy (ttk::TopoMap::STRATEGY) |
|
virtual ttk::TopoMap::STRATEGY | Gettopomap_Strategy () const |
|
virtual void | SetModulePath (const std::string &) |
|
virtual std::string | GetModulePath () |
|
virtual void | SetModuleName (const std::string &) |
|
virtual std::string | GetModuleName () |
|
virtual void | SetFunctionName (const std::string &) |
|
virtual std::string | GetFunctionName () |
|
void | UpdateThreadNumber () |
|
void | SetThreadNumber (int threadNumber) |
|
void | SetUseAllCores (bool useAllCores) |
|
void | SetDebugLevel (int debugLevel) |
|
void | SetCompactTriangulationCacheSize (float cacheSize) |
|
vtkDataArray * | GetOptionalArray (const bool &enforceArrayIndex, const int &arrayIndex, const std::string &arrayName, vtkDataSet *const inputData, const int &inputPort=0) |
|
vtkDataArray * | GetOrderArray (vtkDataSet *const inputData, const int scalarArrayIdx, ttk::Triangulation *triangulation, const bool getGlobalOrder=false, const int orderArrayIdx=0, const bool enforceOrderArrayIdx=false) |
|
vtkDataArray * | checkForGlobalAndComputeOrderArray (vtkDataSet *const inputData, vtkDataArray *scalarArray, const int scalarArrayIdx, const bool getGlobalOrder, vtkDataArray *orderArray, ttk::Triangulation *triangulation, const bool enforceOrderArrayIdx) |
|
vtkDataArray * | ComputeOrderArray (vtkDataSet *const inputData, vtkDataArray *scalarArray, const int scalarArrayIdx, const bool getGlobalOrder, vtkDataArray *oldOrderArray, ttk::Triangulation *triangulation) |
|
ttk::SimplexId * | GetIdentifierArrayPtr (const bool &enforceArrayIndex, const int &arrayIndex, const std::string &arrayName, vtkDataSet *const inputData, std::vector< ttk::SimplexId > &spareStorage, const int inputPort=0, const bool printErr=true) |
|
ttk::Triangulation * | GetTriangulation (vtkDataSet *dataSet) |
|
int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVectors, vtkInformationVector *outputVector) override |
|
vtkDataSet * | GetOutput () |
|
vtkDataSet * | GetOutput (int) |
|
void | SetInputData (vtkDataSet *) |
|
void | SetInputData (int, vtkDataSet *) |
|
void | AddInputData (vtkDataSet *) |
|
void | AddInputData (int, vtkDataSet *) |
|
template<typename inputType > |
int | checkEmptyMPIInput (inputType *input) |
| This method tests whether the input is a nullptr. If the computation is being done on multiple processes, it is possible that the domain of one process or more is empty, but not others, therefore in that particular case the rest of the filter will not be computed but an error message will not be sent.
|
|
| 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) |
|
|
| ttkDimensionReduction () |
|
int | FillInputPortInformation (int port, vtkInformation *info) override |
|
int | FillOutputPortInformation (int port, vtkInformation *info) override |
|
int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override |
|
| ttkAlgorithm () |
|
| ~ttkAlgorithm () override |
|
void | MPIGhostPipelinePreconditioning (vtkDataSet *input) |
|
void | MPIPipelinePreconditioning (vtkDataSet *input, std::vector< int > &neighbors, std::map< int, int > &neighToId, ttk::Triangulation *triangulation=nullptr) |
|
bool | checkGlobalIdValidity (ttk::LongSimplexId *globalIds, ttk::SimplexId simplexNumber, unsigned char *ghost, int *rankArray) |
|
int | GenerateGlobalIds (vtkDataSet *input, std::unordered_map< ttk::SimplexId, ttk::SimplexId > &vertGtoL, std::vector< int > &neighborRanks, std::map< int, int > &neighborsToId) |
|
void | MPITriangulationPreconditioning (ttk::Triangulation *triangulation, vtkDataSet *input) |
|
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVectors, vtkInformationVector *outputVector) |
|
virtual int | RequestInformation (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector)) |
|
virtual int | RequestUpdateTime (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector)) |
|
virtual int | RequestUpdateTimeDependentInformation (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector)) |
|
virtual int | RequestUpdateExtent (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector)) |
|
virtual int | RequestDataNotGenerated (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector)) |
|
virtual int | RequestData (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector)) |
|
int | FillInputPortInformation (int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override |
|
int | FillOutputPortInformation (int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override |
|
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) |
|
| DimensionReduction () |
|
void | setSEParameters (const std::string &Affinity, const float Gamma, const std::string &EigenSolver, const bool InputIsADistanceMatrix) |
|
void | setLLEParameters (const float Regularization, const std::string &EigenSolver, const float Tolerance, const int MaxIteration, const std::string &Method_s, const float HessianTolerance, const float ModifiedTolerance, const std::string &NeighborsAlgorithm) |
|
void | setMDSParameters (const bool Metric, const int Init, const int MaxIteration, const int Verbose, const float Epsilon, const bool Dissimilarity) |
|
void | setTSNEParameters (const float Perplexity, const float Exaggeration, const float LearningRate, const int MaxIteration, const int MaxIterationProgress, const float GradientThreshold, const std::string &Metric, const std::string &Init, const int Verbose, const std::string &Method_s, const float Angle) |
|
void | setISOParameters (const std::string &EigenSolver, const float Tolerance, const int MaxIteration, const std::string &PathMethod, const std::string &NeighborsAlgorithm) |
|
void | setPCAParameters (const bool Copy, const bool Whiten, const std::string &SVDSolver, const float Tolerance, const std::string &MaxIteration) |
|
void | setTopoParameters (const size_t AngularSampleNb, bool CheckMST) |
|
void | setInputModulePath (const std::string &modulePath) |
|
void | setInputModuleName (const std::string &moduleName) |
|
void | setInputFunctionName (const std::string &functionName) |
|
void | setInputMethod (METHOD method) |
|
void | setInputNumberOfComponents (const int numberOfComponents) |
|
void | setInputNumberOfNeighbors (const int numberOfNeighbors) |
|
void | setInputIsDeterministic (const int isDeterm) |
|
void | setIsInputDistanceMatrix (const bool data) |
|
int | execute (std::vector< std::vector< double > > &outputEmbedding, const std::vector< double > &inputMatrix, const int nRows, const int nColumns, int *insertionTimeForTopoMap=nullptr) const |
|
TTK VTK-filter that wraps the ttk::DimensionReduction processing package.
Related publication:
"Topomap: A 0-dimensional homology preserving projection of high-dimensional
data"
Harish Doraiswamy, Julien Tierny, Paulo J. S. Silva, Luis Gustavo Nonato, and Claudio Silva
Proc. of IEEE VIS 2020.
IEEE Transactions on Visualization and Computer Graphics 27(2): 561-571, 2020.
- Author
- GuillaumeFavelier guill.nosp@m.aume.nosp@m..fave.nosp@m.lier.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
- Date
- September 2018.
VTK wrapping code for the ttk::DimensionReduction package.
- Parameters
-
Input | Input scalar field (vtkDataSet) |
Output | Output scalar field (vtkDataSet) |
This filter can be used as any other VTK filter (for instance, by using the sequence of calls SetInputData(), Update(), GetOutput()).
See the related ParaView example state files for usage examples within a VTK pipeline.
- See also
- ttk::DimensionReduction
Online examples:
Definition at line 69 of file ttkDimensionReduction.h.