VTK  9.0.2
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 "vtkPolyDataMapper.h"
30 #include "vtkRenderingCoreModule.h" // For export macro
31 
33 
34 class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
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 
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 
170  bool GetSupportsSelection() override { return true; }
171 
172 protected:
175 
176  char* ScaleArray;
181 
184 
187 
188  double ScaleFactor;
190 
192 
193 private:
195  void operator=(const vtkPointGaussianMapper&) = delete;
196 };
197 
198 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
Defines a 1D piecewise function.
draw PointGaussians using imposters
vtkPiecewiseFunction * ScaleFunction
bool GetSupportsSelection() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
void SetScaleFunction(vtkPiecewiseFunction *)
Set/Get the optional scale transfer function.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPiecewiseFunction * ScalarOpacityFunction
void SetScalarOpacityFunction(vtkPiecewiseFunction *)
Set/Get the optional opacity transfer function.
static vtkPointGaussianMapper * New()
~vtkPointGaussianMapper() override
map vtkPolyData to graphics primitives
int vtkTypeBool
Definition: vtkABI.h:69