47 #ifndef vtkSurfaceLICInterface_h
48 #define vtkSurfaceLICInterface_h
51 #include "vtkRenderingLICOpenGL2Module.h"
54 VTK_ABI_NAMESPACE_BEGIN
76 void SetNumberOfSteps(
int val);
77 vtkGetMacro(NumberOfSteps,
int);
84 void SetStepSize(
double val);
85 vtkGetMacro(StepSize,
double);
100 void SetNormalizeVectors(
int val);
101 vtkBooleanMacro(NormalizeVectors,
int);
102 vtkGetMacro(NormalizeVectors,
int);
111 void SetMaskOnSurface(
int val);
112 vtkBooleanMacro(MaskOnSurface,
int);
113 vtkGetMacro(MaskOnSurface,
int);
133 void SetMaskThreshold(
double val);
134 vtkGetMacro(MaskThreshold,
double);
143 void SetMaskColor(
double* val);
146 double rgb[3] = { r, g, b };
147 this->SetMaskColor(rgb);
149 vtkGetVector3Macro(MaskColor,
double);
161 void SetMaskIntensity(
double val);
162 vtkGetMacro(MaskIntensity,
double);
171 void SetEnhancedLIC(
int val);
172 vtkGetMacro(EnhancedLIC,
int);
173 vtkBooleanMacro(EnhancedLIC,
int);
212 ENHANCE_CONTRAST_OFF = 0,
213 ENHANCE_CONTRAST_LIC = 1,
214 ENHANCE_CONTRAST_COLOR = 3,
215 ENHANCE_CONTRAST_BOTH = 4
217 void SetEnhanceContrast(
int val);
218 vtkGetMacro(EnhanceContrast,
int);
238 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
239 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
240 void SetLowLICContrastEnhancementFactor(
double val);
241 void SetHighLICContrastEnhancementFactor(
double val);
243 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
244 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
245 void SetLowColorContrastEnhancementFactor(
double val);
246 void SetHighColorContrastEnhancementFactor(
double val);
256 void SetAntiAlias(
int val);
257 vtkBooleanMacro(AntiAlias,
int);
258 vtkGetMacro(AntiAlias,
int);
273 COLOR_MODE_BLEND = 0,
276 void SetColorMode(
int val);
277 vtkGetMacro(ColorMode,
int);
290 void SetLICIntensity(
double val);
291 vtkGetMacro(LICIntensity,
double);
302 void SetMapModeBias(
double val);
303 vtkGetMacro(MapModeBias,
double);
336 void SetGenerateNoiseTexture(
int shouldGenerate);
337 vtkGetMacro(GenerateNoiseTexture,
int);
348 NOISE_TYPE_UNIFORM = 0,
349 NOISE_TYPE_GAUSSIAN = 1,
350 NOISE_TYPE_PERLIN = 2
352 void SetNoiseType(
int type);
353 vtkGetMacro(NoiseType,
int);
361 void SetNoiseTextureSize(
int length);
362 vtkGetMacro(NoiseTextureSize,
int);
369 void SetNoiseGrainSize(
int val);
370 vtkGetMacro(NoiseGrainSize,
int);
380 void SetMinNoiseValue(
double val);
381 void SetMaxNoiseValue(
double val);
382 vtkGetMacro(MinNoiseValue,
double);
383 vtkGetMacro(MaxNoiseValue,
double);
391 void SetNumberOfNoiseLevels(
int val);
392 vtkGetMacro(NumberOfNoiseLevels,
int);
400 void SetImpulseNoiseProbability(
double val);
401 vtkGetMacro(ImpulseNoiseProbability,
double);
408 void SetImpulseNoiseBackgroundValue(
double val);
409 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
416 void SetNoiseGeneratorSeed(
int val);
417 vtkGetMacro(NoiseGeneratorSeed,
int);
426 COMPOSITE_INPLACE = 0,
427 COMPOSITE_INPLACE_DISJOINT = 1,
428 COMPOSITE_BALANCED = 2,
431 void SetCompositeStrategy(
int val);
432 vtkGetMacro(CompositeStrategy,
int);
459 virtual void ReleaseGraphicsResources(
vtkWindow* win);
464 bool CanRenderSurfaceLIC(
vtkActor* actor);
497 void SetHasVectors(
bool val);
498 bool GetHasVectors();
504 void InitializeResources();
506 void PrepareForGeometry();
507 void CompletedGeometry();
508 void GatherVectors();
510 void CombineColorsAndLIC();
524 vtkSetMacro(Enable,
int);
525 vtkGetMacro(Enable,
int);
526 vtkBooleanMacro(Enable,
int);
542 virtual bool NeedToUpdateCommunicator();
544 bool NeedToGatherVectors();
545 bool NeedToComputeLIC();
546 bool NeedToColorLIC();
595 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