Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
vtkMaskedGlyph3D.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 __vtkMaskedGlyph3D_h
14 #define __vtkMaskedGlyph3D_h
15 
16 #include "MitkMapperExtExports.h"
17 
18 #include "vtkGlyph3D.h"
19 
20 #include "mitkCommon.h"
21 
22 class vtkMaskPoints;
31 class MITKMAPPEREXT_EXPORT vtkMaskedGlyph3D : public vtkGlyph3D
32 {
33 public:
34  vtkTypeMacro(vtkMaskedGlyph3D, vtkGlyph3D);
35  void PrintSelf(ostream &os, vtkIndent indent) override;
36 
40  static vtkMaskedGlyph3D *New();
41 
45  vtkSetMacro(MaximumNumberOfPoints, int);
46  vtkGetMacro(MaximumNumberOfPoints, int);
47 
51  virtual void SetInput(vtkDataSet *input);
52 
56  vtkSetMacro(UseMaskPoints, int);
57  vtkGetMacro(UseMaskPoints, int);
58 
62  void SetRandomMode(int mode);
63  int GetRandomMode();
64 
65  void SetInputConnection(vtkAlgorithmOutput *input) override;
66 
67  using vtkGlyph3D::SetInputConnection;
68 
69 protected:
71  ~vtkMaskedGlyph3D() override;
72 
73  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
74 
75  vtkMaskPoints *MaskPoints;
78 
79 private:
80  vtkMaskedGlyph3D(const vtkMaskedGlyph3D &); // Not implemented.
81  void operator=(const vtkMaskedGlyph3D &); // Not implemented.
82 };
83 
84 #endif
vtkMaskedGlyph3D
Definition: vtkMaskedGlyph3D.h:31
MitkMapperExtExports.h
vtkMaskedGlyph3D::MaskPoints
vtkMaskPoints * MaskPoints
Definition: vtkMaskedGlyph3D.h:75
vtkMaskedGlyph3D::MaximumNumberOfPoints
int MaximumNumberOfPoints
Definition: vtkMaskedGlyph3D.h:76
mitkCommon.h
vtkMaskedGlyph3D::UseMaskPoints
int UseMaskPoints
Definition: vtkMaskedGlyph3D.h:77
MITKMAPPEREXT_EXPORT
#define MITKMAPPEREXT_EXPORT
Definition: MitkMapperExtExports.h:15