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=========================================================================*/
29#ifndef vtkPointGaussianMapper_h
30#define vtkPointGaussianMapper_h
31
32#include "vtkPolyDataMapper.h"
33#include "vtkRenderingCoreModule.h" // For export macro
34
36
37class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
50 vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
52
54
58 vtkSetMacro(ScaleTableSize, int);
59 vtkGetMacro(ScaleTableSize, int);
61
63
66 vtkSetStringMacro(ScaleArray);
67 vtkGetStringMacro(ScaleArray);
69
71
74 vtkSetMacro(ScaleArrayComponent, int);
75 vtkGetMacro(ScaleArrayComponent, int);
77
79
87 vtkSetMacro(ScaleFactor, double);
88 vtkGetMacro(ScaleFactor, double);
90
92
95 vtkSetMacro(Emissive, vtkTypeBool);
96 vtkGetMacro(Emissive, vtkTypeBool);
97 vtkBooleanMacro(Emissive, vtkTypeBool);
99
101
106 vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
108
110
114 vtkSetMacro(OpacityTableSize, int);
115 vtkGetMacro(OpacityTableSize, int);
117
119
123 vtkSetStringMacro(OpacityArray);
124 vtkGetStringMacro(OpacityArray);
126
128
131 vtkSetMacro(OpacityArrayComponent, int);
132 vtkGetMacro(OpacityArrayComponent, int);
134
136
145 vtkSetStringMacro(SplatShaderCode);
146 vtkGetStringMacro(SplatShaderCode);
148
150
163 vtkSetMacro(TriangleScale, float);
164 vtkGetMacro(TriangleScale, float);
166
173 bool GetSupportsSelection() override { return true; }
174
175protected:
178
184
187
190
193
195
196private:
198 void operator=(const vtkPointGaussianMapper&) = delete;
199};
200
201#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
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