VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkSurfaceLICMapper Class Reference

mapper that performs LIC on the surface of arbitrary geometry. More...

#include <vtkSurfaceLICMapper.h>

Inheritance diagram for vtkSurfaceLICMapper:
[legend]
Collaboration diagram for vtkSurfaceLICMapper:
[legend]

Public Types

typedef vtkOpenGLPolyDataMapper Superclass
 
- Public Types inherited from vtkOpenGLPolyDataMapper
typedef vtkPolyDataMapper Superclass
 
typedef vtkPolyDataMapper Superclass
 
- Public Types inherited from vtkPolyDataMapper
typedef vtkMapper Superclass
 
- Public Types inherited from vtkMapper
typedef vtkAbstractMapper3D Superclass
 
- Public Types inherited from vtkAbstractMapper3D
typedef vtkAbstractMapper Superclass
 
- Public Types inherited from vtkAbstractMapper
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
 
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkSurfaceLICMapperNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void ReleaseGraphicsResources (vtkWindow *win)
 
virtual vtkDataObjectGetOutput ()
 
virtual void WriteTimerLog (const char *)
 
virtual void RenderPiece (vtkRenderer *ren, vtkActor *act)
 
void ShallowCopy (vtkAbstractMapper *)
 
void SetEnable (int val)
 
virtual int GetEnable ()
 
void SetEnableOn ()
 
void SetEnableOff ()
 
void SetNumberOfSteps (int val)
 
virtual int GetNumberOfSteps ()
 
void SetStepSize (double val)
 
virtual double GetStepSize ()
 
void SetNormalizeVectors (int val)
 
virtual void NormalizeVectorsOn ()
 
virtual void NormalizeVectorsOff ()
 
virtual int GetNormalizeVectors ()
 
void SetMaskOnSurface (int val)
 
virtual void MaskOnSurfaceOn ()
 
virtual void MaskOnSurfaceOff ()
 
virtual int GetMaskOnSurface ()
 
void SetMaskThreshold (double val)
 
virtual double GetMaskThreshold ()
 
void SetMaskColor (double *val)
 
void SetMaskColor (double r, double g, double b)
 
virtual doubleGetMaskColor ()
 
virtual void GetMaskColor (double &, double &, double &)
 
virtual void GetMaskColor (double[3])
 
void SetMaskIntensity (double val)
 
virtual double GetMaskIntensity ()
 
void SetEnhancedLIC (int val)
 
virtual int GetEnhancedLIC ()
 
virtual void EnhancedLICOn ()
 
virtual void EnhancedLICOff ()
 
virtual double GetLowLICContrastEnhancementFactor ()
 
virtual double GetHighLICContrastEnhancementFactor ()
 
void SetLowLICContrastEnhancementFactor (double val)
 
void SetHighLICContrastEnhancementFactor (double val)
 
virtual double GetLowColorContrastEnhancementFactor ()
 
virtual double GetHighColorContrastEnhancementFactor ()
 
void SetLowColorContrastEnhancementFactor (double val)
 
void SetHighColorContrastEnhancementFactor (double val)
 
void SetAntiAlias (int val)
 
virtual void AntiAliasOn ()
 
virtual void AntiAliasOff ()
 
virtual int GetAntiAlias ()
 
void SetLICIntensity (double val)
 
virtual double GetLICIntensity ()
 
void SetMapModeBias (double val)
 
virtual double GetMapModeBias ()
 
void SetNoiseDataSet (vtkImageData *data)
 
vtkImageDataGetNoiseDataSet ()
 
void SetGenerateNoiseTexture (int shouldGenerate)
 
virtual int GetGenerateNoiseTexture ()
 
void SetNoiseTextureSize (int length)
 
virtual int GetNoiseTextureSize ()
 
void SetNoiseGrainSize (int val)
 
virtual int GetNoiseGrainSize ()
 
void SetMinNoiseValue (double val)
 
void SetMaxNoiseValue (double val)
 
virtual double GetMinNoiseValue ()
 
virtual double GetMaxNoiseValue ()
 
void SetNumberOfNoiseLevels (int val)
 
virtual int GetNumberOfNoiseLevels ()
 
void SetImpulseNoiseProbability (double val)
 
virtual double GetImpulseNoiseProbability ()
 
void SetImpulseNoiseBackgroundValue (double val)
 
virtual double GetImpulseNoiseBackgroundValue ()
 
void SetNoiseGeneratorSeed (int val)
 
virtual int GetNoiseGeneratorSeed ()
 
- Public Member Functions inherited from vtkOpenGLPolyDataMapper
vtkOpenGLPolyDataMapperNewInstance () const
 
void ReleaseGraphicsResources (vtkWindow *)
 
virtual int Draw (vtkRenderer *ren, vtkActor *a)
 
vtkOpenGLPolyDataMapperNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void ReleaseGraphicsResources (vtkWindow *)
 
virtual int GetPopulateSelectionSettings ()
 
void SetPopulateSelectionSettings (int v)
 
virtual bool GetSupportsSelection ()
 
virtual bool GetIsOpaque ()
 
virtual void RenderPieceStart (vtkRenderer *ren, vtkActor *act)
 
virtual void RenderPieceDraw (vtkRenderer *ren, vtkActor *act)
 
virtual void RenderPieceFinish (vtkRenderer *ren, vtkActor *act)
 
virtual void RenderEdges (vtkRenderer *ren, vtkActor *act)
 
virtual void SetPointIdArrayName (const char *)
 
virtual char * GetPointIdArrayName ()
 
virtual void SetCellIdArrayName (const char *)
 
virtual char * GetCellIdArrayName ()
 
virtual void SetProcessIdArrayName (const char *)
 
virtual char * GetProcessIdArrayName ()
 
virtual void SetCompositeIdArrayName (const char *)
 
virtual char * GetCompositeIdArrayName ()
 
- Public Member Functions inherited from vtkPolyDataMapper
vtkPolyDataMapperNewInstance () const
 
virtual void Render (vtkRenderer *ren, vtkActor *act)
 
void ShallowCopy (vtkAbstractMapper *m)
 
virtual void MapDataArrayToMultiTextureAttribute (int unit, const char *dataArrayName, int fieldAssociation, int componentno=-1)
 
virtual void RemoveVertexAttributeMapping (const char *vertexAttributeName)
 
virtual void RemoveAllVertexAttributeMappings ()
 
void SetInputData (vtkPolyData *in)
 
vtkPolyDataGetInput ()
 
void Update ()
 
void Update (int port)
 
virtual void SetPiece (int)
 
virtual int GetPiece ()
 
virtual void SetNumberOfPieces (int)
 
virtual int GetNumberOfPieces ()
 
virtual void SetNumberOfSubPieces (int)
 
virtual int GetNumberOfSubPieces ()
 
virtual void SetGhostLevel (int)
 
virtual int GetGhostLevel ()
 
virtual doubleGetBounds ()
 
virtual void GetBounds (double bounds[6])
 
virtual void MapDataArrayToVertexAttribute (const char *vertexAttributeName, const char *dataArrayName, int fieldAssociation, int componentno=-1)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Public Member Functions inherited from vtkMapper
vtkMapperNewInstance () const
 
void ShallowCopy (vtkAbstractMapper *m)
 
unsigned long GetMTime ()
 
virtual void CreateDefaultLookupTable ()
 
const char * GetColorModeAsString ()
 
virtual void SetScalarMode (int)
 
