56 #ifndef vtkSurfaceLICInterface_h
57 #define vtkSurfaceLICInterface_h
59 #include "vtkRenderingLICOpenGL2Module.h"
60 #include "vtkOpenGLPolyDataMapper.h"
82 void SetNumberOfSteps(
int val);
83 vtkGetMacro(NumberOfSteps,
int);
90 void SetStepSize(
double val);
91 vtkGetMacro(StepSize,
double);
106 void SetNormalizeVectors(
int val);
108 vtkGetMacro(NormalizeVectors,
int);
117 void SetMaskOnSurface(
int val);
119 vtkGetMacro(MaskOnSurface,
int);
139 void SetMaskThreshold(
double val);
140 vtkGetMacro(MaskThreshold,
double);
149 void SetMaskColor(
double *val);
151 {
double rgb[3]={r,g,b}; this->SetMaskColor(rgb); }
152 vtkGetVector3Macro(MaskColor,
double);
164 void SetMaskIntensity(
double val);
165 vtkGetMacro(MaskIntensity,
double);
174 void SetEnhancedLIC(
int val);
175 vtkGetMacro(EnhancedLIC,
int);
214 ENHANCE_CONTRAST_OFF=0,
215 ENHANCE_CONTRAST_LIC=1,
216 ENHANCE_CONTRAST_COLOR=3,
217 ENHANCE_CONTRAST_BOTH=4
219 void SetEnhanceContrast(
int val);
220 vtkGetMacro(EnhanceContrast,
int);
240 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
241 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
242 void SetLowLICContrastEnhancementFactor(
double val);
243 void SetHighLICContrastEnhancementFactor(
double val);
245 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
246 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
247 void SetLowColorContrastEnhancementFactor(
double val);
248 void SetHighColorContrastEnhancementFactor(
double val);
258 void SetAntiAlias(
int val);
260 vtkGetMacro(AntiAlias,
int);
277 void SetColorMode(
int val);
278 vtkGetMacro(ColorMode,
int);
291 void SetLICIntensity(
double val);
292 vtkGetMacro(LICIntensity,
double);
303 void SetMapModeBias(
double val);
304 vtkGetMacro(MapModeBias,
double);
337 void SetGenerateNoiseTexture(
int shouldGenerate);
338 vtkGetMacro(GenerateNoiseTexture,
int);
348 NOISE_TYPE_UNIFORM=0,
349 NOISE_TYPE_GAUSSIAN=1,
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_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);
497 void SetHasVectors(
bool val);
498 bool GetHasVectors();
504 void InitializeResources();
506 void PrepareForGeometry();
507 void CompletedGeometry();
508 void GatherVectors();
510 void CombineColorsAndLIC();
525 vtkGetMacro(Enable,
int);
542 virtual bool NeedToUpdateCommunicator();
544 bool NeedToGatherVectors();
545 bool NeedToComputeLIC();
546 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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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