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);
void SetMaskColor(double r, double g, double b)
The MaskColor is used on masked fragments.
represents an object (geometry & properties) in a rendered scene
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
abstract class to specify dataset behavior
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
virtual void EndTimerEvent(const char *)
double HighColorContrastEnhancementFactor
virtual vtkDataObject * GetOutput()
Get the output data object from this painter.
abstract specification for renderers
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
Get the min/max across all ranks.
double ImpulseNoiseBackgroundValue
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this painter.
Detect and break reference loops.
window superclass for vtkRenderWindow
void ReportReferences(vtkGarbageCollector *collector) override
Take part in garbage collection.
a simple class to control print indentation
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
double ImpulseNoiseProbability
void SetEnableOn()
Enable/Disable this painter.
void SetEnableOff()
Enable/Disable this painter.
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.
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
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
virtual void StartTimerEvent(const char *)
Methods used for parallel benchmarks.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
double HighLICContrastEnhancementFactor
double LowLICContrastEnhancementFactor