TTK
Loading...
Searching...
No Matches
ttkManifoldCheck.h
Go to the documentation of this file.
1
34#pragma once
35
36// VTK includes -- to adapt
37
38// VTK Module
39#include <ttkManifoldCheckModule.h>
40
41// ttk code includes
42#include <ManifoldCheck.h>
43#include <ttkAlgorithm.h>
44
45// in this example, this wrapper takes a data-set on the input and produces a
46// data-set on the output - to adapt.
47// see the documentation of the vtkAlgorithm class to decide from which VTK
48// class your wrapper should inherit.
49class TTKMANIFOLDCHECK_EXPORT ttkManifoldCheck : public ttkAlgorithm,
50 protected ttk::ManifoldCheck {
51
52public:
55
56protected:
58
59 ~ttkManifoldCheck() override = default;
60 ;
61
62 int FillInputPortInformation(int port, vtkInformation *info) override;
63
64 int FillOutputPortInformation(int port, vtkInformation *info) override;
65
66 int RequestData(vtkInformation *request,
67 vtkInformationVector **inputVector,
68 vtkInformationVector *outputVector) override;
69
70private:
71 std::vector<ttk::SimplexId> vertexLinkComponentNumber_;
72 std::vector<ttk::SimplexId> edgeLinkComponentNumber_;
73 std::vector<ttk::SimplexId> triangleLinkComponentNumber_;
74};
Baseclass of all VTK filters that wrap ttk modules.
Definition: ttkAlgorithm.h:34
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition: ttkAlgorithm.h:390
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:404
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:419
TTK VTK-filter for manifold checks.
~ttkManifoldCheck() override=default
static ttkManifoldCheck * New()
TTK processing package for manifold checks.
Definition: ManifoldCheck.h:32
std::vector< ttk::SimplexId > * triangleLinkComponentNumber_
std::vector< ttk::SimplexId > * edgeLinkComponentNumber_
std::vector< ttk::SimplexId > * vertexLinkComponentNumber_