vtkSurfaceLICRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 // .NAME vtkSurfaceLICRepresentation
4 // .SECTION Description
5 // vtkSurfaceLICRepresentation extends vtkGeometryRepresentation to use surface
6 // lic when rendering surfaces.
7 
8 #ifndef vtkSurfaceLICRepresentation_h
9 #define vtkSurfaceLICRepresentation_h
10 
12 #include "vtkRemotingViewsModule.h" // for export macro
13 
14 class vtkInformation;
16 
18 
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
27  // Description:
28  // vtkAlgorithm::ProcessRequest() equivalent for rendering passes. This is
29  // typically called by the vtkView to request meta-data from the
30  // representations or ask them to perform certain tasks e.g.
31  // PrepareForRendering.
33  vtkInformation* outInfo) override;
34 
35  // Description:
36  // Indicates whether LIC should be used when doing LOD rendering.
37  void SetUseLICForLOD(bool val);
38 
39  //***************************************************************************
40  // Forwarded to vtkSurfaceLICPainter
41  void SetEnable(bool val);
42 
43  void SetNumberOfSteps(int val);
44  void SetStepSize(double val);
45  void SetNormalizeVectors(int val);
46 
47  void SetEnhancedLIC(int val);
48 
49  void SetEnhanceContrast(int val);
50  void SetLowLICContrastEnhancementFactor(double val);
51  void SetHighLICContrastEnhancementFactor(double val);
52  void SetLowColorContrastEnhancementFactor(double val);
53  void SetHighColorContrastEnhancementFactor(double val);
54  void SetAntiAlias(int val);
55 
56  void SetColorMode(int val);
57  void SetMapModeBias(double val);
58  void SetLICIntensity(double val);
59 
60  void SetMaskOnSurface(int val);
61  void SetMaskThreshold(double val);
62  void SetMaskColor(double* val);
63  void SetMaskColor(double r, double g, double b)
64  {
65  double rgb[3] = { r, g, b };
66  this->SetMaskColor(rgb);
67  }
68  void SetMaskIntensity(double val);
69 
70  void SetGenerateNoiseTexture(int val);
71  void SetNoiseType(int val);
72  void SetNoiseTextureSize(int val);
73  void SetNoiseGrainSize(int val);
74  void SetMinNoiseValue(double val);
75  void SetMaxNoiseValue(double val);
76  void SetNumberOfNoiseLevels(int val);
77  void SetImpulseNoiseProbability(double val);
78  void SetImpulseNoiseBackgroundValue(double val);
79  void SetNoiseGeneratorSeed(int val);
80 
81  void SetCompositeStrategy(int val);
82 
83  void WriteTimerLog(const char* fileName);
84 
85  void SelectInputVectors(int, int, int, int attributeMode, const char* name);
86 
87 protected:
89  ~vtkSurfaceLICRepresentation() override;
90 
91  // Description:
92  // Overridden method to set parameters on vtkProperty and vtkMapper.
93  void UpdateColoringParameters() override;
94 
97 
99 
100 private:
102  void operator=(const vtkSurfaceLICRepresentation&) = delete;
103 };
104 
105 #endif
static vtkGeometryRepresentationWithFaces * New()
vtkGeometryRepresentationWithFaces extends vtkGeometryRepresentation to add support for rendering bac...
#define VTKREMOTINGVIEWS_EXPORT
void UpdateColoringParameters() override
Passes on parameters to vtkProperty and vtkMapper.
vtkCompositeSurfaceLICMapper * SurfaceLICMapper
void SetMaskColor(double r, double g, double b)
vtkCompositeSurfaceLICMapper * SurfaceLICLODMapper
void PrintSelf(ostream &os, vtkIndent indent) override
name
int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.