59 #ifndef vtkSurfaceLICPainter_h
60 #define vtkSurfaceLICPainter_h
62 #include "vtkRenderingLICModule.h"
99 void SetEnable(
int val);
100 vtkGetMacro(Enable,
int);
112 void SetInputArrayToProcess(
int fieldAssociation,
const char *
name);
113 void SetInputArrayToProcess(
int fieldAssociation,
int fieldAttributeType);
120 void SetNumberOfSteps(
int val);
121 vtkGetMacro(NumberOfSteps,
int);
128 void SetStepSize(
double val);
129 vtkGetMacro(StepSize,
double);
144 void SetNormalizeVectors(
int val);
146 vtkGetMacro(NormalizeVectors,
int);
155 void SetMaskOnSurface(
int val);
157 vtkGetMacro(MaskOnSurface,
int);
177 void SetMaskThreshold(
double val);
178 vtkGetMacro(MaskThreshold,
double);
187 void SetMaskColor(
double *val);
189 {
double rgb[3]={r,g,b}; this->SetMaskColor(rgb); }
190 vtkGetVector3Macro(MaskColor,
double);
202 void SetMaskIntensity(
double val);
203 vtkGetMacro(MaskIntensity,
double);
212 void SetEnhancedLIC(
int val);
213 vtkGetMacro(EnhancedLIC,
int);
252 ENHANCE_CONTRAST_OFF=0,
253 ENHANCE_CONTRAST_LIC=1,
254 ENHANCE_CONTRAST_COLOR=3,
255 ENHANCE_CONTRAST_BOTH=4
257 void SetEnhanceContrast(
int val);
258 vtkGetMacro(EnhanceContrast,
int);
278 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
279 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
280 void SetLowLICContrastEnhancementFactor(
double val);
281 void SetHighLICContrastEnhancementFactor(
double val);
283 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
284 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
285 void SetLowColorContrastEnhancementFactor(
double val);
286 void SetHighColorContrastEnhancementFactor(
double val);
296 void SetAntiAlias(
int val);
298 vtkGetMacro(AntiAlias,
int);
315 void SetColorMode(
int val);
316 vtkGetMacro(ColorMode,
int);
329 void SetLICIntensity(
double val);
330 vtkGetMacro(LICIntensity,
double);
341 void SetMapModeBias(
double val);
342 vtkGetMacro(MapModeBias,
double);
375 void SetGenerateNoiseTexture(
int shouldGenerate);
376 vtkGetMacro(GenerateNoiseTexture,
int);
386 NOISE_TYPE_UNIFORM=0,
387 NOISE_TYPE_GAUSSIAN=1,
390 void SetNoiseType(
int type);
391 vtkGetMacro(NoiseType,
int);
399 void SetNoiseTextureSize(
int length);
400 vtkGetMacro(NoiseTextureSize,
int);
408 void SetNoiseGrainSize(
int val);
409 vtkGetMacro(NoiseGrainSize,
int);
419 void SetMinNoiseValue(
double val);
420 void SetMaxNoiseValue(
double val);
421 vtkGetMacro(MinNoiseValue,
double);
422 vtkGetMacro(MaxNoiseValue,
double);
430 void SetNumberOfNoiseLevels(
int val);
431 vtkGetMacro(NumberOfNoiseLevels,
int);
439 void SetImpulseNoiseProbability(
double val);
440 vtkGetMacro(ImpulseNoiseProbability,
double);
447 void SetImpulseNoiseBackgroundValue(
double val);
448 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
455 void SetNoiseGeneratorSeed(
int val);
456 vtkGetMacro(NoiseGeneratorSeed,
int);
465 COMPOSITE_INPLACE_DISJOINT=1,
466 COMPOSITE_BALANCED=2,
469 void SetCompositeStrategy(
int val);
470 vtkGetMacro(CompositeStrategy,
int);
526 void CreateCommunicator();
553 unsigned long typeflags,
554 bool forceCompileOnly);
566 bool NeedToUpdateOutputData();
567 virtual bool NeedToUpdateCommunicator();
569 bool NeedToGatherVectors();
570 bool NeedToComputeLIC();
571 bool NeedToColorLIC();
579 bool PrepareOutput();
580 void InitializeResources();
595 bool CanRenderSurfaceLIC(
vtkActor *actor,
int typeflags);