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 =========================================================================*/
45 #ifndef vtkPointGaussianMapper_h
46 #define vtkPointGaussianMapper_h
47 
48 #include "vtkPolyDataMapper.h"
49 #include "vtkRenderingCoreModule.h" // For export macro
50 
52 
53 class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
66  vtkGetObjectMacro(ScaleFunction, vtkPiecewiseFunction);
68 
70 
74  vtkSetMacro(ScaleTableSize, int);
75  vtkGetMacro(ScaleTableSize, int);
77 
79 
82  vtkSetStringMacro(ScaleArray);
83  vtkGetStringMacro(ScaleArray);
85 
87 
90  vtkSetMacro(ScaleArrayComponent, int);
91  vtkGetMacro(ScaleArrayComponent, int);
93 
95 
103  vtkSetMacro(ScaleFactor, double);
104  vtkGetMacro(ScaleFactor, double);
106 
108 
111  vtkSetMacro(Emissive, vtkTypeBool);
112  vtkGetMacro(Emissive, vtkTypeBool);
113  vtkBooleanMacro(Emissive, vtkTypeBool);
115 
117 
122  vtkGetObjectMacro(ScalarOpacityFunction, vtkPiecewiseFunction);
124 
126 
130  vtkSetMacro(OpacityTableSize, int);
131  vtkGetMacro(OpacityTableSize, int);
133 
135 
139  vtkSetStringMacro(OpacityArray);
140  vtkGetStringMacro(OpacityArray);
142 
144 
147  vtkSetMacro(OpacityArrayComponent, int);
148  vtkGetMacro(OpacityArrayComponent, int);
150 
152 
161  vtkSetStringMacro(SplatShaderCode);
162  vtkGetStringMacro(SplatShaderCode);
164 
166 
179  vtkSetMacro(TriangleScale, float);
180  vtkGetMacro(TriangleScale, float);
182 
189  bool GetSupportsSelection() override { return true; }
190 
191 protected:
194 
195  char* ScaleArray;
200 
203 
206 
207  double ScaleFactor;
209 
211 
212 private:
214  void operator=(const vtkPointGaussianMapper&) = delete;
215 };
216 
217 #endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Defines a 1D piecewise function.
draw PointGaussians using imposters
vtkPiecewiseFunction * ScaleFunction
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.
static vtkPointGaussianMapper * New()
~vtkPointGaussianMapper() override
map vtkPolyData to graphics primitives
int vtkTypeBool
Definition: vtkABI.h:69