VTK  9.3.0
vtkPointGaussianMapper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
27 #ifndef vtkPointGaussianMapper_h
28 #define vtkPointGaussianMapper_h
29 
30 #include "vtkPolyDataMapper.h"
31 #include "vtkRenderingCoreModule.h" // For export macro
32 
33 VTK_ABI_NAMESPACE_BEGIN
35 
36 class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
49  vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
51 
53 
57  vtkSetMacro(ScaleTableSize, int);
58  vtkGetMacro(ScaleTableSize, int);
60 
62 
65  vtkSetStringMacro(ScaleArray);
66  vtkGetStringMacro(ScaleArray);
68 
70 
73  vtkSetMacro(ScaleArrayComponent, int);
74  vtkGetMacro(ScaleArrayComponent, int);
76 
78 
86  vtkSetMacro(ScaleFactor, double);
87  vtkGetMacro(ScaleFactor, double);
89 
91 
94  vtkSetMacro(Emissive, vtkTypeBool);
95  vtkGetMacro(Emissive, vtkTypeBool);
96  vtkBooleanMacro(Emissive, vtkTypeBool);
98 
100 
105  vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
107 
109 
113  vtkSetMacro(OpacityTableSize, int);
114  vtkGetMacro(OpacityTableSize, int);
116 
118 
122  vtkSetStringMacro(OpacityArray);
123  vtkGetStringMacro(OpacityArray);
125 
127 
130  vtkSetMacro(OpacityArrayComponent, int);
131  vtkGetMacro(OpacityArrayComponent, int);
133 
135 
144  vtkSetStringMacro(SplatShaderCode);
145  vtkGetStringMacro(SplatShaderCode);
147 
149 
162  vtkSetMacro(TriangleScale, float);
163  vtkGetMacro(TriangleScale, float);
165 
172  bool GetSupportsSelection() override { return true; }
173 
174 protected:
177 
178  char* ScaleArray;
183 
186 
189 
190  double ScaleFactor;
192 
194 
195 private:
197  void operator=(const vtkPointGaussianMapper&) = delete;
198 };
199 
200 VTK_ABI_NAMESPACE_END
201 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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:64