src
paraview-5.12
Remoting
Views
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
11
#include "
vtkGeometryRepresentationWithFaces.h
"
12
#include "vtkRemotingViewsModule.h"
// for export macro
13
14
class
vtkInformation
;
15
class
vtkInformationRequestKey
;
16
17
class
vtkCompositeSurfaceLICMapper
;
18
19
class
VTKREMOTINGVIEWS_EXPORT
vtkSurfaceLICRepresentation
20
:
public
vtkGeometryRepresentationWithFaces
21
{
22
public
:
23
static
vtkSurfaceLICRepresentation
*
New
();
24
vtkTypeMacro(
vtkSurfaceLICRepresentation
,
vtkGeometryRepresentationWithFaces
);
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.
32
int
ProcessViewRequest
(
vtkInformationRequestKey
* request_type,
vtkInformation
* inInfo,
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
:
88
vtkSurfaceLICRepresentation
();
89
~
vtkSurfaceLICRepresentation
()
override
;
90
91
// Description:
92
// Overridden method to set parameters on vtkProperty and vtkMapper.
93
void
UpdateColoringParameters
()
override
;
94
95
vtkCompositeSurfaceLICMapper
*
SurfaceLICMapper
;
96
vtkCompositeSurfaceLICMapper
*
SurfaceLICLODMapper
;
97
98
bool
UseLICForLOD
;
99
100
private
:
101
vtkSurfaceLICRepresentation
(
const
vtkSurfaceLICRepresentation
&) =
delete
;
102
void
operator=(
const
vtkSurfaceLICRepresentation
&) =
delete
;
103
};
104
105
#endif
vtkGeometryRepresentationWithFaces::UpdateColoringParameters
void UpdateColoringParameters() override
Passes on parameters to vtkProperty and vtkMapper.
vtkGeometryRepresentationWithFaces::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSurfaceLICRepresentation::SurfaceLICMapper
vtkCompositeSurfaceLICMapper * SurfaceLICMapper
Definition:
vtkSurfaceLICRepresentation.h:95
vtkGeometryRepresentationWithFaces::ProcessViewRequest
int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkIndent
vtkSurfaceLICRepresentation::SetMaskColor
void SetMaskColor(double r, double g, double b)
Definition:
vtkSurfaceLICRepresentation.h:63
vtkInformationRequestKey
vtkGeometryRepresentationWithFaces.h
vtkInformation
vtkCompositeSurfaceLICMapper
vtkSurfaceLICRepresentation::UseLICForLOD
bool UseLICForLOD
Definition:
vtkSurfaceLICRepresentation.h:98
vtkSurfaceLICRepresentation
Definition:
vtkSurfaceLICRepresentation.h:19
vtkGeometryRepresentationWithFaces
Definition:
vtkGeometryRepresentationWithFaces.h:17
vtkGeometryRepresentationWithFaces::New
static vtkGeometryRepresentationWithFaces * New()
vtkSurfaceLICRepresentation::SurfaceLICLODMapper
vtkCompositeSurfaceLICMapper * SurfaceLICLODMapper
Definition:
vtkSurfaceLICRepresentation.h:96
Generated by
1.8.17 on Wed Mar 27 2024