VTK
vtkPointGaussianMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4 
5  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6  All rights reserved.
7  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
26 #ifndef vtkPointGaussianMapper_h
27 #define vtkPointGaussianMapper_h
28 
29 #include "vtkRenderingCoreModule.h" // For export macro
30 #include "vtkPolyDataMapper.h"
31 
33 
34 class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
35 {
36 public:
37  static vtkPointGaussianMapper* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  void SetScaleFunction(vtkPiecewiseFunction *);
47  vtkGetObjectMacro(ScaleFunction,vtkPiecewiseFunction);
49 
51 
55  vtkSetMacro(ScaleTableSize, int);
56  vtkGetMacro(ScaleTableSize, int);
58 
60 
63  vtkSetStringMacro(ScaleArray);
64  vtkGetStringMacro(ScaleArray);
66 
68 
71  vtkSetMacro(ScaleArrayComponent, int);
72  vtkGetMacro(ScaleArrayComponent, int);
74 
76 
84  vtkSetMacro(ScaleFactor,double);
85  vtkGetMacro(ScaleFactor,double);
87 
89 
92  vtkSetMacro(Emissive, vtkTypeBool);
93  vtkGetMacro(Emissive, vtkTypeBool);
94  vtkBooleanMacro(Emissive, vtkTypeBool);
96 
98 
102  void SetScalarOpacityFunction(vtkPiecewiseFunction *);
103  vtkGetObjectMacro(ScalarOpacityFunction,vtkPiecewiseFunction);
105 
107 
111  vtkSetMacro(OpacityTableSize, int);
112  vtkGetMacro(OpacityTableSize, int);
114 
116 
120  vtkSetStringMacro(OpacityArray);
121  vtkGetStringMacro(OpacityArray);
123 
125 
128  vtkSetMacro(OpacityArrayComponent, int);
129  vtkGetMacro(OpacityArrayComponent, int);
131 
133 
142  vtkSetStringMacro(SplatShaderCode);
143  vtkGetStringMacro(SplatShaderCode);
145 
147 
160  vtkSetMacro(TriangleScale,float);
161  vtkGetMacro(TriangleScale,float);
163 
164 protected:
166  ~vtkPointGaussianMapper() override;
167 
168  char *ScaleArray;
173 
176 
179 
180  double ScaleFactor;
182 
184 
185 private:
187  void operator=(const vtkPointGaussianMapper&) = delete;
188 };
189 
190 #endif
Defines a 1D piecewise function.
vtkPiecewiseFunction * ScaleFunction
int vtkTypeBool
Definition: vtkABI.h:69
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPiecewiseFunction * ScalarOpacityFunction
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
map vtkPolyData to graphics primitives
static vtkPolyDataMapper * New()
draw PointGaussians using imposters