47 #ifndef vtkSurfaceLICInterface_h
48 #define vtkSurfaceLICInterface_h
51 #include "vtkRenderingLICOpenGL2Module.h"
53 VTK_ABI_NAMESPACE_BEGIN
75 void SetNumberOfSteps(
int val);
76 vtkGetMacro(NumberOfSteps,
int);
83 void SetStepSize(
double val);
84 vtkGetMacro(StepSize,
double);
99 void SetNormalizeVectors(
int val);
100 vtkBooleanMacro(NormalizeVectors,
int);
101 vtkGetMacro(NormalizeVectors,
int);
110 void SetMaskOnSurface(
int val);
111 vtkBooleanMacro(MaskOnSurface,
int);
112 vtkGetMacro(MaskOnSurface,
int);
132 void SetMaskThreshold(
double val);
133 vtkGetMacro(MaskThreshold,
double);
142 void SetMaskColor(
double* val);
145 double rgb[3] = { r, g, b };
146 this->SetMaskColor(rgb);
148 vtkGetVector3Macro(MaskColor,
double);
160 void SetMaskIntensity(
double val);
161 vtkGetMacro(MaskIntensity,
double);
170 void SetEnhancedLIC(
int val);
171 vtkGetMacro(EnhancedLIC,
int);
172 vtkBooleanMacro(EnhancedLIC,
int);
211 ENHANCE_CONTRAST_OFF = 0,
212 ENHANCE_CONTRAST_LIC = 1,
213 ENHANCE_CONTRAST_COLOR = 3,
214 ENHANCE_CONTRAST_BOTH = 4
216 void SetEnhanceContrast(
int val);
217 vtkGetMacro(EnhanceContrast,
int);
237 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
238 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
239 void SetLowLICContrastEnhancementFactor(
double val);
240 void SetHighLICContrastEnhancementFactor(
double val);
242 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
243 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
244 void SetLowColorContrastEnhancementFactor(
double val);
245 void SetHighColorContrastEnhancementFactor(
double val);
255 void SetAntiAlias(
int val);
256 vtkBooleanMacro(AntiAlias,
int);
257 vtkGetMacro(AntiAlias,
int);
272 COLOR_MODE_BLEND = 0,
275 void SetColorMode(
int val);
276 vtkGetMacro(ColorMode,
int);
289 void SetLICIntensity(
double val);
290 vtkGetMacro(LICIntensity,
double);
301 void SetMapModeBias(
double val);
302 vtkGetMacro(MapModeBias,
double);
335 void SetGenerateNoiseTexture(
int shouldGenerate);
336 vtkGetMacro(GenerateNoiseTexture,
int);
347 NOISE_TYPE_UNIFORM = 0,
348 NOISE_TYPE_GAUSSIAN = 1,
349 NOISE_TYPE_PERLIN = 2
351 void SetNoiseType(
int type);
352 vtkGetMacro(NoiseType,
int);
360 void SetNoiseTextureSize(
int length);
361 vtkGetMacro(NoiseTextureSize,
int);
368 void SetNoiseGrainSize(
int val);
369 vtkGetMacro(NoiseGrainSize,
int);
379 void SetMinNoiseValue(
double val);
380 void SetMaxNoiseValue(
double val);
381 vtkGetMacro(MinNoiseValue,
double);
382 vtkGetMacro(MaxNoiseValue,
double);
390 void SetNumberOfNoiseLevels(
int val);
391 vtkGetMacro(NumberOfNoiseLevels,
int);
399 void SetImpulseNoiseProbability(
double val);
400 vtkGetMacro(ImpulseNoiseProbability,
double);
407 void SetImpulseNoiseBackgroundValue(
double val);
408 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
415 void SetNoiseGeneratorSeed(
int val);
416 vtkGetMacro(NoiseGeneratorSeed,
int);
425 COMPOSITE_INPLACE = 0,
426 COMPOSITE_INPLACE_DISJOINT = 1,
427 COMPOSITE_BALANCED = 2,
430 void SetCompositeStrategy(
int val);
431 vtkGetMacro(CompositeStrategy,
int);
458 virtual void ReleaseGraphicsResources(
vtkWindow* win);
463 bool CanRenderSurfaceLIC(
vtkActor* actor);
496 void SetHasVectors(
bool val);
497 bool GetHasVectors();
503 void InitializeResources();
505 void PrepareForGeometry();
506 void CompletedGeometry();
507 void GatherVectors();
509 void CombineColorsAndLIC();
523 vtkSetMacro(Enable,
int);
524 vtkGetMacro(Enable,
int);
525 vtkBooleanMacro(Enable,
int);
541 virtual bool NeedToUpdateCommunicator();
543 bool NeedToGatherVectors();
544 bool NeedToComputeLIC();
545 bool NeedToColorLIC();
594 VTK_ABI_NAMESPACE_END
void SetMaskColor(double r, double g, double b)
The MaskColor is used on masked fragments.
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
double ImpulseNoiseBackgroundValue
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
vtkSurfaceLICHelper * Internals
double HighColorContrastEnhancementFactor
window superclass for vtkRenderWindow
a simple class to control print indentation
double LowLICContrastEnhancementFactor
topologically and geometrically regular array of data
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
abstract superclass for arrays of numeric data
double LowColorContrastEnhancementFactor
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
Get the min/max across all ranks.
create a window for renderers to draw into
public API for surface lic parameters arbitrary geometry.
A communicator that can safely be used inside a painter.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
general representation of visualization data
double HighLICContrastEnhancementFactor
A small collection of noise routines for LIC.
double ImpulseNoiseProbability