virtual int GetScalarMode ()
 
void SetScalarModeToDefault ()
 
void SetScalarModeToUsePointData ()
 
void SetScalarModeToUseCellData ()
 
void SetScalarModeToUsePointFieldData ()
 
void SetScalarModeToUseCellFieldData ()
 
void SetScalarModeToUseFieldData ()
 
virtual void SetFieldDataTupleId (vtkIdType)
 
virtual vtkIdType GetFieldDataTupleId ()
 
const char * GetScalarModeAsString ()
 
const char * GetScalarMaterialModeAsString ()
 
virtual int CanUseTextureMapForColoring (vtkDataObject *input)
 
void SetLookupTable (vtkScalarsToColors *lut)
 
vtkScalarsToColorsGetLookupTable ()
 
virtual void SetScalarVisibility (int)
 
virtual int GetScalarVisibility ()
 
virtual void ScalarVisibilityOn ()
 
virtual void ScalarVisibilityOff ()
 
virtual void SetStatic (int)
 
virtual int GetStatic ()
 
virtual void StaticOn ()
 
virtual void StaticOff ()
 
void SetColorModeToDefault ()
 
void SetColorModeToMapScalars ()
 
void SetColorModeToDirectScalars ()
 
virtual void SetInterpolateScalarsBeforeMapping (int)
 
virtual int GetInterpolateScalarsBeforeMapping ()
 
virtual void InterpolateScalarsBeforeMappingOn ()
 
virtual void InterpolateScalarsBeforeMappingOff ()
 
virtual void SetUseLookupTableScalarRange (int)
 
virtual int GetUseLookupTableScalarRange ()
 
virtual void UseLookupTableScalarRangeOn ()
 
virtual void UseLookupTableScalarRangeOff ()
 
virtual void SetScalarRange (double, double)
 
void SetScalarRange (double[2])
 
virtual doubleGetScalarRange ()
 
virtual void GetScalarRange (double data[2])
 
virtual void SetImmediateModeRendering (int)
 
virtual int GetImmediateModeRendering ()
 
virtual void ImmediateModeRenderingOn ()
 
virtual void ImmediateModeRenderingOff ()
 
virtual int GetForceCompileOnly ()
 
void SetForceCompileOnly (int value)
 
void SelectColorArray (int arrayNum)
 
void SelectColorArray (const char *arrayName)
 
void ColorByArrayComponent (int arrayNum, int component)
 
void ColorByArrayComponent (const char *arrayName, int component)
 
char * GetArrayName ()
 
int GetArrayId ()
 
int GetArrayAccessMode ()
 
int GetArrayComponent ()
 
void SetRenderTime (double time)
 
virtual double GetRenderTime ()
 
vtkDataSetGetInput ()
 
vtkDataSetGetInputAsDataSet ()
 
virtual vtkUnsignedCharArrayMapScalars (double alpha)
 
virtual vtkUnsignedCharArrayMapScalars (vtkDataSet *input, double alpha)
 
virtual void SetScalarMaterialMode (int)
 
virtual int GetScalarMaterialMode ()
 
void SetScalarMaterialModeToDefault ()
 
void SetScalarMaterialModeToAmbient ()
 
void SetScalarMaterialModeToDiffuse ()
 
void SetScalarMaterialModeToAmbientAndDiffuse ()
 
- Public Member Functions inherited from vtkAbstractMapper3D
vtkAbstractMapper3DNewInstance () const
 
double GetLength ()
 
int GetNumberOfClippingPlanes ()
 
doubleGetCenter ()
 
void GetCenter (double center[3])
 
virtual int IsARayCastMapper ()
 
virtual int IsARenderIntoImageMapper ()
 
void GetClippingPlaneInDataCoords (vtkMatrix4x4 *propMatrix, int i, double planeEquation[4])
 
- Public Member Functions inherited from vtkAbstractMapper
vtkAbstractMapperNewInstance () const
 
void SetClippingPlanes (vtkPlanes *planes)
 
void ShallowCopy (vtkAbstractMapper *m)
 
virtual double GetTimeToDraw ()
 
void AddClippingPlane (vtkPlane *plane)
 
void RemoveClippingPlane (vtkPlane *plane)
 
void RemoveAllClippingPlanes ()
 
virtual void SetClippingPlanes (vtkPlaneCollection *)
 
virtual vtkPlaneCollectionGetClippingPlanes ()
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int extent[6])
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkSurfaceLICMapperNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSurfaceLICMapperSafeDownCast (vtkObjectBase *o)
 
static bool IsSupported (vtkRenderWindow *context)
 
- Static Public Member Functions inherited from vtkOpenGLPolyDataMapper
static vtkOpenGLPolyDataMapperNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLPolyDataMapperSafeDownCast (vtkObjectBase *o)
 
static vtkOpenGLPolyDataMapperNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLPolyDataMapperSafeDownCast (vtkObjectBase *o)
 
static vtkPolyDataHandleAppleBug (vtkPolyData *poly, std::vector< float > &buffData)
 
- Static Public Member Functions inherited from vtkPolyDataMapper
static vtkPolyDataMapperNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataMapperSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkMapper
static int IsTypeOf (const char *type)
 
static vtkMapperSafeDownCast (vtkObjectBase *o)
 
static void SetGlobalImmediateModeRendering (int val)
 
static void GlobalImmediateModeRenderingOn ()
 
static void GlobalImmediateModeRenderingOff ()
 
static int GetGlobalImmediateModeRendering ()
 
static void SetResolveCoincidentTopology (int val)
 
static int GetResolveCoincidentTopology ()
 
static void SetResolveCoincidentTopologyToDefault ()
 
static void SetResolveCoincidentTopologyToOff ()
 
static void SetResolveCoincidentTopologyToPolygonOffset ()
 
static void SetResolveCoincidentTopologyToShiftZBuffer ()
 
static void SetResolveCoincidentTopologyPolygonOffsetParameters (double factor, double units)
 
static void GetResolveCoincidentTopologyPolygonOffsetParameters (double &factor, double &units)
 
static void SetResolveCoincidentTopologyPolygonOffsetFaces (int faces)
 
static int GetResolveCoincidentTopologyPolygonOffsetFaces ()
 
static void SetResolveCoincidentTopologyZShift (double val)
 
static double GetResolveCoincidentTopologyZShift ()
 
- Static Public Member Functions inherited from vtkAbstractMapper3D
static int IsTypeOf (const char *type)
 
static vtkAbstractMapper3DSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractMapper
static int IsTypeOf (const char *type)
 
static vtkAbstractMapperSafeDownCast (vtkObjectBase *o)
 
static vtkDataArrayGetScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)
 
static vtkAbstractArrayGetAbstractScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkSurfaceLICMapper ()
 
 ~vtkSurfaceLICMapper ()
 
virtual void ProcessInformation (vtkInformation *info)
 
virtual void GetGlobalMinMax (vtkPainterCommunicator *, float &, float &)
 
virtual vtkPainterCommunicatorCreateCommunicator (int)
 
void CreateCommunicator (vtkRenderer *, vtkActor *)
 
virtual void ReportReferences (vtkGarbageCollector *collector)
 
void UpdateNoiseImage (vtkRenderWindow *renWin)
 
void ValidateContext (vtkRenderer *renderer)
 
bool CanRenderSurfaceLIC (vtkActor *actor)
 
