56 #ifndef vtkSurfaceLICInterface_h
57 #define vtkSurfaceLICInterface_h
60 #include "vtkRenderingLICOpenGL2Module.h"
82 void SetNumberOfSteps(
int val);
83 vtkGetMacro(NumberOfSteps,
int);
90 void SetStepSize(
double val);
91 vtkGetMacro(StepSize,
double);
106 void SetNormalizeVectors(
int val);
107 vtkBooleanMacro(NormalizeVectors,
int);
108 vtkGetMacro(NormalizeVectors,
int);
117 void SetMaskOnSurface(
int val);
118 vtkBooleanMacro(MaskOnSurface,
int);
119 vtkGetMacro(MaskOnSurface,
int);
139 void SetMaskThreshold(
double val);
140 vtkGetMacro(MaskThreshold,
double);
149 void SetMaskColor(
double* val);
152 double rgb[3] = { r, g, b };
153 this->SetMaskColor(rgb);
155 vtkGetVector3Macro(MaskColor,
double);
167 void SetMaskIntensity(
double val);
168 vtkGetMacro(MaskIntensity,
double);
177 void SetEnhancedLIC(
int val);
178 vtkGetMacro(EnhancedLIC,
int);
179 vtkBooleanMacro(EnhancedLIC,
int);
218 ENHANCE_CONTRAST_OFF = 0,
219 ENHANCE_CONTRAST_LIC = 1,
220 ENHANCE_CONTRAST_COLOR = 3,
221 ENHANCE_CONTRAST_BOTH = 4
223 void SetEnhanceContrast(
int val);
224 vtkGetMacro(EnhanceContrast,
int);
244 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
245 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
246 void SetLowLICContrastEnhancementFactor(
double val);
247 void SetHighLICContrastEnhancementFactor(
double val);
249 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
250 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
251 void SetLowColorContrastEnhancementFactor(
double val);
252 void SetHighColorContrastEnhancementFactor(
double val);
262 void SetAntiAlias(
int val);
263 vtkBooleanMacro(AntiAlias,
int);
264 vtkGetMacro(AntiAlias,
int);
279 COLOR_MODE_BLEND = 0,
282 void SetColorMode(
int val);
283 vtkGetMacro(ColorMode,
int);
296 void SetLICIntensity(
double val);
297 vtkGetMacro(LICIntensity,
double);
308 void SetMapModeBias(
double val);
309 vtkGetMacro(MapModeBias,
double);
342 void SetGenerateNoiseTexture(
int shouldGenerate);
343 vtkGetMacro(GenerateNoiseTexture,
int);
354 NOISE_TYPE_UNIFORM = 0,
355 NOISE_TYPE_GAUSSIAN = 1,
356 NOISE_TYPE_PERLIN = 2
358 void SetNoiseType(
int type);
359 vtkGetMacro(NoiseType,
int);
367 void SetNoiseTextureSize(
int length);
368 vtkGetMacro(NoiseTextureSize,
int);
375 void SetNoiseGrainSize(
int val);
376 vtkGetMacro(NoiseGrainSize,
int);
386 void SetMinNoiseValue(
double val);
387 void SetMaxNoiseValue(
double val);
388 vtkGetMacro(MinNoiseValue,
double);
389 vtkGetMacro(MaxNoiseValue,
double);
397 void SetNumberOfNoiseLevels(
int val);
398 vtkGetMacro(NumberOfNoiseLevels,
int);
406 void SetImpulseNoiseProbability(
double val);
407 vtkGetMacro(ImpulseNoiseProbability,
double);
414 void SetImpulseNoiseBackgroundValue(
double val);
415 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
422 void SetNoiseGeneratorSeed(
int val);
423 vtkGetMacro(NoiseGeneratorSeed,
int);
432 COMPOSITE_INPLACE = 0,
433 COMPOSITE_INPLACE_DISJOINT = 1,
434 COMPOSITE_BALANCED = 2,
437 void SetCompositeStrategy(
int val);
438 vtkGetMacro(CompositeStrategy,
int);
465 virtual void ReleaseGraphicsResources(
vtkWindow* win);
470 bool CanRenderSurfaceLIC(
vtkActor* actor);
503 void SetHasVectors(
bool val);
504 bool GetHasVectors();
510 void InitializeResources();
512 void PrepareForGeometry();
513 void CompletedGeometry();
514 void GatherVectors();
516 void CombineColorsAndLIC();
530 vtkSetMacro(Enable,
int);
531 vtkGetMacro(Enable,
int);
532 vtkBooleanMacro(Enable,
int);
548 virtual bool NeedToUpdateCommunicator();
550 bool NeedToGatherVectors();
551 bool NeedToComputeLIC();
552 bool NeedToColorLIC();