Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 __vtkMaskedGlyph2D_h
18 #define __vtkMaskedGlyph2D_h
19 
20 #include "MitkMapperExtExports.h"
21 
22 #include "mitkCommon.h"
23 #include "vtkGlyph2D.h"
24 
25 class vtkMaskPoints;
34 class MITKMAPPEREXT_EXPORT vtkMaskedGlyph2D : public vtkGlyph2D
35 {
36 public:
37  vtkTypeMacro(vtkMaskedGlyph2D, vtkGlyph2D);
38  void PrintSelf(ostream &os, vtkIndent indent) override;
39 
43  static vtkMaskedGlyph2D *New();
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 
92 protected:
95 
96  virtual int RequestData(vtkInformation *info,
97  vtkInformationVector **inInfoVec,
98  vtkInformationVector *outInfoVec) override;
99 
100  vtkMaskPoints *MaskPoints;
103 
104 private:
105  vtkMaskedGlyph2D(const vtkMaskedGlyph2D &); // Not implemented.
106  void operator=(const vtkMaskedGlyph2D &); // Not implemented.
107 };
108 
109 #endif
vtkMaskPoints * MaskPoints
#define MITKMAPPEREXT_EXPORT
static void info(const char *fmt,...)
Definition: svm.cpp:100
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.