TTK
Loading...
Searching...
No Matches
ttkTextureMapFromField.h
Go to the documentation of this file.
1
23
24#pragma once
25
26// VTK Module
27#include <ttkTextureMapFromFieldModule.h>
28
29// ttk code includes
30#include <ttkAlgorithm.h>
31
32class TTKTEXTUREMAPFROMFIELD_EXPORT ttkTextureMapFromField
33 : public ttkAlgorithm {
34
35public:
37
39
40 vtkSetMacro(OnlyUComponent, bool);
41 vtkGetMacro(OnlyUComponent, bool);
42
43 vtkSetMacro(OnlyVComponent, bool);
44 vtkGetMacro(OnlyVComponent, bool);
45
46 vtkSetMacro(RepeatUTexture, bool);
47 vtkGetMacro(RepeatUTexture, bool);
48
49 vtkSetMacro(RepeatVTexture, bool);
50 vtkGetMacro(RepeatVTexture, bool);
51
52protected:
54
55 int FillInputPortInformation(int port, vtkInformation *info) override;
56 int FillOutputPortInformation(int port, vtkInformation *info) override;
57 int RequestData(vtkInformation *request,
58 vtkInformationVector **inputVector,
59 vtkInformationVector *outputVector) override;
60
61private:
62 bool OnlyUComponent{true}, OnlyVComponent{false}, RepeatUTexture{false},
63 RepeatVTexture{false};
64};
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 which generates a texture map from one or two point data scalar fields.
static ttkTextureMapFromField * New()