Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef __vtkMaskedGlyph3D_h
18 #define __vtkMaskedGlyph3D_h
19 
20 #include "MitkMapperExtExports.h"
21 
22 #include "vtkGlyph3D.h"
23 
24 #include "mitkCommon.h"
25 
26 class vtkMaskPoints;
35 class MITKMAPPEREXT_EXPORT vtkMaskedGlyph3D : public vtkGlyph3D
36 {
37 public:
38  vtkTypeMacro(vtkMaskedGlyph3D, vtkGlyph3D);
39  void PrintSelf(ostream &os, vtkIndent indent) override;
40 
44  static vtkMaskedGlyph3D *New();
45 
49  vtkSetMacro(MaximumNumberOfPoints, int);
50  vtkGetMacro(MaximumNumberOfPoints, int);
51 
55  virtual void SetInput(vtkDataSet *input);
56 
60  vtkSetMacro(UseMaskPoints, int);
61  vtkGetMacro(UseMaskPoints, int);
62 
66  void SetRandomMode(int mode);
67  int GetRandomMode();
68 
69  virtual void SetInputConnection(vtkAlgorithmOutput *input) override;
70 
71  using vtkGlyph3D::SetInputConnection;
72 
73 protected:
76 
77  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
78 
79  vtkMaskPoints *MaskPoints;
82 
83 private:
84  vtkMaskedGlyph3D(const vtkMaskedGlyph3D &); // Not implemented.
85  void operator=(const vtkMaskedGlyph3D &); // Not implemented.
86 };
87 
88 #endif
vtkMaskPoints * MaskPoints
#define MITKMAPPEREXT_EXPORT
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.