56 #ifndef vtkSurfaceLICPainter_h 57 #define vtkSurfaceLICPainter_h 59 #include "vtkRenderingLICModule.h" 96 void SetEnable(
int val);
97 vtkGetMacro(Enable,
int);
98 void SetEnableOn(){ this->SetEnable(1); }
109 void SetInputArrayToProcess(
int fieldAssociation,
const char *
name);
110 void SetInputArrayToProcess(
int fieldAssociation,
int fieldAttributeType);
117 void SetNumberOfSteps(
int val);
118 vtkGetMacro(NumberOfSteps,
int);
125 void SetStepSize(
double val);
126 vtkGetMacro(StepSize,
double);
141 void SetNormalizeVectors(
int val);
143 vtkGetMacro(NormalizeVectors,
int);
152 void SetMaskOnSurface(
int val);
154 vtkGetMacro(MaskOnSurface,
int);
174 void SetMaskThreshold(
double val);
175 vtkGetMacro(MaskThreshold,
double);
184 void SetMaskColor(
double *val);
186 {
double rgb[3]={r,g,b}; this->SetMaskColor(rgb); }
187 vtkGetVector3Macro(MaskColor,
double);
199 void SetMaskIntensity(
double val);
200 vtkGetMacro(MaskIntensity,
double);
209 void SetEnhancedLIC(
int val);
210 vtkGetMacro(EnhancedLIC,
int);
249 ENHANCE_CONTRAST_OFF=0,
250 ENHANCE_CONTRAST_LIC=1,
251 ENHANCE_CONTRAST_COLOR=3,
252 ENHANCE_CONTRAST_BOTH=4
254 void SetEnhanceContrast(
int val);
255 vtkGetMacro(EnhanceContrast,
int);
275 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
276 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
277 void SetLowLICContrastEnhancementFactor(
double val);
278 void SetHighLICContrastEnhancementFactor(
double val);
280 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
281 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
282 void SetLowColorContrastEnhancementFactor(
double val);
283 void SetHighColorContrastEnhancementFactor(
double val);
293 void SetAntiAlias(
int val);
295 vtkGetMacro(AntiAlias,
int);
312 void SetColorMode(
int val);
313 vtkGetMacro(ColorMode,
int);
326 void SetLICIntensity(
double val);
327 vtkGetMacro(LICIntensity,
double);
338 void SetMapModeBias(
double val);
339 vtkGetMacro(MapModeBias,
double);
372 void SetGenerateNoiseTexture(
int shouldGenerate);
373 vtkGetMacro(GenerateNoiseTexture,
int);
383 NOISE_TYPE_UNIFORM=0,
384 NOISE_TYPE_GAUSSIAN=1,
387 void SetNoiseType(
int type);
388 vtkGetMacro(NoiseType,
int);
396 void SetNoiseTextureSize(
int length);
397 vtkGetMacro(NoiseTextureSize,
int);
405 void SetNoiseGrainSize(
int val);
406 vtkGetMacro(NoiseGrainSize,
int);
416 void SetMinNoiseValue(
double val);
417 void SetMaxNoiseValue(
double val);
418 vtkGetMacro(MinNoiseValue,
double);
419 vtkGetMacro(MaxNoiseValue,
double);
427 void SetNumberOfNoiseLevels(
int val);
428 vtkGetMacro(NumberOfNoiseLevels,
int);
436 void SetImpulseNoiseProbability(
double val);
437 vtkGetMacro(ImpulseNoiseProbability,
double);
444 void SetImpulseNoiseBackgroundValue(
double val);
445 vtkGetMacro(ImpulseNoiseBackgroundValue,
double);
452 void SetNoiseGeneratorSeed(
int val);
453 vtkGetMacro(NoiseGeneratorSeed,
int);
462 COMPOSITE_INPLACE_DISJOINT=1,
463 COMPOSITE_BALANCED=2,
466 void SetCompositeStrategy(
int val);
467 vtkGetMacro(CompositeStrategy,
int);
523 void CreateCommunicator();
550 unsigned long typeflags,
551 bool forceCompileOnly) VTK_OVERRIDE;
563 bool NeedToUpdateOutputData();
564 virtual bool NeedToUpdateCommunicator();
566 bool NeedToGatherVectors();
567 bool NeedToComputeLIC();
568 bool NeedToColorLIC();
576 bool PrepareOutput();
577 void InitializeResources();
592 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 EndTimerEvent(const char *)
double HighColorContrastEnhancementFactor
virtual vtkDataObject * GetOutput()
Get the output data object from this painter.
abstract specification for renderers
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 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.
double HighLICContrastEnhancementFactor
double LowLICContrastEnhancementFactor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.