10 #ifndef vtkPointGaussianRepresentation_h 11 #define vtkPointGaussianRepresentation_h 48 virtual void SetEmissive(
bool val);
54 virtual void SetMapScalars(
int val);
58 virtual void SetOrientation(
double,
double,
double);
59 virtual void SetOrigin(
double,
double,
double);
60 virtual void SetPickable(
int val);
61 virtual void SetPosition(
double,
double,
double);
62 virtual void SetScale(
double,
double,
double);
63 virtual void SetCoordinateSystem(
int);
67 virtual void SetAmbientColor(
double r,
double g,
double b);
68 virtual void SetDiffuseColor(
double r,
double g,
double b);
69 virtual void SetEdgeColor(
double r,
double g,
double b);
70 virtual void SetInterpolation(
int val);
71 virtual void SetLineWidth(
double val);
72 virtual void SetOpacity(
double val);
73 virtual void SetPointSize(
double val);
74 virtual void SetSpecularColor(
double r,
double g,
double b);
75 virtual void SetSpecularPower(
double val);
81 virtual void SetSplatSize(
double radius);
101 void SelectShaderPreset(
int preset);
106 void SetCustomShader(
const char* shaderString);
111 void SetCustomTriangleScale(
double scale);
118 void SelectScaleArray(
int,
int,
int,
int,
const char* name);
123 void SelectScaleArrayComponent(
int component);
128 void SetUseScaleFunction(
bool enable);
150 void SelectOpacityArray(
int,
int,
int,
int,
const char* name);
155 void SelectOpacityArrayComponent(
int component);
163 void SetOpacityByArray(
bool newVal);
164 vtkGetMacro(OpacityByArray,
bool);
165 vtkBooleanMacro(OpacityByArray,
bool);
173 void SetScaleByArray(
bool newVal);
174 vtkGetMacro(ScaleByArray,
bool);
175 vtkBooleanMacro(ScaleByArray,
bool);
188 void UpdateColoringParameters();
189 vtkSetStringMacro(LastScaleArray);
190 vtkSetStringMacro(LastOpacityArray);
191 void InitializeShaderPresets();
192 void UpdateMapperScaleFunction();
219 #endif // vtkPointGaussianRepresentation_h
vtkSmartPointer< vtkDataObject > ProcessedData
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkSmartPointer< vtkActor > Actor
bool AddToView(vtkView *view) override
Making these methods public.
Representation for showing point data as sprites, including gaussian splats, spheres, or some custom shaded representation.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
int LastScaleArrayComponent
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
ShaderPresets
An enum specifying some preset fragment shaders.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
std::vector< float > PresetShaderScales
vtkSmartPointer< vtkPointGaussianMapper > Mapper
bool RemoveFromView(vtkView *view) override
Making these methods public.
static vtkDataRepresentation * New()
vtkSmartPointer< vtkPiecewiseFunction > ScaleFunction
void PrintSelf(ostream &os, vtkIndent indent) override
std::vector< std::string > PresetShaderStrings
int LastOpacityArrayComponent