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

parallel parts of the vtkSurfaceLICInterface More...

#include <vtkPSurfaceLICInterface.h>

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

Public Types

typedef vtkSurfaceLICInterface Superclass
 
- Public Types inherited from vtkSurfaceLICInterface
typedef vtkObject Superclass
 
enum  { ENHANCE_CONTRAST_OFF = 0 , ENHANCE_CONTRAST_LIC = 1 , ENHANCE_CONTRAST_COLOR = 3 , ENHANCE_CONTRAST_BOTH = 4 }
 Enable/Disable contrast and dynamic range correction stages. More...
 
enum  { COLOR_MODE_BLEND = 0 , COLOR_MODE_MAP }
 Set/Get the color mode. More...
 
enum  { NOISE_TYPE_UNIFORM = 0 , NOISE_TYPE_GAUSSIAN = 1 , NOISE_TYPE_PERLIN = 2 }
 Select the statistical distribution of randomly generated noise values. More...
 
enum  { COMPOSITE_INPLACE = 0 , COMPOSITE_INPLACE_DISJOINT = 1 , COMPOSITE_BALANCED = 2 , COMPOSITE_AUTO = 3 }
 Control the screen space decomposition where LIC is computed. More...
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkPSurfaceLICInterfaceNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void WriteTimerLog (VTK_FILEPATH const char *fileName) override
 Methods used for parallel benchmarks.
 
- Public Member Functions inherited from vtkSurfaceLICInterface
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkSurfaceLICInterfaceNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
virtual void WriteTimerLog (const char *)
 Methods used for parallel benchmarks.
 
void ShallowCopy (vtkSurfaceLICInterface *m)
 Make a shallow copy of this interface.
 
virtual void ReleaseGraphicsResources (vtkWindow *win)
 Release any graphics resources that are being consumed by this mapper.
 
bool CanRenderSurfaceLIC (vtkActor *actor)
 Returns true when rendering LIC is possible.
 
void ValidateContext (vtkRenderer *renderer)
 Look for changes that would trigger stage updates.
 
virtual vtkPainterCommunicatorCreateCommunicator (int)
 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.
 
void CreateCommunicator (vtkRenderer *, vtkActor *, vtkDataObject *data)
 Creates a new communicator for internal use based on this rank's visible data.
 
vtkPainterCommunicatorGetCommunicator ()
 
void UpdateCommunicator (vtkRenderer *renderer, vtkActor *actor, vtkDataObject *data)
 Called from a mapper, does what is needed to make sure the communicators are ready.
 
void InitializeResources ()
 resoucre allocators
 
void PrepareForGeometry ()
 
void CompletedGeometry ()
 
void GatherVectors ()
 
void ApplyLIC ()
 
void CombineColorsAndLIC ()
 
void CopyToScreen ()
 
virtual void GetGlobalMinMax (vtkPainterCommunicator *, float &, float &)
 Get the min/max across all ranks.
 
void SetNumberOfSteps (int val)
 Get/Set the number of integration steps in each direction.
 
virtual int GetNumberOfSteps ()
 Get/Set the number of integration steps in each direction.
 
void SetStepSize (double val)
 Get/Set the step size (in pixels).
 
virtual double GetStepSize ()
 Get/Set the step size (in pixels).
 
void SetNormalizeVectors (int val)
 Normalize vectors during integration.
 
virtual void NormalizeVectorsOn ()
 Normalize vectors during integration.
 
virtual void NormalizeVectorsOff ()
 Normalize vectors during integration.
 
virtual int GetNormalizeVectors ()
 Normalize vectors during integration.
 
void SetMaskOnSurface (int val)
 When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface.
 
virtual void MaskOnSurfaceOn ()
 When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface.
 
virtual void MaskOnSurfaceOff ()
 When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface.
 
virtual int GetMaskOnSurface ()
 When set MaskOnSurface computes |V| for use in the fragment masking tests on the surface.
 
void SetMaskThreshold (double val)
 The MaskThreshold controls the rendering of fragments in stagnant regions of flow.
 
virtual double GetMaskThreshold ()
 The MaskThreshold controls the rendering of fragments in stagnant regions of flow.
 
void SetMaskColor (double *val)
 The MaskColor is used on masked fragments.
 
void SetMaskColor (double r, double g, double b)
 The MaskColor is used on masked fragments.
 
virtual double * GetMaskColor ()
 The MaskColor is used on masked fragments.
 
virtual void GetMaskColor (double &, double &, double &)
 The MaskColor is used on masked fragments.
 
virtual void GetMaskColor (double[3])
 The MaskColor is used on masked fragments.
 
void SetMaskIntensity (double val)
 The MaskIntensity controls the blending of the mask color and the geometry color.
 
virtual double GetMaskIntensity ()
 The MaskIntensity controls the blending of the mask color and the geometry color.
 
void 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.
 
virtual int GetEnhancedLIC ()
 EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture.
 
virtual void EnhancedLICOn ()
 EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture.
 
virtual void EnhancedLICOff ()
 EnhancedLIC mean compute the LIC twice with the second pass using the edge-enhanced result of the first pass as a noise texture.
 
