VTK  9.2.6
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=========================================================================*/
38#ifndef vtkPointGaussianMapper_h
39#define vtkPointGaussianMapper_h
40
41#include "vtkPolyDataMapper.h"
42#include "vtkRenderingCoreModule.h" // For export macro
43
45
46class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
47{
48public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
59 vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
61
63
67 vtkSetMacro(ScaleTableSize, int);
68 vtkGetMacro(ScaleTableSize, int);
70
72
75 vtkSetStringMacro(ScaleArray);
76 vtkGetStringMacro(ScaleArray);
78
80
83 vtkSetMacro(ScaleArrayComponent, int);
84 vtkGetMacro(ScaleArrayComponent, int);
86
88
96 vtkSetMacro(ScaleFactor, double);
97 vtkGetMacro(ScaleFactor, double);
99
101
104 vtkSetMacro(Emissive, vtkTypeBool);
105 vtkGetMacro(Emissive, vtkTypeBool);
106 vtkBooleanMacro(Emissive, vtkTypeBool);
108
110
115 vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
117
119
123 vtkSetMacro(OpacityTableSize, int);
124 vtkGetMacro(OpacityTableSize, int);
126
128
132 vtkSetStringMacro(OpacityArray);
133 vtkGetStringMacro(OpacityArray);
135
137
140 vtkSetMacro(OpacityArrayComponent, int);
141 vtkGetMacro(OpacityArrayComponent, int);
143
145
154 vtkSetStringMacro(SplatShaderCode);
155 vtkGetStringMacro(SplatShaderCode);
157
159
172 vtkSetMacro(TriangleScale, float);
173 vtkGetMacro(TriangleScale, float);
175
182 bool GetSupportsSelection() override { return true; }
183
184protected:
187
193
196
199
202
204
205private:
207 void operator=(const vtkPointGaussianMapper&) = delete;
208};
209
210#endif
a simple class to control print indentation
Definition vtkIndent.h:49
Defines a 1D piecewise function.
draw PointGaussians using imposters
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.
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.
~vtkPointGaussianMapper() override
map vtkPolyData to graphics primitives
int vtkTypeBool
Definition vtkABI.h:69