TTK
Loading...
Searching...
No Matches
ttkMarchingTetrahedra.h
Go to the documentation of this file.
1
47
48#pragma once
49
50// VTK Module
51#include <ttkMarchingTetrahedraModule.h>
52
53// ttk code includes
54#include <MarchingTetrahedra.h>
55#include <ttkAlgorithm.h>
56#include <ttkMacros.h>
57
58class vtkPolyData;
59
60class TTKMARCHINGTETRAHEDRA_EXPORT ttkMarchingTetrahedra
61 : public ttkAlgorithm,
62 protected ttk::MarchingTetrahedra {
63
64public:
66
68
70 vtkGetEnumMacro(SurfaceMode, SURFACE_MODE);
71
72protected:
73 template <typename scalarType, typename triangulationType>
74 int dispatch(vtkDataArray *const inputScalars,
75 vtkPolyData *const outputSeparators,
76 const triangulationType &triangulation);
77
79
80 int FillInputPortInformation(int port, vtkInformation *info) override;
81 int FillOutputPortInformation(int port, vtkInformation *info) override;
82 int RequestData(vtkInformation *request,
83 vtkInformationVector **inputVector,
84 vtkInformationVector *outputVector) override;
85};
Baseclass of all VTK filters that wrap ttk modules.
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
TTK VTK-filter that wraps the ttk::MarchingTetrahedra module.
static ttkMarchingTetrahedra * New()
TTK processing package for Marching Tetra/Triangles computations.
SURFACE_MODE
Type of 2-separatrix output.
#define ttkSetEnumMacro(name, enumType)
Definition ttkMacros.h:38