Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
vtkMaskedGlyph2D.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef __vtkMaskedGlyph2D_h
14 #define __vtkMaskedGlyph2D_h
15 
16 #include "MitkMapperExtExports.h"
17 
18 #include "mitkCommon.h"
19 #include "vtkGlyph2D.h"
20 
21 class vtkMaskPoints;
30 class MITKMAPPEREXT_EXPORT vtkMaskedGlyph2D : public vtkGlyph2D
31 {
32 public:
33  vtkTypeMacro(vtkMaskedGlyph2D, vtkGlyph2D);
34  void PrintSelf(ostream &os, vtkIndent indent) override;
35 
39  static vtkMaskedGlyph2D *New();
40 
44  vtkSetMacro(MaximumNumberOfPoints, int);
45  vtkGetMacro(MaximumNumberOfPoints, int);
46 
50  virtual void SetInput(vtkDataSet *input);
51 
55  vtkSetMacro(UseMaskPoints, int);
56  vtkGetMacro(UseMaskPoints, int);
57 
61  void SetRandomMode(int mode);
62  int GetRandomMode();
63 
65  // * If you want to use an arbitrary scalars array, then set its name here.
66  // * By default this in nullptr and the filter will use the active scalar array.
67  // */
68  // vtkGetStringMacro(InputScalarsSelection);
69  // void SelectInputScalars(const char *fieldName)
70  // {this->SetInputScalarsSelection(fieldName);}
71 
73  // * If you want to use an arbitrary vectors array, then set its name here.
74  // * By default this in nullptr and the filter will use the active vector array.
75  // */
76  // vtkGetStringMacro(InputVectorsSelection);
77  // void SelectInputVectors(const char *fieldName)
78  // {this->SetInputVectorsSelection(fieldName);}
79 
81  // * If you want to use an arbitrary normals array, then set its name here.
82  // * By default this in nullptr and the filter will use the active normal array.
83  // */
84  // vtkGetStringMacro(InputNormalsSelection);
85  // void SelectInputNormals(const char *fieldName)
86  // {this->SetInputNormalsSelection(fieldName);}
87 
88 protected:
90  ~vtkMaskedGlyph2D() override;
91 
92  int RequestData(vtkInformation *info,
93  vtkInformationVector **inInfoVec,
94  vtkInformationVector *outInfoVec) override;
95 
96  vtkMaskPoints *MaskPoints;
99 
100 private:
101  vtkMaskedGlyph2D(const vtkMaskedGlyph2D &); // Not implemented.
102  void operator=(const vtkMaskedGlyph2D &); // Not implemented.
103 };
104 
105 #endif
vtkMaskedGlyph2D::MaskPoints
vtkMaskPoints * MaskPoints
Definition: vtkMaskedGlyph2D.h:96
MitkMapperExtExports.h
vtkMaskedGlyph2D::UseMaskPoints
int UseMaskPoints
Definition: vtkMaskedGlyph2D.h:98
vtkMaskedGlyph2D::MaximumNumberOfPoints
int MaximumNumberOfPoints
Definition: vtkMaskedGlyph2D.h:97
vtkMaskedGlyph2D
Definition: vtkMaskedGlyph2D.h:30
mitkCommon.h
MITKMAPPEREXT_EXPORT
#define MITKMAPPEREXT_EXPORT
Definition: MitkMapperExtExports.h:15