-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvtkSimpleBin.h
More file actions
75 lines (56 loc) · 2.02 KB
/
vtkSimpleBin.h
File metadata and controls
75 lines (56 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*=========================================================================
Program:
Module: vtkSimpleBin.h
Copyright (c) Rafael Küng
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkSimpleBin - Filter Tracks
// .SECTION Description
// vtkSimpleBin allows to select Lines, where a certain PointData Value meets specified condition
#ifndef __vtkSimpleBin_h
#define __vtkSimpleBin_h
#include "vtkPolyDataAlgorithm.h" // superclass
#include "vtkSmartPointer.h"
#include "vtkPolyData.h"
#include "vtkPoints.h"
#include "vtkCellArray.h"
#include "vtkFloatArray.h"
#include "vtkInformation.h"
#include "vtkInformationVector.h"
#include <vtkstd/string>
class VTK_EXPORT vtkSimpleBin : public vtkPolyDataAlgorithm
{
public:
static vtkSimpleBin* New();
//vtkTypeMacro(vtkSimpleBin, vtkPolyDataAlgorithm);
vtkTypeRevisionMacro(vtkSimpleBin,vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
//vtkSetMacro(DoStdDerr,bool);
//vtkGetMacro(DoStdDerr,bool);
vtkSetMacro(IntBin,bool);
vtkGetMacro(IntBin,bool);
vtkSetMacro(LogScale,bool);
vtkGetMacro(LogScale,bool);
vtkSetMacro(Del0Row,bool);
vtkGetMacro(Del0Row,bool);
vtkSetMacro(BinCount,int);
vtkGetMacro(BinCount,int);
protected:
vtkSimpleBin();
~vtkSimpleBin();
virtual int FillInputPortInformation(int port, vtkInformation* info);
virtual int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info);
virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
private:
vtkSimpleBin(const vtkSimpleBin&); // Not implemented.
void operator=(const vtkSimpleBin&); // Not implemented.
//bool DoStdDerr;
bool IntBin;
bool LogScale;
int BinCount;
bool Del0Row;
};
#endif