OGS
OGSFilterInfo.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "VtkOGSFilter.h"
18#include <string>
19
22{
23public:
24 enum class VtkTargetObject
25 {
26 POLYDATA = 0,
28 IMAGEDATA = 3
29 };
30
31 OGSFilterInfo(std::string t, VtkOGSFilter::OGSVisFilter f,
32 VtkTargetObject v) : _text(t), _filter(f), _target(v) {}
34 const std::string& text() const { return _text; }
35 const VtkOGSFilter::OGSVisFilter& filter() const { return _filter; }
36 const VtkTargetObject& target() const { return _target; }
37
38private:
39 std::string _text;
40 VtkOGSFilter::OGSVisFilter _filter;
42};
Stores information about filters in VtkOGSFilter for access-routines from the GUI.
std::string _text
const VtkTargetObject & target() const
VtkTargetObject _target
VtkOGSFilter::OGSVisFilter _filter
const std::string & text() const
const VtkOGSFilter::OGSVisFilter & filter() const
OGSFilterInfo(std::string t, VtkOGSFilter::OGSVisFilter f, VtkTargetObject v)