59 #ifndef vtkSurfaceLICInterface_h
60 #define vtkSurfaceLICInterface_h
63 #include "vtkRenderingLICOpenGL2Module.h"
86 void SetNumberOfSteps(
int val);
87 vtkGetMacro(NumberOfSteps,
int);
94 void SetStepSize(
double val);
95 vtkGetMacro(StepSize,
double);
110 void SetNormalizeVectors(
int val);
111 vtkBooleanMacro(NormalizeVectors,
int);
112 vtkGetMacro(NormalizeVectors,
int);
121 void SetMaskOnSurface(
int val);
122 vtkBooleanMacro(MaskOnSurface,
int);
123 vtkGetMacro(MaskOnSurface,
int);
143 void SetMaskThreshold(
double val);
144 vtkGetMacro(MaskThreshold,
double);
153 void SetMaskColor(
double* val);
156 double rgb[3] = { r, g, b };
157 this->SetMaskColor(rgb);
159 vtkGetVector3Macro(MaskColor,
double);
171 void SetMaskIntensity(
double val);
172 vtkGetMacro(MaskIntensity,
double);
181 void SetEnhancedLIC(
int val);
182 vtkGetMacro(EnhancedLIC,
int);
183 vtkBooleanMacro(EnhancedLIC,
int);
222 ENHANCE_CONTRAST_OFF = 0,
223 ENHANCE_CONTRAST_LIC = 1,
224 ENHANCE_CONTRAST_COLOR = 3,
225 ENHANCE_CONTRAST_BOTH = 4
227 void SetEnhanceContrast(
int val);
228 vtkGetMacro(EnhanceContrast,
int);
248 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
249 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
250 void SetLowLICContrastEnhancementFactor(
double val);
251 void SetHighLICContrastEnhancementFactor(
double val);
253 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
254 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
255 void SetLowColorContrastEnhancementFactor(
double val);
256 void SetHighColorContrastEnhancementFactor(
double val);
266 void SetAntiAlias(
int val);
267 vtkBooleanMacro(AntiAlias,
int);
268 vtkGetMacro(AntiAlias,
int);
283 COLOR_MODE_BLEND = 0,
286 void SetColorMode(
int val);
287 vtkGetMacro(ColorMode,
int);
300 void SetLICIntensity(
double val);
301 vtkGetMacro(LICIntensity,
double);
312 void SetMapModeBias(
double val);
313 vtkGetMacro(MapModeBias,
double);
346 void SetGenerateNoiseTexture(
int shouldGenerate);
347 vtkGetMacro(GenerateNoiseTexture,
int);
358 NOISE_TYPE_UNIFORM = 0,
359 NOISE_TYPE_GAUSSIAN = 1,
360 NOISE_TYPE_PERLIN = 2
362 void SetNoiseType(
int type);
363 vtkGetMacro(NoiseType,
int);
371 void SetNoiseTextureSize(
int length);
372 vtkGetMacro(NoiseTextureSize,
int);
379 void SetNoiseGrainSize(
int val);
380 vtkGetMacro(NoiseGrainSize,
int);
390 void SetMinNoiseValue(
double val);
391 void SetMaxNoiseValue(
double val);
392 vtkGetMacro(MinNoiseValue,
double);
393 vtkGetMacro(MaxNoiseValue,
double);
401 void SetNumberOfNoiseLevels(
int val);
402 vtkGetMacro(NumberOfNoiseLevels,
int);
410 void SetImpulseNoiseProbability(
double val);
411 vtkGetMacro(ImpulseNoiseProbability,
double);
418 void SetImpulseNoiseBackgroundValue(
double val);
419 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
426 void SetNoiseGeneratorSeed(
int val);
427 vtkGetMacro(NoiseGeneratorSeed,
int);
436 COMPOSITE_INPLACE = 0,
437 COMPOSITE_INPLACE_DISJOINT = 1,
438 COMPOSITE_BALANCED = 2,
441 void SetCompositeStrategy(
int val);
442 vtkGetMacro(CompositeStrategy,
int);
469 virtual void ReleaseGraphicsResources(
vtkWindow* win);
474 bool CanRenderSurfaceLIC(
vtkActor* actor);
507 void SetHasVectors(
bool val);
508 bool GetHasVectors();
514 void InitializeResources();
516 void PrepareForGeometry();
517 void CompletedGeometry();
518 void GatherVectors();
520 void CombineColorsAndLIC();
534 vtkSetMacro(Enable,
int);
535 vtkGetMacro(Enable,
int);
536 vtkBooleanMacro(Enable,
int);
552 virtual bool NeedToUpdateCommunicator();
554 bool NeedToGatherVectors();
555 bool NeedToComputeLIC();
556 bool NeedToColorLIC();
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