58 #ifndef vtkSurfaceLICMapper_h 59 #define vtkSurfaceLICMapper_h 61 #include "vtkRenderingLICOpenGL2Module.h" 62 #include "vtkOpenGLPolyDataMapper.h" 92 void SetEnable(
int val);
100 void SetNumberOfSteps(
int val);
106 void SetStepSize(
double val);
120 void SetNormalizeVectors(
int val);
129 void SetMaskOnSurface(
int val);
148 void SetMaskThreshold(
double val);
156 void SetMaskColor(
double *val);
158 {
double rgb[3]={r,g,b}; this->SetMaskColor(rgb); }
167 void SetMaskIntensity(
double val);
175 void SetEnhancedLIC(
int val);
203 ENHANCE_CONTRAST_OFF=0,
204 ENHANCE_CONTRAST_LIC=1,
205 ENHANCE_CONTRAST_COLOR=3,
206 ENHANCE_CONTRAST_BOTH=4
208 void SetEnhanceContrast(
int val);
225 vtkGetMacro(LowLICContrastEnhancementFactor,
double);
226 vtkGetMacro(HighLICContrastEnhancementFactor,
double);
227 void SetLowLICContrastEnhancementFactor(
double val);
228 void SetHighLICContrastEnhancementFactor(
double val);
230 vtkGetMacro(LowColorContrastEnhancementFactor,
double);
231 vtkGetMacro(HighColorContrastEnhancementFactor,
double);
232 void SetLowColorContrastEnhancementFactor(
double val);
233 void SetHighColorContrastEnhancementFactor(
double val);
241 void SetAntiAlias(
int val);
267 void SetLICIntensity(
double val);
277 void SetMapModeBias(
double val);
306 void SetGenerateNoiseTexture(
int shouldGenerate);
315 NOISE_TYPE_UNIFORM=0,
316 NOISE_TYPE_GAUSSIAN=1,
319 void SetNoiseType(
int type);
326 void SetNoiseTextureSize(
int length);
332 void SetNoiseGrainSize(
int val);
341 void SetMinNoiseValue(
double val);
342 void SetMaxNoiseValue(
double val);
350 void SetNumberOfNoiseLevels(
int val);
358 void SetImpulseNoiseProbability(
double val);
365 void SetImpulseNoiseBackgroundValue(
double val);
371 void SetNoiseGeneratorSeed(
int val);
379 COMPOSITE_INPLACE_DISJOINT=1,
380 COMPOSITE_BALANCED=2,
383 void SetCompositeStrategy(
int val);
447 bool NeedToUpdateOutputData();
448 virtual bool NeedToUpdateCommunicator();
450 bool NeedToGatherVectors();
451 bool NeedToComputeLIC();
452 bool NeedToColorLIC();
458 bool PrepareOutput();
459 void InitializeResources();
470 bool CanRenderSurfaceLIC(
vtkActor *actor);
521 std::map<vtkShader::Type, vtkShader *> shaders,
a PolyDataMapper for the OpenGL library
double HighColorContrastEnhancementFactor
represents an object (geometry & properties) in a rendered scene
double ImpulseNoiseBackgroundValue
static vtkOpenGLPolyDataMapper * New()
mapper that performs LIC on the surface of arbitrary geometry.
double LowLICContrastEnhancementFactor
abstract class to specify dataset behavior
void SetMaskColor(double r, double g, double b)
#define vtkGetMacro(name, type)
abstract specification for renderers
virtual void SetColorMode(int)
double LowColorContrastEnhancementFactor
#define vtkTypeMacro(thisClass, superclass)
Detect and break reference loops.
virtual void ReportReferences(vtkGarbageCollector *)
window superclass for vtkRenderWindow
virtual void StartTimerEvent(const char *)
a simple class to control print indentation
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
virtual void WriteTimerLog(const char *)
#define vtkGetVector3Macro(name, type)
virtual void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
abstract class specifies interface to map data
void ShallowCopy(vtkAbstractMapper *m)
create a window for renderers to draw into
virtual void EndTimerEvent(const char *)
virtual void RenderPiece(vtkRenderer *ren, vtkActor *a)
double ImpulseNoiseProbability
void ReleaseGraphicsResources(vtkWindow *)
#define vtkBooleanMacro(name, type)
double HighLICContrastEnhancementFactor
general representation of visualization data
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void ReplaceShaderValues(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)