Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkMaskedProgrammableGlyphFilter.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 __vtkMaskedProgrammableGlyphFilter_h
18 #define __vtkMaskedProgrammableGlyphFilter_h
19 
21 
22 #include "vtkProgrammableGlyphFilter.h"
23 #include "mitkBaseGeometry.h"
24 
25 class vtkMaskPoints;
34 class MITKDIFFUSIONCORE_EXPORT vtkMaskedProgrammableGlyphFilter : public vtkProgrammableGlyphFilter
35 {
36 public:
37  vtkTypeMacro(vtkMaskedProgrammableGlyphFilter,vtkProgrammableGlyphFilter);
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
44 
48  vtkSetMacro(MaximumNumberOfPoints, int);
49  vtkGetMacro(MaximumNumberOfPoints, int);
50 
54  virtual void SetInput(vtkDataSet *input);
55 
59  vtkSetMacro(UseMaskPoints, int);
60  vtkGetMacro(UseMaskPoints, int);
61 
65  void SetRandomMode(int mode);
66  int GetRandomMode();
67 
69  // * If you want to use an arbitrary scalars array, then set its name here.
70  // * By default this in NULL and the filter will use the active scalar array.
71  // */
72  //vtkGetStringMacro(InputScalarsSelection);
73  //void SelectInputScalars(const char *fieldName)
74  // {this->SetInputScalarsSelection(fieldName);}
75 
77  // * If you want to use an arbitrary vectors array, then set its name here.
78  // * By default this in NULL and the filter will use the active vector array.
79  // */
80  //vtkGetStringMacro(InputVectorsSelection);
81  //void SelectInputVectors(const char *fieldName)
82  // {this->SetInputVectorsSelection(fieldName);}
83 
85  // * If you want to use an arbitrary normals array, then set its name here.
86  // * By default this in NULL and the filter will use the active normal array.
87  // */
88  //vtkGetStringMacro(InputNormalsSelection);
89  //void SelectInputNormals(const char *fieldName)
90  // {this->SetInputNormalsSelection(fieldName);}
91 
93  { this->m_Geometry = geo; }
95  { return this->m_Geometry; }
96 
97 protected:
100 
101  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
102 
103  vtkMaskPoints *MaskPoints;
106 
108 
109 private:
111  void operator=(const vtkMaskedProgrammableGlyphFilter&); // Not implemented.
112 };
113 
114 #endif
#define MITKDIFFUSIONCORE_EXPORT
void SetGeometry(mitk::BaseGeometry::Pointer geo)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.