Go to the documentation of this file.
58 #ifndef vtkSurfaceLICMapper_h
59 #define vtkSurfaceLICMapper_h
61 #include "vtkRenderingLICOpenGL2Module.h"
62 #include "vtkOpenGLPolyDataMapper.h"
158 {
double rgb[3]={
r,
g,
b}; this->SetMaskColor(rgb); }
203 ENHANCE_CONTRAST_OFF=0,
204 ENHANCE_CONTRAST_LIC=1,
205 ENHANCE_CONTRAST_COLOR=3,
206 ENHANCE_CONTRAST_BOTH=4
315 NOISE_TYPE_UNIFORM=0,
316 NOISE_TYPE_GAUSSIAN=1,
379 COMPOSITE_INPLACE_DISJOINT=1,
380 COMPOSITE_BALANCED=2,
521 std::map<vtkShader::Type, vtkShader *>
shaders,
void SetEnhanceContrast(int val)
virtual void ProcessInformation(vtkInformation *info)
virtual void EndTimerEvent(const char *)
GLsizei GLsizei GLenum GLenum const GLvoid * data
void PrintSelf(ostream &os, vtkIndent indent)
void ClearTCoords(vtkDataSet *data)
void SetMaskColor(double *val)
GLboolean GLboolean GLboolean b
virtual bool NeedToUpdateCommunicator()
virtual vtkDataObject * GetOutput()
void SetEnhancedLIC(int val)
bool NeedToUpdateOutputData()
bool NeedToRenderGeometry(vtkRenderer *renderer, vtkActor *actor)
void SetImpulseNoiseProbability(double val)
void UpdateNoiseImage(vtkRenderWindow *renWin)
#define vtkTypeMacro(thisClass, superclass)
void SetNoiseType(int type)
void SetGenerateNoiseTexture(int shouldGenerate)
virtual void ReleaseGraphicsResources(vtkWindow *win)
virtual void ReplaceShaderValues(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
abstract superclass for arrays of numeric data
static vtkSurfaceLICMapper * New()
GLuint GLsizei GLsizei * length
virtual void StartTimerEvent(const char *)
void SetCompositeStrategy(int val)
void SetColorMode(int val)
void SetNoiseGeneratorSeed(int val)
window superclass for vtkRenderWindow
void SetMaskIntensity(double val)
mapper that performs LIC on the surface of arbitrary geometry.
virtual void WriteTimerLog(const char *)
#define vtkGetVector3Macro(name, type)
void SetHighColorContrastEnhancementFactor(double val)
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)
double ImpulseNoiseProbability
void CreateCommunicator(vtkRenderer *, vtkActor *)
void SetLowLICContrastEnhancementFactor(double val)
virtual void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
void SetAntiAlias(int val)
static bool IsSupported(vtkRenderWindow *context)
void SetHighLICContrastEnhancementFactor(double val)
represents an object (geometry & properties) in a rendered scene
void SetMaskOnSurface(int val)
topologically and geometrically regular array of data
void SetNumberOfNoiseLevels(int val)
a simple class to control print indentation
double HighLICContrastEnhancementFactor
void SetNoiseGrainSize(int val)
void SetNormalizeVectors(int val)
vtkImageData * GetNoiseDataSet()
void SetMaskThreshold(double val)
void SetNoiseDataSet(vtkImageData *data)
double LowColorContrastEnhancementFactor
double LowLICContrastEnhancementFactor
#define vtkGetMacro(name, type)
void SetStepSize(double val)
bool VectorsToTCoords(vtkDataSet *dataObj)
bool VectorsToTCoords(vtkDataObject *dataObj)
Detect and break reference loops.
virtual void ReportReferences(vtkGarbageCollector *collector)
void SetMaskColor(double r, double g, double b)
abstract class to specify dataset behavior
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
vtkBooleanMacro(IgnoreDriverBugs, bool)
void SetLowColorContrastEnhancementFactor(double val)
GLdouble GLdouble GLdouble r
void SetImpulseNoiseBackgroundValue(double val)
double HighColorContrastEnhancementFactor
void ShallowCopy(vtkAbstractMapper *)
abstract specification for renderers
double ImpulseNoiseBackgroundValue
void SetMinNoiseValue(double val)
void InitializeResources()
void SetMapModeBias(double val)
bool CanRenderSurfaceLIC(vtkActor *actor)
void SetNumberOfSteps(int val)
void ValidateContext(vtkRenderer *renderer)
create a window for renderers to draw into
general representation of visualization data
bool NeedToGatherVectors()
virtual vtkPainterCommunicator * CreateCommunicator(int)
GLuint GLuint GLsizei GLenum type
a PolyDataMapper for the OpenGL library
void SetLICIntensity(double val)
void SetNoiseTextureSize(int length)
void SetMaxNoiseValue(double val)
abstract class specifies interface to map data