22 #ifndef vtkPointGaussianRepresentation_h 23 #define vtkPointGaussianRepresentation_h 25 #include "vtkPVClientServerCoreRenderingModule.h" 27 #include "vtkSmartPointer.h" 30 class vtkPointGaussianMapper;
31 class vtkScalarsToColors;
33 class vtkPiecewiseFunction;
41 virtual
void PrintSelf(ostream& os, vtkIndent indent);
43 virtual
int ProcessViewRequest(
44 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
49 void SetLookupTable(vtkScalarsToColors* lut);
54 virtual
void SetVisibility(
bool val);
59 virtual
void SetEmissive(
bool val);
65 virtual
void SetMapScalars(
int val);
69 virtual
void SetOrientation(
double,
double,
double);
70 virtual
void SetOrigin(
double,
double,
double);
71 virtual
void SetPickable(
int val);
72 virtual
void SetPosition(
double,
double,
double);
73 virtual
void SetScale(
double,
double,
double);
77 virtual
void SetAmbientColor(
double r,
double g,
double b);
78 virtual
void SetColor(
double r,
double g,
double b);
79 virtual
void SetDiffuseColor(
double r,
double g,
double b);
80 virtual
void SetEdgeColor(
double r,
double g,
double b);
81 virtual
void SetInterpolation(
int val);
82 virtual
void SetLineWidth(
double val);
83 virtual
void SetOpacity(
double val);
84 virtual
void SetPointSize(
double val);
85 virtual
void SetSpecularColor(
double r,
double g,
double b);
86 virtual
void SetSpecularPower(
double val);
92 virtual
void SetSplatSize(
double radius);
111 void SelectShaderPreset(
int preset);
116 void SetCustomShader(
const char* shaderString);
123 void SelectScaleArray(
int,
int,
int,
int,
const char* name);
131 void SetScaleTransferFunction(vtkPiecewiseFunction* pwf);
137 void SetOpacityTransferFunction(vtkPiecewiseFunction* pwf);
145 void SelectOpacityArray(
int,
int,
int,
int,
const char* name);
153 void SetOpacityByArray(
bool newVal);
154 vtkGetMacro(OpacityByArray,
bool);
155 vtkBooleanMacro(OpacityByArray,
bool);
163 void SetScaleByArray(
bool newVal);
164 vtkGetMacro(ScaleByArray,
bool);
165 vtkBooleanMacro(ScaleByArray,
bool);
175 virtual int FillInputPortInformation(
int port, vtkInformation* info);
176 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
179 vtkSmartPointer<vtkPointGaussianMapper>
Mapper;
182 void UpdateColoringParameters();
187 vtkSetStringMacro(LastScaleArray);
192 vtkSetStringMacro(LastOpacityArray);
199 #endif // vtkPointGaussianRepresentation_h vtkSmartPointer< vtkPolyData > ProcessedData
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkSmartPointer< vtkActor > Actor
Representation for showing point data as sprites, including gaussian splats, spheres, or some custom shaded representation.
virtual bool AddToView(vtkView *view)
Making these methods public.
ShaderPresets
An enum specifying some preset fragment shaders.
vtkSmartPointer< vtkPointGaussianMapper > Mapper
virtual bool RemoveFromView(vtkView *view)
Making these methods public.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.