VTK  9.4.20251007
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
17
18#ifndef vtkPointGaussianMapper_h
19#define vtkPointGaussianMapper_h
20
21#include "vtkDeprecation.h" // For deprecation macro
22#include "vtkPolyDataMapper.h"
23#include "vtkRenderingCoreModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
27
28class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
36
43
45
49 vtkSetMacro(ScaleTableSize, int);
50 vtkGetMacro(ScaleTableSize, int);
52
54
57 vtkSetStringMacro(ScaleArray);
58 vtkGetStringMacro(ScaleArray);
60
62
65 vtkSetMacro(ScaleArrayComponent, int);
66 vtkGetMacro(ScaleArrayComponent, int);
68
70
76 vtkSetMacro(Anisotropic, bool);
77 vtkGetMacro(Anisotropic, bool);
78 vtkBooleanMacro(Anisotropic, bool);
80
82
90 vtkSetMacro(ScaleFactor, double);
91 vtkGetMacro(ScaleFactor, double);
93
95
101 vtkSetStringMacro(RotationArray);
102 vtkGetStringMacro(RotationArray);
104
106
109 vtkSetMacro(Emissive, vtkTypeBool);
110 vtkGetMacro(Emissive, vtkTypeBool);
111 vtkBooleanMacro(Emissive, vtkTypeBool);
113
115
122
124
128 vtkSetMacro(OpacityTableSize, int);
129 vtkGetMacro(OpacityTableSize, int);
131
133
137 vtkSetStringMacro(OpacityArray);
138 vtkGetStringMacro(OpacityArray);
140
142
145 vtkSetMacro(OpacityArrayComponent, int);
146 vtkGetMacro(OpacityArrayComponent, int);
148
150
159 vtkSetStringMacro(SplatShaderCode);
160 vtkGetStringMacro(SplatShaderCode);
162
164
176 VTK_DEPRECATED_IN_9_3_0("Use SetBoundScale function instead")
177 void SetTriangleScale(float value) { this->SetBoundScale(value); }
178 VTK_DEPRECATED_IN_9_3_0("Use GetBoundScale function instead")
179 float GetTriangleScale() { return this->GetBoundScale(); }
180 vtkSetMacro(BoundScale, float);
181 vtkGetMacro(BoundScale, float);
183
185
194 vtkSetVector3Macro(LowpassMatrix, float);
195 vtkGetVector3Macro(LowpassMatrix, float);
197
204 bool GetSupportsSelection() override { return true; }
205
206protected:
209
215
218
221
224
226
227private:
229 void operator=(const vtkPointGaussianMapper&) = delete;
230
231 char* RotationArray = nullptr;
232 float LowpassMatrix[3] = { 0.f, 0.f, 0.f };
233 bool Anisotropic = false;
234};
235
236VTK_ABI_NAMESPACE_END
237#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Defines a 1D piecewise function.
vtkPiecewiseFunction * ScaleFunction
static vtkPointGaussianMapper * New()
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.
virtual void SetBoundScale(float)
When drawing splats as opposed to point mode (splats are bigger than a pixel) this controls how large...
float GetTriangleScale()
When drawing splats as opposed to point mode (splats are bigger than a pixel) this controls how large...
virtual float GetBoundScale()
When drawing splats as opposed to point mode (splats are bigger than a pixel) this controls how large...
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.
void SetTriangleScale(float value)
When drawing splats as opposed to point mode (splats are bigger than a pixel) this controls how large...
~vtkPointGaussianMapper() override
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_DEPRECATED_IN_9_3_0(reason)