58 #ifndef vtkSurfaceLICPainter_h
59 #define vtkSurfaceLICPainter_h
92 void SetEnable(
int val);
93 vtkGetMacro(Enable,
int);
103 void SetInputArrayToProcess(
int fieldAssociation,
const char *
name);
104 void SetInputArrayToProcess(
int fieldAssociation,
int fieldAttributeType);
109 void SetNumberOfSteps(
int val);
110 vtkGetMacro(NumberOfSteps,
int);
115 void SetStepSize(
double val);
116 vtkGetMacro(StepSize,
double);
129 void SetNormalizeVectors(
int val);
130 vtkBooleanMacro(NormalizeVectors,
int);
131 vtkGetMacro(NormalizeVectors,
int);
138 void SetMaskOnSurface(
int val);
139 vtkBooleanMacro(MaskOnSurface,
int);
140 vtkGetMacro(MaskOnSurface,
int);
157 void SetMaskThreshold(
double val);
158 vtkGetMacro(MaskThreshold,
double);
165 void SetMaskColor(
double *val);
167 {
double rgb[3]={r,g,b}; this->SetMaskColor(rgb); }
168 vtkGetVector3Macro(MaskColor,
double);
176 void SetMaskIntensity(
double val);
177 vtkGetMacro(MaskIntensity,
double);
184 void SetEnhancedLIC(
int val);
185 vtkGetMacro(EnhancedLIC,
int);
186 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);
234 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
235 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
236 void SetLowLICContrastEnhancementFactor(
double val);
237 void SetHighLICContrastEnhancementFactor(
double val);
239 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
240 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
241 void SetLowColorContrastEnhancementFactor(
double val);
242 void SetHighColorContrastEnhancementFactor(
double val);
250 void SetAntiAlias(
int val);
251 vtkBooleanMacro(AntiAlias,
int);
252 vtkGetMacro(AntiAlias,
int);
266 void SetColorMode(
int val);
267 vtkGetMacro(ColorMode,
int);
276 void SetLICIntensity(
double val);
277 vtkGetMacro(LICIntensity,
double);
286 void SetMapModeBias(
double val);
287 vtkGetMacro(MapModeBias,
double);
315 void SetGenerateNoiseTexture(
int shouldGenerate);
316 vtkGetMacro(GenerateNoiseTexture,
int);
324 NOISE_TYPE_UNIFORM=0,
325 NOISE_TYPE_GAUSSIAN=1,
328 void SetNoiseType(
int type);
329 vtkGetMacro(NoiseType,
int);
335 void SetNoiseTextureSize(
int length);
336 vtkGetMacro(NoiseTextureSize,
int);
342 void SetNoiseGrainSize(
int val);
343 vtkGetMacro(NoiseGrainSize,
int);
351 void SetMinNoiseValue(
double val);
352 void SetMaxNoiseValue(
double val);
353 vtkGetMacro(MinNoiseValue,
double);
354 vtkGetMacro(MaxNoiseValue,
double);
360 void SetNumberOfNoiseLevels(
int val);
361 vtkGetMacro(NumberOfNoiseLevels,
int);
368 void SetImpulseNoiseProbability(
double val);
369 vtkGetMacro(ImpulseNoiseProbability,
double);
375 void SetImpulseNoiseBackgroundValue(
double val);
376 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
381 void SetNoiseGeneratorSeed(
int val);
382 vtkGetMacro(NoiseGeneratorSeed,
int);
389 COMPOSITE_INPLACE_DISJOINT=1,
390 COMPOSITE_BALANCED=2,
393 void SetCompositeStrategy(
int val);
394 vtkGetMacro(CompositeStrategy,
int);
438 void CreateCommunicator();
458 unsigned long typeflags,
459 bool forceCompileOnly);
468 bool NeedToUpdateOutputData();
469 virtual bool NeedToUpdateCommunicator();
471 bool NeedToGatherVectors();
472 bool NeedToComputeLIC();
473 bool NeedToColorLIC();
479 bool PrepareOutput();
480 void InitializeResources();
491 bool CanRenderSurfaceLIC(
vtkActor *actor,
int typeflags);
void SetMaskColor(double r, double g, double b)
represents an object (geometry & properties) in a rendered scene
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
abstract class to specify dataset behavior
virtual void ProcessInformation(vtkInformation *)
virtual void ReportReferences(vtkGarbageCollector *collector)
virtual void EndTimerEvent(const char *)
double HighColorContrastEnhancementFactor
virtual vtkDataObject * GetOutput()
abstract specification for renderers
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
double ImpulseNoiseBackgroundValue
virtual void ReleaseGraphicsResources(vtkWindow *)
Detect and break reference loops.
window superclass for vtkRenderWindow
#define VTKRENDERINGLIC_EXPORT
a simple class to control print indentation
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
double ImpulseNoiseProbability
double LowColorContrastEnhancementFactor
painter that performs LIC on the surface of arbitrary geometry.
create a window for renderers to draw into
Abstract class for drawing poly data.
general representation of visualization data
virtual void WriteTimerLog(const char *)
virtual void StartTimerEvent(const char *)
virtual void PrintSelf(ostream &os, vtkIndent indent)
double HighLICContrastEnhancementFactor
double LowLICContrastEnhancementFactor