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
18 #ifndef vtkPointGaussianMapper_h
19 #define vtkPointGaussianMapper_h
20 
21 #include "vtkPolyDataMapper.h"
22 #include "vtkRenderingCoreModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
26 
27 class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
40  vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
42 
44 
48  vtkSetMacro(ScaleTableSize, int);
49  vtkGetMacro(ScaleTableSize, int);
51 
53 
56  vtkSetStringMacro(ScaleArray);
57  vtkGetStringMacro(ScaleArray);
59 
61 
64  vtkSetMacro(ScaleArrayComponent, int);
65  vtkGetMacro(ScaleArrayComponent, int);
67 
69 
77  vtkSetMacro(ScaleFactor, double);
78  vtkGetMacro(ScaleFactor, double);
80 
82 
85  vtkSetMacro(Emissive, vtkTypeBool);
86  vtkGetMacro(Emissive, vtkTypeBool);
87  vtkBooleanMacro(Emissive, vtkTypeBool);
89 
91 
96  vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
98 
100 
104  vtkSetMacro(OpacityTableSize, int);
105  vtkGetMacro(OpacityTableSize, int);
107 
109 
113  vtkSetStringMacro(OpacityArray);
114  vtkGetStringMacro(OpacityArray);
116 
118 
121  vtkSetMacro(OpacityArrayComponent, int);
122  vtkGetMacro(OpacityArrayComponent, int);
124 
126 
135  vtkSetStringMacro(SplatShaderCode);
136  vtkGetStringMacro(SplatShaderCode);
138 
140 
153  vtkSetMacro(TriangleScale, float);
154  vtkGetMacro(TriangleScale, float);
156 
163  bool GetSupportsSelection() override { return true; }
164 
165 protected:
168 
169  char* ScaleArray;
174 
177 
180 
181  double ScaleFactor;
183 
185 
186 private:
188  void operator=(const vtkPointGaussianMapper&) = delete;
189 };
190 
191 VTK_ABI_NAMESPACE_END
192 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
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