TTK
Loading...
Searching...
No Matches
ttkMeshGraph.h
Go to the documentation of this file.
1
24
25#pragma once
26
27// VTK Module
28#include <ttkMeshGraphModule.h>
29
30// VTK includes
31#include <ttkAlgorithm.h>
32
33// TTK includes
34#include <MeshGraph.h>
35
36class TTKMESHGRAPH_EXPORT ttkMeshGraph : public ttkAlgorithm,
37 protected ttk::MeshGraph {
38
39private:
40 int SizeAxis{0};
41 float SizeScale{1};
42 bool UseQuadraticCells{true};
43 int Subdivisions{0};
44
45public:
46 vtkSetMacro(SizeAxis, int);
47 vtkGetMacro(SizeAxis, int);
48
49 vtkSetMacro(SizeScale, float);
50 vtkGetMacro(SizeScale, float);
51
52 vtkSetMacro(UseQuadraticCells, bool);
53 vtkGetMacro(UseQuadraticCells, bool);
54
55 vtkSetMacro(Subdivisions, int);
56 vtkGetMacro(Subdivisions, int);
57
58 static ttkMeshGraph *New();
59 vtkTypeMacro(ttkMeshGraph, ttkAlgorithm);
60
61protected:
63 ~ttkMeshGraph() override;
64
65 int FillInputPortInformation(int port, vtkInformation *info) override;
66 int FillOutputPortInformation(int port, vtkInformation *info) override;
67 int RequestData(vtkInformation *request,
68 vtkInformationVector **inputVector,
69 vtkInformationVector *outputVector) override;
70};
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 that generates a mesh for a graph.
Definition: ttkMeshGraph.h:37
~ttkMeshGraph() override
static ttkMeshGraph * New()
TTK meshGraph processing package.
Definition: MeshGraph.h:46