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 
37 class VTKRENDERINGCORE_EXPORT vtkPointGaussianMapper : public vtkPolyDataMapper
38 {
39 public:
40  static vtkPointGaussianMapper* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
49  void SetScaleFunction(vtkPiecewiseFunction*);
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 
105  void SetScalarOpacityFunction(vtkPiecewiseFunction*);
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 
175 protected:
177  ~vtkPointGaussianMapper() override;
178 
179  char* ScaleArray;
184 
187 
190 
191  double ScaleFactor;
193 
195 
196 private:
198  void operator=(const vtkPointGaussianMapper&) = delete;
199 };
200 
201 #endif
Defines a 1D piecewise function.
vtkPiecewiseFunction * ScaleFunction
bool GetSupportsSelection() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
int vtkTypeBool
Definition: vtkABI.h:69
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPiecewiseFunction * ScalarOpacityFunction
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
map vtkPolyData to graphics primitives
static vtkPolyDataMapper * New()
draw PointGaussians using imposters