virtual double GetLowLICContrastEnhancementFactor ()
 This feature is used to fine tune the contrast enhancement.
 
virtual double GetHighLICContrastEnhancementFactor ()
 This feature is used to fine tune the contrast enhancement.
 
void SetLowLICContrastEnhancementFactor (double val)
 This feature is used to fine tune the contrast enhancement.
 
void SetHighLICContrastEnhancementFactor (double val)
 This feature is used to fine tune the contrast enhancement.
 
virtual double GetLowColorContrastEnhancementFactor ()
 This feature is used to fine tune the contrast enhancement.
 
virtual double GetHighColorContrastEnhancementFactor ()
 This feature is used to fine tune the contrast enhancement.
 
void SetLowColorContrastEnhancementFactor (double val)
 This feature is used to fine tune the contrast enhancement.
 
void SetHighColorContrastEnhancementFactor (double val)
 This feature is used to fine tune the contrast enhancement.
 
void SetAntiAlias (int val)
 Enable/Disable the anti-aliasing pass.
 
virtual void AntiAliasOn ()
 Enable/Disable the anti-aliasing pass.
 
virtual void AntiAliasOff ()
 Enable/Disable the anti-aliasing pass.
 
virtual int GetAntiAlias ()
 Enable/Disable the anti-aliasing pass.
 
void SetLICIntensity (double val)
 Factor used when blend mode is set to COLOR_MODE_BLEND.
 
virtual double GetLICIntensity ()
 Factor used when blend mode is set to COLOR_MODE_BLEND.
 
void SetMapModeBias (double val)
 Factor used when blend mode is set to COLOR_MODE_MAP.
 
virtual double GetMapModeBias ()
 Factor used when blend mode is set to COLOR_MODE_MAP.
 
void SetNoiseDataSet (vtkImageData *data)
 Set the data containing a noise array as active scalars.
 
vtkImageDataGetNoiseDataSet ()
 Set the data containing a noise array as active scalars.
 
void SetGenerateNoiseTexture (int shouldGenerate)
 Set/Get the noise texture source.
 
virtual int GetGenerateNoiseTexture ()
 Set/Get the noise texture source.
 
void SetNoiseTextureSize (int length)
 Set/Get the side length in pixels of the noise texture.
 
virtual int GetNoiseTextureSize ()
 Set/Get the side length in pixels of the noise texture.
 
void SetNoiseGrainSize (int val)
 Each noise value will be length^2 pixels in area.
 
virtual int GetNoiseGrainSize ()
 Each noise value will be length^2 pixels in area.
 
void SetMinNoiseValue (double val)
 Set/Get the minimum and mximum gray scale values that the generated noise can take on.
 
void SetMaxNoiseValue (double val)
 Set/Get the minimum and mximum gray scale values that the generated noise can take on.
 
virtual double GetMinNoiseValue ()
 Set/Get the minimum and mximum gray scale values that the generated noise can take on.
 
virtual double GetMaxNoiseValue ()
 Set/Get the minimum and mximum gray scale values that the generated noise can take on.
 
void SetNumberOfNoiseLevels (int val)
 Set/Get the number of discrete values a noise pixel may take on.
 
virtual int GetNumberOfNoiseLevels ()
 Set/Get the number of discrete values a noise pixel may take on.
 
void SetImpulseNoiseProbability (double val)
 Control the density of the noise.
 
virtual double GetImpulseNoiseProbability ()
 Control the density of the noise.
 
void SetImpulseNoiseBackgroundValue (double val)
 The color to use for untouched pixels when impulse noise probability < 1.
 
virtual double GetImpulseNoiseBackgroundValue ()
 The color to use for untouched pixels when impulse noise probability < 1.
 
void SetNoiseGeneratorSeed (int val)
 Set/Get the seed value used by the random number generator.
 
virtual int GetNoiseGeneratorSeed ()
 Set/Get the seed value used by the random number generator.
 
void SetHasVectors (bool val)
 Does the data have vectors which we require.
 
bool GetHasVectors ()
 Does the data have vectors which we require.
 
virtual void SetEnable (int)
 Enable/Disable LIC.
 
virtual int GetEnable ()
 Enable/Disable LIC.
 
virtual void EnableOn ()
 Enable/Disable LIC.
 
virtual void EnableOff ()
 Enable/Disable LIC.
 
void SetEnhanceContrast (int val)
 Enable/Disable contrast and dynamic range correction stages.
 
virtual int GetEnhanceContrast ()
 Enable/Disable contrast and dynamic range correction stages.
 
void SetColorMode (int val)
 Set/Get the color mode.
 
virtual int GetColorMode ()
 Set/Get the color mode.
 
void SetNoiseType (int type)
 Select the statistical distribution of randomly generated noise values.
 
virtual int GetNoiseType ()
 Select the statistical distribution of randomly generated noise values.
 
void SetCompositeStrategy (int val)
 Control the screen space decomposition where LIC is computed.
 
virtual int GetCompositeStrategy ()
 Control the screen space decomposition where LIC is computed.
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on.
 
virtual void DebugOff ()
 Turn debugging output off.
 
