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=========================================================================*/
48#ifndef vtkPointGaussianMapper_h
49#define vtkPointGaussianMapper_h
50
51#include "vtkPolyDataMapper.h"
52#include "vtkRenderingCoreModule.h" // For export macro
53
55
56class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
57{
58public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
64
69 vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
71
73
77 vtkSetMacro(ScaleTableSize, int);
78 vtkGetMacro(ScaleTableSize, int);
80
82
85 vtkSetStringMacro(ScaleArray);
86 vtkGetStringMacro(ScaleArray);
88
90
93 vtkSetMacro(ScaleArrayComponent, int);
94 vtkGetMacro(ScaleArrayComponent, int);
96
98
106 vtkSetMacro(ScaleFactor, double);
107 vtkGetMacro(ScaleFactor, double);
109
111
114 vtkSetMacro(Emissive, vtkTypeBool);
115 vtkGetMacro(Emissive, vtkTypeBool);
116 vtkBooleanMacro(Emissive, vtkTypeBool);
118
120
125 vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
127
129
133 vtkSetMacro(OpacityTableSize, int);
134 vtkGetMacro(OpacityTableSize, int);
136
138
142 vtkSetStringMacro(OpacityArray);
143 vtkGetStringMacro(OpacityArray);
145
147
150 vtkSetMacro(OpacityArrayComponent, int);
151 vtkGetMacro(OpacityArrayComponent, int);
153
155
164 vtkSetStringMacro(SplatShaderCode);
165 vtkGetStringMacro(SplatShaderCode);
167
169
182 vtkSetMacro(TriangleScale, float);
183 vtkGetMacro(TriangleScale, float);
185
192 bool GetSupportsSelection() override { return true; }
193
194protected:
197
203
206
209
212
214
215private:
217 void operator=(const vtkPointGaussianMapper&) = delete;
218};
219
220#endif
a simple class to control print indentation
Definition: vtkIndent.h:119
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