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

parallel parts of the vtkSurfaceLICPainter More...

#include <vtkPSurfaceLICPainter.h>

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

Public Types

typedef vtkSurfaceLICPainter Superclass
 
- Public Types inherited from vtkSurfaceLICPainter
typedef vtkPainter Superclass
 
enum  { ENHANCE_CONTRAST_OFF =0, ENHANCE_CONTRAST_LIC =1, ENHANCE_CONTRAST_COLOR =3, ENHANCE_CONTRAST_BOTH =4 }
 
enum  { COLOR_MODE_BLEND =0, COLOR_MODE_MAP }
 
enum  { NOISE_TYPE_UNIFORM =0, NOISE_TYPE_GAUSSIAN =1, NOISE_TYPE_PERLIN =2 }
 
enum  { COMPOSITE_INPLACE =0, COMPOSITE_INPLACE_DISJOINT =1, COMPOSITE_BALANCED =2, COMPOSITE_AUTO =3 }
 
- Public Types inherited from vtkPainter
enum  { VERTS = 0x1, LINES = 0x2, POLYS = 0x4, STRIPS = 0x8 }
 
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPSurfaceLICPainterNewInstance () const
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void WriteTimerLog (const char *fileName)
 
- Public Member Functions inherited from vtkSurfaceLICPainter
vtkSurfaceLICPainterNewInstance () const
 
virtual void ReleaseGraphicsResources (vtkWindow *win)
 
virtual vtkDataObjectGetOutput ()
 
void SetEnable (int val)
 
virtual int GetEnable ()
 
void SetEnableOn ()
 
void SetEnableOff ()
 
void SetInputArrayToProcess (int fieldAssociation, const char *name)
 
void SetInputArrayToProcess (int fieldAssociation, int fieldAttributeType)
 
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 ()
 
void SetEnhanceContrast (int val)
 
virtual int GetEnhanceContrast ()
 
void SetColorMode (int val)
 
virtual int GetColorMode ()
 
void SetNoiseType (int type)
 
virtual int GetNoiseType ()
 
void SetCompositeStrategy (int val)
 
virtual int GetCompositeStrategy ()
 
- Public Member Functions inherited from vtkPainter
vtkPainterNewInstance () const
 
virtual double GetTimeToDraw ()
 
virtual void UpdateBounds (double bounds[6])
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual vtkPainterGetDelegatePainter ()
 
virtual void SetDelegatePainter (vtkPainter *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
virtual void Render (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetInput (vtkDataObject *)
 
virtual vtkDataObjectGetInput ()
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
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 vtkPSurfaceLICPainterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPSurfaceLICPainterSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkSurfaceLICPainter
static vtkSurfaceLICPainterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSurfaceLICPainterSafeDownCast (vtkObjectBase *o)
 
static bool IsSupported (vtkRenderWindow *context)
 
- Static Public Member Functions inherited from vtkPainter
static int IsTypeOf (const char *type)
 
static vtkPainterSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeySTATIC_DATA ()
 
static vtkInformationIntegerKeyCONSERVE_MEMORY ()
 
static vtkInformationIntegerKeyHIGH_QUALITY ()
 
- 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
 
 vtkPSurfaceLICPainter ()
 
 ~vtkPSurfaceLICPainter ()
 
virtual bool NeedToUpdateCommunicator ()
 
virtual void GetGlobalMinMax (vtkPainterCommunicator *comm, float &min, float &max)
 
virtual vtkPainterCommunicatorCreateCommunicator (int include)
 
virtual void StartTimerEvent (const char *name)
 
virtual void EndTimerEvent (const char *name)
 
- Protected Member Functions inherited from vtkSurfaceLICPainter
 vtkSurfaceLICPainter ()
 
 ~vtkSurfaceLICPainter ()
 
virtual void ProcessInformation (vtkInformation *info)
 
void CreateCommunicator ()
 
void GetBounds (vtkDataObject *data, double bounds[6])
 
virtual void ReportReferences (vtkGarbageCollector *collector)
 
void UpdateNoiseImage (vtkRenderWindow *renWin)
 
void ValidateContext (vtkRenderer *renderer)
 
bool CanRenderSurfaceLIC (vtkActor *actor, int typeflags)
 
virtual void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
 
bool NeedToUpdateOutputData ()
 
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)
 
- Protected Member Functions inherited from vtkPainter
 vtkPainter ()
 
 ~vtkPainter ()
 
void UpdateDelegatePainter ()
 
virtual void PassInformation (vtkPainter *toPainter)
 
virtual void PrepareForRendering (vtkRenderer *, vtkActor *)
 
virtual void UpdateDelegateProgress (vtkPainter *delegate, double amount)
 
virtual void ObserverPainterProgress (vtkPainter *toObserve)
 
void UpdateProgress (double amount)
 
vtkAbstractArrayGetInputArrayToProcess (int fieldAssociation, int fieldAttributeType, vtkDataSet *ds, bool *use_cell_data=0)
 
vtkAbstractArrayGetInputArrayToProcess (int fieldAssociation, const char *name, vtkDataSet *dsl, bool *use_cell_data=0)
 
- 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 &)
 

Additional Inherited Members

- Protected Attributes inherited from vtkSurfaceLICPainter
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 vtkPainter
vtkTimeStamp InformationProcessTime
 
vtkPainterObserverObserver
 
vtkInformationInformation
 
vtkPainterDelegatePainter
 
double Progress
 
double ProgressOffset
 
double ProgressScaleFactor
 
double TimeToDraw
 
vtkTimerLogTimer
 
vtkWeakPointer< vtkWindowLastWindow
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

parallel parts of the vtkSurfaceLICPainter

Parallel parts of the vtkSurfaceLICPainter, see that class for documentation.

Definition at line 32 of file vtkPSurfaceLICPainter.h.

Member Typedef Documentation

Definition at line 36 of file vtkPSurfaceLICPainter.h.

Constructor & Destructor Documentation

vtkPSurfaceLICPainter::vtkPSurfaceLICPainter ( )
protected
vtkPSurfaceLICPainter::~vtkPSurfaceLICPainter ( )
protected

Member Function Documentation

static vtkPSurfaceLICPainter* vtkPSurfaceLICPainter::New ( )
static
static int vtkPSurfaceLICPainter::IsTypeOf ( const char *  type)
static
virtual int vtkPSurfaceLICPainter::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 vtkSurfaceLICPainter.

static vtkPSurfaceLICPainter* vtkPSurfaceLICPainter::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkPSurfaceLICPainter::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkSurfaceLICPainter.

vtkPSurfaceLICPainter* vtkPSurfaceLICPainter::NewInstance ( ) const
virtual void vtkPSurfaceLICPainter::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 vtkSurfaceLICPainter.

virtual void vtkPSurfaceLICPainter::WriteTimerLog ( const char *  fileName)
virtual

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

Reimplemented from vtkSurfaceLICPainter.

virtual void vtkPSurfaceLICPainter::GetGlobalMinMax ( vtkPainterCommunicator comm,
float min,
float max 
)
protectedvirtual

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 from vtkSurfaceLICPainter.

virtual vtkPainterCommunicator* vtkPSurfaceLICPainter::CreateCommunicator ( int  include)
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 from vtkSurfaceLICPainter.

virtual bool vtkPSurfaceLICPainter::NeedToUpdateCommunicator ( )
protectedvirtual

Ensure that if any rank udpates the communicator they all do. This is a global collective operation.

Reimplemented from vtkSurfaceLICPainter.

virtual void vtkPSurfaceLICPainter::StartTimerEvent ( const char *  name)
protectedvirtual

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

Reimplemented from vtkSurfaceLICPainter.

virtual void vtkPSurfaceLICPainter::EndTimerEvent ( const char *  name)
protectedvirtual

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

Reimplemented from vtkSurfaceLICPainter.


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