bool GetDebug ()
 Get the value of the debug flag.
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag.
 
virtual void Modified ()
 Update the modification time for this object.
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method.
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
int InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string.
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
virtual void Delete ()
 Delete a VTK object.
 
virtual void FastDelete ()
 Delete a reference to this object.
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream.
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object).
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object).
 
int GetReferenceCount ()
 Return the current reference count of this object.
 
void SetReferenceCount (int)
 Sets the reference count.
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space.
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 

Static Public Member Functions

static vtkPSurfaceLICInterfaceNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkPSurfaceLICInterfaceSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkSurfaceLICInterface
static vtkSurfaceLICInterfaceNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkSurfaceLICInterfaceSafeDownCast (vtkObjectBase *o)
 
static bool IsSupported (vtkRenderWindow *context)
 Returns true if the rendering context supports extensions needed by this painter.
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes.
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkPSurfaceLICInterface ()
 
 ~vtkPSurfaceLICInterface ()
 
void GetGlobalMinMax (vtkPainterCommunicator *comm, float &min, float &max) override
 Get the min/max across all ranks.
 
vtkPainterCommunicatorCreateCommunicator (int include) override
 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.
 
bool NeedToUpdateCommunicator () override
 Ensure that if any rank updates the communicator they all do.
 
virtual void StartTimerEvent (const char *name)
 Methods used for parallel benchmarks.
 
virtual void EndTimerEvent (const char *name)
 Methods used for parallel benchmarks.
 
- Protected Member Functions inherited from vtkSurfaceLICInterface
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkSurfaceLICInterface ()
 
 ~vtkSurfaceLICInterface () override
 
void UpdateNoiseImage (vtkRenderWindow *renWin)
 Updates the noise texture, downsampling by the requested sample rate.
 
bool NeedToRenderGeometry (vtkRenderer *renderer, vtkActor *actor)
 Return false if stage can be skipped.
 
bool NeedToGatherVectors ()
 Return false if stage can be skipped.
 
bool NeedToComputeLIC ()
 Return false if stage can be skipped.
 
bool NeedToColorLIC ()
 Return false if stage can be skipped.
 
void SetUpdateAll ()
 Return false if stage can be skipped.
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events.
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events.
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 
- Protected Attributes inherited from vtkSurfaceLICInterface
int Enable
 
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 CompositeStrategy
 
vtkSurfaceLICHelperInternals
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

parallel parts of the vtkSurfaceLICInterface

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

Definition at line 33 of file vtkPSurfaceLICInterface.h.

Member Typedef Documentation

◆ Superclass

Definition at line 37 of file vtkPSurfaceLICInterface.h.

Constructor & Destructor Documentation

◆ vtkPSurfaceLICInterface()

vtkPSurfaceLICInterface::vtkPSurfaceLICInterface ( )
protected

◆ ~vtkPSurfaceLICInterface()

vtkPSurfaceLICInterface::~vtkPSurfaceLICInterface ( )
protected

Member Function Documentation

◆ New()

static vtkPSurfaceLICInterface * vtkPSurfaceLICInterface::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkPSurfaceLICInterface::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkPSurfaceLICInterface::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 vtkSurfaceLICInterface.

◆ SafeDownCast()

static vtkPSurfaceLICInterface * vtkPSurfaceLICInterface::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkPSurfaceLICInterface::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkSurfaceLICInterface.

◆ NewInstance()

vtkPSurfaceLICInterface * vtkPSurfaceLICInterface::NewInstance ( ) const

◆ PrintSelf()

void vtkPSurfaceLICInterface::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

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 vtkSurfaceLICInterface.

◆ WriteTimerLog()

void vtkPSurfaceLICInterface::WriteTimerLog ( VTK_FILEPATH const char *  fileName)
override

Methods used for parallel benchmarks.

Use cmake to define vtkSurfaceLICInterfaceTIME to enable benchmarks. During each update timing information is stored, it can be written to disk by calling WriteLog.

◆ GetGlobalMinMax()

void vtkPSurfaceLICInterface::GetGlobalMinMax ( vtkPainterCommunicator comm,
float &  min,
float &  max 
)
overrideprotectedvirtual

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 vtkSurfaceLICInterface.

◆ CreateCommunicator()

vtkPainterCommunicator * vtkPSurfaceLICInterface::CreateCommunicator ( int  include)
overrideprotectedvirtual

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 vtkSurfaceLICInterface.

◆ NeedToUpdateCommunicator()

bool vtkPSurfaceLICInterface::NeedToUpdateCommunicator ( )
overrideprotectedvirtual

Ensure that if any rank updates the communicator they all do.

This is a global collective operation.

Reimplemented from vtkSurfaceLICInterface.

◆ StartTimerEvent()

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

Methods used for parallel benchmarks.

Use cmake to define vtkSurfaceLICInterfaceTIME to enable benchmarks. During each update timing information is stored, it can be written to disk by calling WriteLog.

◆ EndTimerEvent()

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

Methods used for parallel benchmarks.

Use cmake to define vtkSurfaceLICInterfaceTIME to enable benchmarks. During each update timing information is stored, it can be written to disk by calling WriteLog.


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