VTK  9.1.0
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=========================================================================*/
35#ifndef vtkPointGaussianMapper_h
36#define vtkPointGaussianMapper_h
37
38#include "vtkPolyDataMapper.h"
39#include "vtkRenderingCoreModule.h" // For export macro
40
42
43class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
56 vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
58
60
64 vtkSetMacro(ScaleTableSize, int);
65 vtkGetMacro(ScaleTableSize, int);
67
69
72 vtkSetStringMacro(ScaleArray);
73 vtkGetStringMacro(ScaleArray);
75
77
80 vtkSetMacro(ScaleArrayComponent, int);
81 vtkGetMacro(ScaleArrayComponent, int);
83
85
93 vtkSetMacro(ScaleFactor, double);
94 vtkGetMacro(ScaleFactor, double);
96
98
101 vtkSetMacro(Emissive, vtkTypeBool);
102 vtkGetMacro(Emissive, vtkTypeBool);
103 vtkBooleanMacro(Emissive, vtkTypeBool);
105
107
112 vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
114
116
120 vtkSetMacro(OpacityTableSize, int);
121 vtkGetMacro(OpacityTableSize, int);
123
125
129 vtkSetStringMacro(OpacityArray);
130 vtkGetStringMacro(OpacityArray);
132
134
137 vtkSetMacro(OpacityArrayComponent, int);
138 vtkGetMacro(OpacityArrayComponent, int);
140
142
151 vtkSetStringMacro(SplatShaderCode);
152 vtkGetStringMacro(SplatShaderCode);
154
156
169 vtkSetMacro(TriangleScale, float);
170 vtkGetMacro(TriangleScale, float);
172
179 bool GetSupportsSelection() override { return true; }
180
181protected:
184
190
193
196
199
201
202private:
204 void operator=(const vtkPointGaussianMapper&) = delete;
205};
206
207#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
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