virtual void SetMapperShaderParameters (vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
 
virtual void StartTimerEvent (const char *)
 
virtual void EndTimerEvent (const char *)
 
bool NeedToUpdateOutputData ()
 
virtual bool NeedToUpdateCommunicator ()
 
bool NeedToRenderGeometry (vtkRenderer *renderer, vtkActor *actor)
 
bool NeedToGatherVectors ()
 
bool NeedToComputeLIC ()
 
bool NeedToColorLIC ()
 
void SetUpdateAll ()
 
bool PrepareOutput ()
 
void InitializeResources ()
 
bool VectorsToTCoords (vtkDataObject *dataObj)
 
bool VectorsToTCoords (vtkDataSet *dataObj)
 
void ClearTCoords (vtkDataSet *data)
 
virtual void ReplaceShaderValues (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
- Protected Member Functions inherited from vtkOpenGLPolyDataMapper
 vtkOpenGLPolyDataMapper ()
 
 ~vtkOpenGLPolyDataMapper ()
 
void DrawPoints (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, vtkCellArray *ca, vtkRenderer *ren)
 
void DrawLines (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, vtkCellArray *ca, vtkRenderer *ren)
 
void DrawPolygons (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, GLenum rep, vtkCellArray *ca, vtkRenderer *ren)
 
void DrawTStrips (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, GLenum rep, vtkCellArray *ca, vtkRenderer *ren)
 
 vtkOpenGLPolyDataMapper ()
 
 ~vtkOpenGLPolyDataMapper ()
 
virtual void ComputeBounds ()
 
virtual void SetLightingShaderParameters (vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
 
virtual void SetCameraShaderParameters (vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
 
virtual void SetPropertyShaderParameters (vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
 
virtual void UpdateBufferObjects (vtkRenderer *ren, vtkActor *act)
 
virtual bool GetNeedToRebuildBufferObjects (vtkRenderer *ren, vtkActor *act)
 
virtual void BuildBufferObjects (vtkRenderer *ren, vtkActor *act)
 
virtual void BuildIBO (vtkRenderer *ren, vtkActor *act, vtkPolyData *poly)
 
virtual bool HaveWideLines (vtkRenderer *, vtkActor *)
 
bool IsShaderVariableUsed (const char *)
 
void BuildCellTextures (vtkRenderer *ren, vtkActor *, vtkCellArray *prims[4], int representation)
 
void AppendCellTextures (vtkRenderer *ren, vtkActor *, vtkCellArray *prims[4], int representation, std::vector< unsigned char > &colors, std::vector< float > &normals, vtkPolyData *pd)
 
virtual void UpdateShaders (vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
 
virtual bool GetNeedToRebuildShaders (vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
 
virtual void BuildShaders (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void GetShaderTemplate (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderColor (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderLight (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderTCoord (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderPicking (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderDepthPeeling (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderPrimID (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderNormal (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderClip (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
virtual void ReplaceShaderPositionVC (std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
 
- Protected Member Functions inherited from vtkPolyDataMapper
 vtkPolyDataMapper ()
 
 ~vtkPolyDataMapper ()
 
virtual int FillInputPortInformation (int, vtkInformation *)
 
- Protected Member Functions inherited from vtkMapper
 vtkMapper ()
 
 ~vtkMapper ()
 
void MapScalarsToTexture (vtkAbstractArray *scalars, double alpha)
 
- Protected Member Functions inherited from vtkAbstractMapper3D
 vtkAbstractMapper3D ()
 
 ~vtkAbstractMapper3D ()
 
- Protected Member Functions inherited from vtkAbstractMapper
 vtkAbstractMapper ()
 
 ~vtkAbstractMapper ()
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
virtual void SetErrorCode (unsigned long)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int NumberOfSteps
 
double StepSize
 
int NormalizeVectors
 
int EnhancedLIC
 
int EnhanceContrast
 
double LowLICContrastEnhancementFactor
 
double HighLICContrastEnhancementFactor
 
double LowColorContrastEnhancementFactor
 
double HighColorContrastEnhancementFactor
 
int AntiAlias
 
int MaskOnSurface
 
double MaskThreshold
 
double MaskIntensity
 
double MaskColor [3]
 
int ColorMode
 
double LICIntensity
 
double MapModeBias
 
int GenerateNoiseTexture
 
int NoiseType
 
int NoiseTextureSize
 
int NoiseGrainSize
 
double MinNoiseValue
 
double MaxNoiseValue
 
int NumberOfNoiseLevels
 
double ImpulseNoiseProbability
 
double ImpulseNoiseBackgroundValue
 
int NoiseGeneratorSeed
 
int AlwaysUpdate
 
int Enable
 
int CompositeStrategy
 
vtkDataObjectOutput
 
vtkInternals * Internals
 
- Protected Attributes inherited from vtkOpenGLPolyDataMapper
vtkIdType TotalCells
 
int ListId
 
vtkOpenGLTextureInternalColorTexture
 
bool HaveAppleBug
 
std::vector< floatAppleBugPrimIDs
 
vtkOpenGLBufferObjectAppleBugPrimIDBuffer
 
vtkOpenGLVertexBufferObjectVBO
 
vtkOpenGLHelper Points
 
vtkOpenGLHelper Lines
 
vtkOpenGLHelper Tris
 
vtkOpenGLHelper TriStrips
 
vtkOpenGLHelper TrisEdges
 
vtkOpenGLHelper TriStripsEdges
 
vtkOpenGLHelperLastBoundBO
 
bool DrawingEdges
 
int LastLightComplexity
 
vtkTimeStamp LightComplexityChanged
 
int LastSelectionState
 
vtkTimeStamp SelectionStateChanged
 
int LastDepthPeeling
 
vtkTimeStamp DepthPeelingChanged
 
bool UsingScalarColoring
 
vtkTimeStamp VBOBuildTime
 
int PopulateSelectionSettings
 
int PrimitiveIDOffset
 
vtkMatrix4x4TempMatrix4
 
vtkMatrix3x3TempMatrix3
 
std::vector< std::string > ShaderVariablesUsed
 
bool ForceTextureCoordinates
 
bool HavePickScalars
 
vtkTextureObjectCellScalarTexture
 
vtkOpenGLBufferObjectCellScalarBuffer
 
bool HaveCellScalars
 
vtkTextureObjectCellNormalTexture
 
vtkOpenGLBufferObjectCellNormalBuffer
 
bool HaveCellNormals
 
char * PointIdArrayName
 
char * CellIdArrayName
 
char * ProcessIdArrayName
 
char * CompositeIdArrayName
 
int TextureComponents
 
- Protected Attributes inherited from vtkPolyDataMapper
int Piece
 
int NumberOfPieces
 
int NumberOfSubPieces
 
int GhostLevel
 
- Protected Attributes inherited from vtkMapper
vtkUnsignedCharArrayColors
 
int InterpolateScalarsBeforeMapping
 
vtkFloatArrayColorCoordinates
 
vtkImageDataColorTextureMap
 
vtkScalarsToColorsLookupTable
 
int ScalarVisibility
 
vtkTimeStamp BuildTime
 
double ScalarRange [2]
 
int UseLookupTableScalarRange
 
int ImmediateModeRendering
 
int ColorMode
 
int ScalarMode
 
int ScalarMaterialMode
 
double RenderTime
 
int ArrayId
 
char ArrayName [256]
 
int ArrayComponent
 
int ArrayAccessMode
 
vtkIdType FieldDataTupleId
 
int Static
 
int ForceCompileOnly
 
- Protected Attributes inherited from vtkAbstractMapper3D
double Bounds [6]
 
double Center [3]
 
- Protected Attributes inherited from vtkAbstractMapper
vtkTimerLogTimer
 
double TimeToDraw
 
vtkWindowLastWindow
 
vtkPlaneCollectionClippingPlanes
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
enum  { ENHANCE_CONTRAST_OFF =0, ENHANCE_CONTRAST_LIC =1, ENHANCE_CONTRAST_COLOR =3, ENHANCE_CONTRAST_BOTH =4 }
 
void SetEnhanceContrast (int val)
 
virtual int GetEnhanceContrast ()
 
enum  { COLOR_MODE_BLEND =0, COLOR_MODE_MAP }
 
void SetColorMode (int val)
 
virtual int GetColorMode ()
 
enum  { NOISE_TYPE_UNIFORM =0, NOISE_TYPE_GAUSSIAN =1, NOISE_TYPE_PERLIN =2 }
 
void SetNoiseType (int type)
 
virtual int GetNoiseType ()
 
enum  { COMPOSITE_INPLACE =0, COMPOSITE_INPLACE_DISJOINT =1, COMPOSITE_BALANCED =2, COMPOSITE_AUTO =3 }
 
void SetCompositeStrategy (int val)
 
virtual int GetCompositeStrategy ()
 

Additional Inherited Members

- Public Attributes inherited from vtkOpenGLPolyDataMapper
vtkPolyDataCurrentInput
 
- Public Attributes inherited from vtkAlgorithm
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

mapper that performs LIC on the surface of arbitrary geometry.

vtkSurfaceLICMapper performs LIC on the surface of arbitrary geometry. Point vectors are used as the vector field for generating the LIC. The implementation was originallu based on "Image Space Based Visualization on Unsteady Flow on Surfaces" by Laramee, Jobard and Hauser appeared in proceedings of IEEE Visualization '03, pages 131-138.

Internal pipeline:

noise
    |
    [ PROJ (GAT) (COMP) LIC2D (SCAT) SHADE (CCE) DEP]
    |                                               |
vectors                                         surface LIC

PROj - prject vectors onto surface GAT - gather data for compositing and guard pixel generation (parallel only) COMP - composite gathered data LIC2D - line intengral convolution, see vtkLineIntegralConvolution2D. SCAT - scatter result (parallel only, not all compositors use it) SHADE - combine LIC and scalar colors CCE - color contrast enhancement (optional) DEP - depth test and copy to back buffer

The result of each stage is cached in a texture so that during interaction a stage may be skipped if the user has not modified its paramters or input data.

The parallel parts of algorithm are implemented in vtkPSurfaceLICMapper. Note that for MPI enabled builds this class will be automatically created by the object factory.

See also
vtkLineIntegralConvolution2D
Tests:
vtkSurfaceLICMapper (Tests)

Definition at line 72 of file vtkSurfaceLICMapper.h.

Member Typedef Documentation

Definition at line 76 of file vtkSurfaceLICMapper.h.

Member Enumeration Documentation

anonymous enum

Enable/Disable contrast and dynamic range correction stages. Contrast enhancement can be enabled during LIC computations (See vtkLineINtegralComvolution2D) and after the scalar colors have been combined with the LIC. The best appraoch for using this feature is to enable LIC enhancement, and only if the image is to dark or dull enable COLOR enhancement. Both stages are implemented by a histogram stretching algorithm. During LIC stages the contrast enhancement is applied to gray scale LIC image. During the scalar coloring stage the contrast enhancement is applied to the lightness channel of the color image in HSL color space. The histogram stretching is implemented as follows: L = (L-m)/(M-m) where, L is the fragment intensity/lightness, m is the intensity/lightness to map to 0, M is the intensity/lightness to map to 1. The default values of m and M are the min and max taken over all fragments. This increase the dynamic range and contrast in the LIC'd image, both of which are natuarly attenuated by the convolution proccess. Values ENHANCE_CONTRAST_OFF – don't enhance LIC or scalar colors ENHANCE_CONTRAST_LIC – enhance in LIC high-pass input and output ENHANCE_CONTRAST_COLOR – enhance after scalars are combined with LIC ENHANCE_CONTRAST_BOTH – enhance in LIC stages and after scalar colors This feature is disabled by default.

Enumerator
ENHANCE_CONTRAST_OFF 
ENHANCE_CONTRAST_LIC 
ENHANCE_CONTRAST_COLOR 
ENHANCE_CONTRAST_BOTH 

Definition at line 202 of file vtkSurfaceLICMapper.h.

anonymous enum

Set/Get the color mode. The color mode controls how scalar colors are combined with the LIC in the final image. The BLEND mode combines scalar colors with LIC intensities with proportional blending controled by the LICIntensity parameter. The MAP mode combines scalar colors with LIC, by multiplication the HSL represntation of color's lightness. The default is COLOR_MODE_BLEND.

Enumerator
COLOR_MODE_BLEND 
COLOR_MODE_MAP 

Definition at line 253 of file vtkSurfaceLICMapper.h.

anonymous enum

Select the statistical distribution of randomly generated noise values. With uniform noise there is greater control over the range of values in the noise texture. The Default is NOISE_TYPE_GAUSSIAN.

Enumerator
NOISE_TYPE_UNIFORM 
NOISE_TYPE_GAUSSIAN 
NOISE_TYPE_PERLIN 

Definition at line 314 of file vtkSurfaceLICMapper.h.

anonymous enum

Control the screen space decomposition where LIC is computed.

Enumerator
COMPOSITE_INPLACE 
COMPOSITE_INPLACE_DISJOINT 
COMPOSITE_BALANCED 
COMPOSITE_AUTO 

Definition at line 377 of file vtkSurfaceLICMapper.h.

Constructor & Destructor Documentation

vtkSurfaceLICMapper::vtkSurfaceLICMapper ( )
protected
vtkSurfaceLICMapper::~vtkSurfaceLICMapper ( )
protected

Member Function Documentation

static vtkSurfaceLICMapper* vtkSurfaceLICMapper::New ( )
static
static int vtkSurfaceLICMapper::IsTypeOf ( const char *  type)
static
virtual int vtkSurfaceLICMapper::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkOpenGLPolyDataMapper.

Reimplemented in vtkCompositeSurfaceLICMapper, and vtkPSurfaceLICMapper.

static vtkSurfaceLICMapper* vtkSurfaceLICMapper::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkSurfaceLICMapper::NewInstanceInternal ( ) const
protectedvirtual
vtkSurfaceLICMapper* vtkSurfaceLICMapper::NewInstance ( ) const
void vtkSurfaceLICMapper::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkOpenGLPolyDataMapper.

Reimplemented in vtkPSurfaceLICMapper.

virtual void vtkSurfaceLICMapper::ReleaseGraphicsResources ( vtkWindow win)
virtual

Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release. In this case, releases the display lists.

Reimplemented from vtkMapper.

virtual vtkDataObject* vtkSurfaceLICMapper::GetOutput ( )
virtual

Get the output data object from this painter. Overridden to pass the input points (or cells) vectors as the tcoords to the deletage painters. This is required by the internal GLSL shader programs used for generating LIC.

void vtkSurfaceLICMapper::SetEnable ( int  val)

Enable/Disable this painter.

virtual int vtkSurfaceLICMapper::GetEnable ( )
virtual

Enable/Disable this painter.

void vtkSurfaceLICMapper::SetEnableOn ( )
inline

Enable/Disable this painter.

Definition at line 94 of file vtkSurfaceLICMapper.h.

void vtkSurfaceLICMapper::SetEnableOff ( )
inline

Enable/Disable this painter.

Definition at line 95 of file vtkSurfaceLICMapper.h.

void vtkSurfaceLICMapper::SetNumberOfSteps ( int  val)

Get/Set the number of integration steps in each direction.

virtual int vtkSurfaceLICMapper::GetNumberOfSteps ( )
virtual

Get/Set the number of integration steps in each direction.

void vtkSurfaceLICMapper::SetStepSize ( double  val)

Get/Set the step size (in pixels).

virtual double vtkSurfaceLICMapper::GetStepSize ( )
virtual

Get/Set the step size (in pixels).

void vtkSurfaceLICMapper::SetNormalizeVectors ( int  val)

Normalize vectors during integration. When set(the default) the input vector field is normalized during integration, and each integration occurs over the same arclength. When not set each integration occurs over an arc length proportional to the field magnitude as is customary in traditional numerical methods. See, "Imaging Vector Fields Using Line Integral Convolution" for an axample where normalization is used. See, "Image Space Based Visualization of Unsteady Flow on Surfaces" for an example of where no normalization is used.

virtual void vtkSurfaceLICMapper::NormalizeVectorsOn ( )
virtual

Normalize vectors during integration. When set(the default) the input vector field is normalized during integration, and each integration occurs over the same arclength. When not set each integration occurs over an arc length proportional to the field magnitude as is customary in traditional numerical methods. See, "Imaging Vector Fields Using Line Integral Convolution" for an axample where normalization is used. See, "Image Space Based Visualization of Unsteady Flow on Surfaces" for an example of where no normalization is used.

virtual void vtkSurfaceLICMapper::NormalizeVectorsOff ( )
virtual

Normalize vectors during integration. When set(the default) the input vector field is normalized during integration, and each integration occurs over the same arclength. When not set each integration occurs over an arc length proportional to the field magnitude as is customary in traditional numerical methods. See, "Imaging Vector Fields Using Line Integral Convolution" for an axample where normalization is used. See, "Image Space Based Visualization of Unsteady Flow on Surfaces" for an example of where no normalization is used.

virtual int vtkSurfaceLICMapper::GetNormalizeVectors ( )
virtual

Normalize vectors during integration. When set(the default) the input vector field is normalized during integration, and each integration occurs over the same arclength. When not set each integration occurs over an arc length proportional to the field magnitude as is customary in traditional numerical methods. See, "Imaging Vector Fields Using Line Integral Convolution" for an axample where normalization is used. See, "Image Space Based Visualization of Unsteady Flow on Surfaces" for an example of where no normalization is used.

void vtkSurfaceLICMapper::SetMaskOnSurface ( int  val)

When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface. When not set the original un-projected un-transformed |V| is used.

virtual void vtkSurfaceLICMapper::MaskOnSurfaceOn ( )
virtual

When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface. When not set the original un-projected un-transformed |V| is used.

virtual void vtkSurfaceLICMapper::MaskOnSurfaceOff ( )
virtual

When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface. When not set the original un-projected un-transformed |V| is used.

virtual int vtkSurfaceLICMapper::GetMaskOnSurface ( )
virtual

When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface. When not set the original un-projected un-transformed |V| is used.

void vtkSurfaceLICMapper::SetMaskThreshold ( double  val)

The MaskThreshold controls the rendering of fragments in stagnant regions of flow. // In these regions LIC noise texture will be masked, where |V| < MaskThreshold is satisifed. The masking process blends a the MaskColor with the scalar color of the surface proportional to MaskIntesnsity. See MaskIntensity for more information on the blending algorithm. This blending allows one control over the masking process so that masked fragments may be: highlighted (by setting a unique mask color and mask intensity > 0), made invisible with and without passing the un-convolved noise texture (by setting mask intensity 0), made to blend into the LIC. MaskThreshold units are in the original vector space. Note that the threshold can be applied to the original vector field or to the surface projected vector field. See MaskOnSurface.

virtual double vtkSurfaceLICMapper::GetMaskThreshold ( )
virtual

The MaskThreshold controls the rendering of fragments in stagnant regions of flow. // In these regions LIC noise texture will be masked, where |V| < MaskThreshold is satisifed. The masking process blends a the MaskColor with the scalar color of the surface proportional to MaskIntesnsity. See MaskIntensity for more information on the blending algorithm. This blending allows one control over the masking process so that masked fragments may be: highlighted (by setting a unique mask color and mask intensity > 0), made invisible with and without passing the un-convolved noise texture (by setting mask intensity 0), made to blend into the LIC. MaskThreshold units are in the original vector space. Note that the threshold can be applied to the original vector field or to the surface projected vector field. See MaskOnSurface.

void vtkSurfaceLICMapper::SetMaskColor ( double val)

The MaskColor is used on masked fragments. The default of (0.5, 0.5, 0.5) makes the masked fragments look similar to the LIC'd fragments. The mask color is applied only when MaskIntensity > 0.

void vtkSurfaceLICMapper::SetMaskColor ( double  r,
double  g,
double  b 
)
inline

The MaskColor is used on masked fragments. The default of (0.5, 0.5, 0.5) makes the masked fragments look similar to the LIC'd fragments. The mask color is applied only when MaskIntensity > 0.

Definition at line 157 of file vtkSurfaceLICMapper.h.

virtual double* vtkSurfaceLICMapper::GetMaskColor ( )
virtual

The MaskColor is used on masked fragments. The default of (0.5, 0.5, 0.5) makes the masked fragments look similar to the LIC'd fragments. The mask color is applied only when MaskIntensity > 0.

virtual void vtkSurfaceLICMapper::GetMaskColor ( double ,
double ,
double  
)
virtual

The MaskColor is used on masked fragments. The default of (0.5, 0.5, 0.5) makes the masked fragments look similar to the LIC'd fragments. The mask color is applied only when MaskIntensity > 0.

virtual void vtkSurfaceLICMapper::GetMaskColor ( double  [3])
virtual

The MaskColor is used on masked fragments. The default of (0.5, 0.5, 0.5) makes the masked fragments look similar to the LIC'd fragments. The mask color is applied only when MaskIntensity > 0.

void vtkSurfaceLICMapper::SetMaskIntensity ( double  val)

The MaskIntensity controls the blending of the mask color and the geometry color. The color of masked fragments is given by: c = maskColor * maskIntensity + geomColor * (1 - maskIntensity) The default value of 0.0 results in the geometry color being used.

virtual double vtkSurfaceLICMapper::GetMaskIntensity ( )
virtual

The MaskIntensity controls the blending of the mask color and the geometry color. The color of masked fragments is given by: c = maskColor * maskIntensity + geomColor * (1 - maskIntensity) The default value of 0.0 results in the geometry color being used.

void vtkSurfaceLICMapper::SetEnhancedLIC ( int  val)

EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture. Edge enhancedment is made by a simple Laplace convolution.

virtual int vtkSurfaceLICMapper::GetEnhancedLIC ( )
virtual

EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture. Edge enhancedment is made by a simple Laplace convolution.

virtual void vtkSurfaceLICMapper::EnhancedLICOn ( )
virtual

EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture. Edge enhancedment is made by a simple Laplace convolution.

virtual void vtkSurfaceLICMapper::EnhancedLICOff ( )
virtual

EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture. Edge enhancedment is made by a simple Laplace convolution.

void vtkSurfaceLICMapper::SetEnhanceContrast ( int  val)

Enable/Disable contrast and dynamic range correction stages. Contrast enhancement can be enabled during LIC computations (See vtkLineINtegralComvolution2D) and after the scalar colors have been combined with the LIC. The best appraoch for using this feature is to enable LIC enhancement, and only if the image is to dark or dull enable COLOR enhancement. Both stages are implemented by a histogram stretching algorithm. During LIC stages the contrast enhancement is applied to gray scale LIC image. During the scalar coloring stage the contrast enhancement is applied to the lightness channel of the color image in HSL color space. The histogram stretching is implemented as follows: L = (L-m)/(M-m) where, L is the fragment intensity/lightness, m is the intensity/lightness to map to 0, M is the intensity/lightness to map to 1. The default values of m and M are the min and max taken over all fragments. This increase the dynamic range and contrast in the LIC'd image, both of which are natuarly attenuated by the convolution proccess. Values ENHANCE_CONTRAST_OFF – don't enhance LIC or scalar colors ENHANCE_CONTRAST_LIC – enhance in LIC high-pass input and output ENHANCE_CONTRAST_COLOR – enhance after scalars are combined with LIC ENHANCE_CONTRAST_BOTH – enhance in LIC stages and after scalar colors This feature is disabled by default.

virtual int vtkSurfaceLICMapper::GetEnhanceContrast ( )
virtual

Enable/Disable contrast and dynamic range correction stages. Contrast enhancement can be enabled during LIC computations (See vtkLineINtegralComvolution2D) and after the scalar colors have been combined with the LIC. The best appraoch for using this feature is to enable LIC enhancement, and only if the image is to dark or dull enable COLOR enhancement. Both stages are implemented by a histogram stretching algorithm. During LIC stages the contrast enhancement is applied to gray scale LIC image. During the scalar coloring stage the contrast enhancement is applied to the lightness channel of the color image in HSL color space. The histogram stretching is implemented as follows: L = (L-m)/(M-m) where, L is the fragment intensity/lightness, m is the intensity/lightness to map to 0, M is the intensity/lightness to map to 1. The default values of m and M are the min and max taken over all fragments. This increase the dynamic range and contrast in the LIC'd image, both of which are natuarly attenuated by the convolution proccess. Values ENHANCE_CONTRAST_OFF – don't enhance LIC or scalar colors ENHANCE_CONTRAST_LIC – enhance in LIC high-pass input and output ENHANCE_CONTRAST_COLOR – enhance after scalars are combined with LIC ENHANCE_CONTRAST_BOTH – enhance in LIC stages and after scalar colors This feature is disabled by default.

virtual double vtkSurfaceLICMapper::GetLowLICContrastEnhancementFactor ( )
virtual

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

virtual double vtkSurfaceLICMapper::GetHighLICContrastEnhancementFactor ( )
virtual

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

void vtkSurfaceLICMapper::SetLowLICContrastEnhancementFactor ( double  val)

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

void vtkSurfaceLICMapper::SetHighLICContrastEnhancementFactor ( double  val)

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

virtual double vtkSurfaceLICMapper::GetLowColorContrastEnhancementFactor ( )
virtual

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

virtual double vtkSurfaceLICMapper::GetHighColorContrastEnhancementFactor ( )
virtual

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

void vtkSurfaceLICMapper::SetLowColorContrastEnhancementFactor ( double  val)

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

void vtkSurfaceLICMapper::SetHighColorContrastEnhancementFactor ( double  val)

This feature is used to fine tune the contrast enhancement. There are two modes AUTOMATIC and MANUAL.In AUTOMATIC mode values are provided indicating the fraction of the range to adjust M and m by, during contrast enahncement histogram stretching. M and m are the intensity/lightness values that map to 1 and 0. (see EnhanceContrast for an explanation of the mapping procedure). m and M are computed using the factors as follows: m = min(C) + mFactor * (max(C) - min(C)) M = max(C) - MFactor * (max(C) - min(C)) the default values for mFactor and MFactor are 0 which result in m = min(C), M = max(C), taken over the entire image. Modifying mFactor and MFactor above or below zero provide control over the saturation/ de-saturation during contrast enhancement.

void vtkSurfaceLICMapper::SetAntiAlias ( int  val)

Enable/Disable the anti-aliasing pass. This optional pass (disabled by default) can be enabled to reduce jagged patterns in the final LIC image. Values greater than 0 control the number of iterations, 1 is typically sufficient.

virtual void vtkSurfaceLICMapper::AntiAliasOn ( )
virtual

Enable/Disable the anti-aliasing pass. This optional pass (disabled by default) can be enabled to reduce jagged patterns in the final LIC image. Values greater than 0 control the number of iterations, 1 is typically sufficient.

virtual void vtkSurfaceLICMapper::AntiAliasOff ( )
virtual

Enable/Disable the anti-aliasing pass. This optional pass (disabled by default) can be enabled to reduce jagged patterns in the final LIC image. Values greater than 0 control the number of iterations, 1 is typically sufficient.

virtual int vtkSurfaceLICMapper::GetAntiAlias ( )
virtual

Enable/Disable the anti-aliasing pass. This optional pass (disabled by default) can be enabled to reduce jagged patterns in the final LIC image. Values greater than 0 control the number of iterations, 1 is typically sufficient.

void vtkSurfaceLICMapper::SetColorMode ( int  val)
virtual

Set/Get the color mode. The color mode controls how scalar colors are combined with the LIC in the final image. The BLEND mode combines scalar colors with LIC intensities with proportional blending controled by the LICIntensity parameter. The MAP mode combines scalar colors with LIC, by multiplication the HSL represntation of color's lightness. The default is COLOR_MODE_BLEND.

Reimplemented from vtkMapper.

virtual int vtkSurfaceLICMapper::GetColorMode ( )
virtual

Set/Get the color mode. The color mode controls how scalar colors are combined with the LIC in the final image. The BLEND mode combines scalar colors with LIC intensities with proportional blending controled by the LICIntensity parameter. The MAP mode combines scalar colors with LIC, by multiplication the HSL represntation of color's lightness. The default is COLOR_MODE_BLEND.

Reimplemented from vtkMapper.

void vtkSurfaceLICMapper::SetLICIntensity ( double  val)

Factor used when blend mode is set to COLOR_MODE_BLEND. This controls the contribution of the LIC in the final output image as follows: c = LIC * LICIntensity + scalar * (1 - LICIntensity); 0.0 produces same result as disabling LIC altogether, while 1.0 implies show LIC result alone.

virtual double vtkSurfaceLICMapper::GetLICIntensity ( )
virtual

Factor used when blend mode is set to COLOR_MODE_BLEND. This controls the contribution of the LIC in the final output image as follows: c = LIC * LICIntensity + scalar * (1 - LICIntensity); 0.0 produces same result as disabling LIC altogether, while 1.0 implies show LIC result alone.

void vtkSurfaceLICMapper::SetMapModeBias ( double  val)

Factor used when blend mode is set to COLOR_MODE_MAP. This adds a bias to the LIC image. The purpose of this is to adjust the brightness when a brighter image is desired. The default of 0.0 results in no change. Values gretaer than 0.0 will brighten the image while values less than 0.0 darken the image.

virtual double vtkSurfaceLICMapper::GetMapModeBias ( )
virtual

Factor used when blend mode is set to COLOR_MODE_MAP. This adds a bias to the LIC image. The purpose of this is to adjust the brightness when a brighter image is desired. The default of 0.0 results in no change. Values gretaer than 0.0 will brighten the image while values less than 0.0 darken the image.

void vtkSurfaceLICMapper::SetNoiseDataSet ( vtkImageData data)

Set the data containing a noise array as active scalars. Active scalars array will be converted into a texture for use as noise in the LIC process. Noise datasets are expected to be gray scale.

vtkImageData* vtkSurfaceLICMapper::GetNoiseDataSet ( )

Set the data containing a noise array as active scalars. Active scalars array will be converted into a texture for use as noise in the LIC process. Noise datasets are expected to be gray scale.

void vtkSurfaceLICMapper::SetGenerateNoiseTexture ( int  shouldGenerate)

Set/Get the noise texture source. When not set the default 200x200 white noise texture is used (see VTKData/Data/Data/noise.png). When set a noise texture is generated based on the following parameters: NoiseType - select noise type. Gaussian, Uniform, etc NoiseTextureSize - number of pixels in square noise texture(side) NoiseGrainSize - number of pixels each noise value spans(side) MinNoiseValue - minimum noise color >=0 && < MaxNoiseValue MaxNoiseValue - maximum noise color <=1

MinNoiseValue NumberOfNoiseLevels - number of discrete noise

colors ImpulseNoiseProbability - impulse noise is generated when < 1 ImpulseNoiseBackgroundValue - the background color for untouched pixels NoiseGeneratorSeed - seed the random number generators Changing the noise texture gives one greater control over the look of the final image. The default is 0 which results in the use of a static 200x200 Gaussian noise texture. See VTKData/Data/Data/noise.png.

virtual int vtkSurfaceLICMapper::GetGenerateNoiseTexture ( )
virtual

Set/Get the noise texture source. When not set the default 200x200 white noise texture is used (see VTKData/Data/Data/noise.png). When set a noise texture is generated based on the following parameters: NoiseType - select noise type. Gaussian, Uniform, etc NoiseTextureSize - number of pixels in square noise texture(side) NoiseGrainSize - number of pixels each noise value spans(side) MinNoiseValue - minimum noise color >=0 && < MaxNoiseValue MaxNoiseValue - maximum noise color <=1

MinNoiseValue NumberOfNoiseLevels - number of discrete noise

colors ImpulseNoiseProbability - impulse noise is generated when < 1 ImpulseNoiseBackgroundValue - the background color for untouched pixels NoiseGeneratorSeed - seed the random number generators Changing the noise texture gives one greater control over the look of the final image. The default is 0 which results in the use of a static 200x200 Gaussian noise texture. See VTKData/Data/Data/noise.png.

void vtkSurfaceLICMapper::SetNoiseType ( int  type)

Select the statistical distribution of randomly generated noise values. With uniform noise there is greater control over the range of values in the noise texture. The Default is NOISE_TYPE_GAUSSIAN.

virtual int vtkSurfaceLICMapper::GetNoiseType ( )
virtual

Select the statistical distribution of randomly generated noise values. With uniform noise there is greater control over the range of values in the noise texture. The Default is NOISE_TYPE_GAUSSIAN.

void vtkSurfaceLICMapper::SetNoiseTextureSize ( int  length)

Set/Get the side length in pixels of the noise texture. The texture will be length^2 pixels in area.

virtual int vtkSurfaceLICMapper::GetNoiseTextureSize ( )
virtual

Set/Get the side length in pixels of the noise texture. The texture will be length^2 pixels in area.

void vtkSurfaceLICMapper::SetNoiseGrainSize ( int  val)

Each noise value will be length^2 pixels in area.

virtual int vtkSurfaceLICMapper::GetNoiseGrainSize ( )
virtual

Each noise value will be length^2 pixels in area.

void vtkSurfaceLICMapper::SetMinNoiseValue ( double  val)

Set/Get the minimum and mximum gray scale values that the generated noise can take on. The generated noise will be in the range of MinNoiseValue to MaxNoiseValue. Values are clamped within 0 to 1. MinNoiseValue must be less than MaxNoiseValue.

void vtkSurfaceLICMapper::SetMaxNoiseValue ( double  val)

Set/Get the minimum and mximum gray scale values that the generated noise can take on. The generated noise will be in the range of MinNoiseValue to MaxNoiseValue. Values are clamped within 0 to 1. MinNoiseValue must be less than MaxNoiseValue.

virtual double vtkSurfaceLICMapper::GetMinNoiseValue ( )
virtual

Set/Get the minimum and mximum gray scale values that the generated noise can take on. The generated noise will be in the range of MinNoiseValue to MaxNoiseValue. Values are clamped within 0 to 1. MinNoiseValue must be less than MaxNoiseValue.

virtual double vtkSurfaceLICMapper::GetMaxNoiseValue ( )
virtual

Set/Get the minimum and mximum gray scale values that the generated noise can take on. The generated noise will be in the range of MinNoiseValue to MaxNoiseValue. Values are clamped within 0 to 1. MinNoiseValue must be less than MaxNoiseValue.

void vtkSurfaceLICMapper::SetNumberOfNoiseLevels ( int  val)

Set/Get the number of discrete values a noise pixel may take on. Default 1024.

virtual int vtkSurfaceLICMapper::GetNumberOfNoiseLevels ( )
virtual

Set/Get the number of discrete values a noise pixel may take on. Default 1024.

void vtkSurfaceLICMapper::SetImpulseNoiseProbability ( double  val)

Control the density of of the noise. A value of 1.0 produces uniform random noise while values < 1.0 produce impulse noise with the given probabilty.

virtual double vtkSurfaceLICMapper::GetImpulseNoiseProbability ( )
virtual

Control the density of of the noise. A value of 1.0 produces uniform random noise while values < 1.0 produce impulse noise with the given probabilty.

void vtkSurfaceLICMapper::SetImpulseNoiseBackgroundValue ( double  val)

The color to use for untouched pixels when impulse noise probability < 1.

virtual double vtkSurfaceLICMapper::GetImpulseNoiseBackgroundValue ( )
virtual

The color to use for untouched pixels when impulse noise probability < 1.

void vtkSurfaceLICMapper::SetNoiseGeneratorSeed ( int  val)

Set/Get the seed value used by the random number generator.

virtual int vtkSurfaceLICMapper::GetNoiseGeneratorSeed ( )
virtual

Set/Get the seed value used by the random number generator.

void vtkSurfaceLICMapper::SetCompositeStrategy ( int  val)

Control the screen space decomposition where LIC is computed.

virtual int vtkSurfaceLICMapper::GetCompositeStrategy ( )
virtual

Control the screen space decomposition where LIC is computed.

static bool vtkSurfaceLICMapper::IsSupported ( vtkRenderWindow context)
static

Returns true if the rendering context supports extensions needed by this painter.

virtual void vtkSurfaceLICMapper::WriteTimerLog ( const char *  )
inlinevirtual

Methods used for parallel benchmarks. Use cmake to define vtkSurfaceLICMapperTIME to enable benchmarks. During each update timing information is stored, it can be written to disk by calling WriteLog.

Reimplemented in vtkPSurfaceLICMapper.

Definition at line 395 of file vtkSurfaceLICMapper.h.

virtual void vtkSurfaceLICMapper::RenderPiece ( vtkRenderer ren,
vtkActor act 
)
virtual

Implemented by sub classes. Actual rendering is done here.

Reimplemented from vtkOpenGLPolyDataMapper.

void vtkSurfaceLICMapper::ShallowCopy ( vtkAbstractMapper )

Shallow copy of an actor.

virtual void vtkSurfaceLICMapper::ProcessInformation ( vtkInformation info)
protectedvirtual

Called before RenderInternal() if the Information has been changed since the last time this method was called. We use this to detect when LUT has changed.

virtual void vtkSurfaceLICMapper::GetGlobalMinMax ( vtkPainterCommunicator ,
float ,
float  
)
inlineprotectedvirtual

Get the min/max across all ranks. min/max are in/out. In serial operation this is a no-op, in parallel it is a global collective reduction.

Reimplemented in vtkPSurfaceLICMapper.

Definition at line 415 of file vtkSurfaceLICMapper.h.

virtual void vtkSurfaceLICMapper::StartTimerEvent ( const char *  )
inlineprotectedvirtual

Methods used for parallel benchmarks. Use cmake to define vtkSurfaceLICMapperTIME to enable benchmarks. During each update timing information is stored, it can be written to disk by calling WriteLog.

Reimplemented in vtkPSurfaceLICMapper.

Definition at line 422 of file vtkSurfaceLICMapper.h.

virtual void vtkSurfaceLICMapper::EndTimerEvent ( const char *  )
inlineprotectedvirtual

Methods used for parallel benchmarks. Use cmake to define vtkSurfaceLICMapperTIME to enable benchmarks. During each update timing information is stored, it can be written to disk by calling WriteLog.

Reimplemented in vtkPSurfaceLICMapper.

Definition at line 423 of file vtkSurfaceLICMapper.h.

virtual vtkPainterCommunicator* vtkSurfaceLICMapper::CreateCommunicator ( int  )
protectedvirtual

Creates a new communicator with/without the calling processes as indicated by the passed in flag, if not 0 the calling process is included in the new communicator. In parallel this call is mpi collective on the world communicator. In serial this is a no-op.

Reimplemented in vtkPSurfaceLICMapper.

void vtkSurfaceLICMapper::CreateCommunicator ( vtkRenderer ,
vtkActor  
)
protected

Creates a new communicator for internal use based on this rank's visible data.

virtual void vtkSurfaceLICMapper::ReportReferences ( vtkGarbageCollector collector)
protectedvirtual

Take part in garbage collection.

Reimplemented from vtkAlgorithm.

void vtkSurfaceLICMapper::UpdateNoiseImage ( vtkRenderWindow renWin)
protected

Updates the noise texture, downsampling by the requested sample rate.

void vtkSurfaceLICMapper::ValidateContext ( vtkRenderer renderer)
protected

Look for changes that would trigger stage updates

bool vtkSurfaceLICMapper::NeedToUpdateOutputData ( )
protected

Return false if stage can be skipped

virtual bool vtkSurfaceLICMapper::NeedToUpdateCommunicator ( )
protectedvirtual

Return false if stage can be skipped

Reimplemented in vtkPSurfaceLICMapper.

bool vtkSurfaceLICMapper::NeedToRenderGeometry ( vtkRenderer renderer,
vtkActor actor 
)
protected

Return false if stage can be skipped

bool vtkSurfaceLICMapper::NeedToGatherVectors ( )
protected

Return false if stage can be skipped

bool vtkSurfaceLICMapper::NeedToComputeLIC ( )
protected

Return false if stage can be skipped

bool vtkSurfaceLICMapper::NeedToColorLIC ( )
protected

Return false if stage can be skipped

void vtkSurfaceLICMapper::SetUpdateAll ( )
protected

Return false if stage can be skipped

bool vtkSurfaceLICMapper::PrepareOutput ( )
protected

resoucre allocators

void vtkSurfaceLICMapper::InitializeResources ( )
protected

resoucre allocators

bool vtkSurfaceLICMapper::VectorsToTCoords ( vtkDataObject dataObj)
protected

set tcoords with vectors

bool vtkSurfaceLICMapper::VectorsToTCoords ( vtkDataSet dataObj)
protected

set tcoords with vectors

void vtkSurfaceLICMapper::ClearTCoords ( vtkDataSet data)
protected

set tcoords with vectors

bool vtkSurfaceLICMapper::CanRenderSurfaceLIC ( vtkActor actor)
protected

Returns true when rendering LIC is possible.

virtual void vtkSurfaceLICMapper::SetMapperShaderParameters ( vtkOpenGLHelper cellBO,
vtkRenderer ren,
vtkActor act 
)
protectedvirtual

Set the shader parameteres related to the mapper/input data, called by UpdateShader

Reimplemented from vtkOpenGLPolyDataMapper.

virtual void vtkSurfaceLICMapper::ReplaceShaderValues ( std::map< vtkShader::Type, vtkShader * >  shaders,
vtkRenderer ren,
vtkActor act 
)
protectedvirtual

Perform string replacments on the shader templates

Reimplemented from vtkOpenGLPolyDataMapper.

Member Data Documentation

int vtkSurfaceLICMapper::NumberOfSteps
protected

Definition at line 474 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::StepSize
protected

Definition at line 475 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::NormalizeVectors
protected

Definition at line 476 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::EnhancedLIC
protected

Definition at line 478 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::EnhanceContrast
protected

Definition at line 479 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::LowLICContrastEnhancementFactor
protected

Definition at line 480 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::HighLICContrastEnhancementFactor
protected

Definition at line 481 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::LowColorContrastEnhancementFactor
protected

Definition at line 482 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::HighColorContrastEnhancementFactor
protected

Definition at line 483 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::AntiAlias
protected

Definition at line 484 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::MaskOnSurface
protected

Definition at line 486 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::MaskThreshold
protected

Definition at line 487 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::MaskIntensity
protected

Definition at line 488 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::MaskColor[3]
protected

Definition at line 489 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::ColorMode
protected

Definition at line 491 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::LICIntensity
protected

Definition at line 492 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::MapModeBias
protected

Definition at line 493 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::GenerateNoiseTexture
protected

Definition at line 495 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::NoiseType
protected

Definition at line 496 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::NoiseTextureSize
protected

Definition at line 497 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::NoiseGrainSize
protected

Definition at line 498 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::MinNoiseValue
protected

Definition at line 499 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::MaxNoiseValue
protected

Definition at line 500 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::NumberOfNoiseLevels
protected

Definition at line 501 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::ImpulseNoiseProbability
protected

Definition at line 502 of file vtkSurfaceLICMapper.h.

double vtkSurfaceLICMapper::ImpulseNoiseBackgroundValue
protected

Definition at line 503 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::NoiseGeneratorSeed
protected

Definition at line 504 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::AlwaysUpdate
protected

Definition at line 506 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::Enable
protected

Definition at line 507 of file vtkSurfaceLICMapper.h.

int vtkSurfaceLICMapper::CompositeStrategy
protected

Definition at line 508 of file vtkSurfaceLICMapper.h.

vtkDataObject* vtkSurfaceLICMapper::Output
protected

Definition at line 510 of file vtkSurfaceLICMapper.h.

vtkInternals* vtkSurfaceLICMapper::Internals
protected

Definition at line 511 of file vtkSurfaceLICMapper.h.


The documentation for this class was generated from the following file: