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

Preselection enables the user to inspect cells/points without actually selecting them. More...

#include <vtkSMPreselectionPipeline.h>

Inheritance diagram for vtkSMPreselectionPipeline:
Inheritance graph
[legend]
Collaboration diagram for vtkSMPreselectionPipeline:
Collaboration graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void Show (vtkSMSourceProxy *sourceRepresentation, vtkSMSourceProxy *selection, vtkSMRenderViewProxy *view)
 Shows the interactive selection for 'selection' and 'sourceRepresentation'. More...
 
virtual void Hide (vtkSMRenderViewProxy *view)
 Hides the interactive selection. More...
 
void CopyLabels (vtkSMProxy *representation)
 Copies the labels for interactive selection from the selection labels in the representation parameter. More...
 
virtual vtkSMProxyGetSelectionRepresentation () const
 Get/Create the interactive selection representation. More...
 
virtual vtkSMProxyGetOrCreateSelectionRepresentation ()
 Get/Create the interactive selection representation. More...
 
virtual vtkSMProxyCreateSelectionRepresentation (vtkSMSourceProxy *extract, vtkSMRenderViewProxy *view)
 Get/Create the interactive selection representation. More...
 
virtual vtkSMProxyCreateSelectionRepresentation (vtkSMSourceProxy *extract)
 Get/Create the interactive selection representation. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
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)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
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 *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
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)
 
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 *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
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)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSMPreselectionPipelineSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkSMPreselectionPipeline ()
 
 ~vtkSMPreselectionPipeline () override
 
virtual void ClearCache ()
 
vtkSMSourceProxyConnectPVExtractSelection (vtkSMSourceProxy *source, unsigned int sourceOutputPort, vtkSMSourceProxy *selection)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

static void OnColorModified (vtkObject *source, unsigned long eid, void *clientdata, void *calldata)
 
static void ClearCache (vtkObject *source, unsigned long eid, void *clientdata, void *calldata)
 

Protected Attributes

vtkSMSourceProxyExtractInteractiveSelection
 
vtkSMProxySelectionRepresentation
 
vtkWeakPointer< vtkSMRenderViewProxyPreviousView
 
vtkWeakPointer< vtkSMSourceProxyPreviousRepresentation
 
vtkCallbackCommandColorObserver
 
vtkCallbackCommandConnectionObserver
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Preselection enables the user to inspect cells/points without actually selecting them.

The user moves the mouse cursor over a cell and see the cell highlighted. This is a global object that holds the pipeline for the interactive selection and the point tooltip mode.

See also
vtkSMInteractiveSelectionPipeline vtkSMTooltipSelectionPipeline

Definition at line 30 of file vtkSMPreselectionPipeline.h.

Member Typedef Documentation

◆ Superclass

Definition at line 33 of file vtkSMPreselectionPipeline.h.

Constructor & Destructor Documentation

◆ vtkSMPreselectionPipeline()

vtkSMPreselectionPipeline::vtkSMPreselectionPipeline ( )
protected

◆ ~vtkSMPreselectionPipeline()

vtkSMPreselectionPipeline::~vtkSMPreselectionPipeline ( )
overrideprotected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkSMPreselectionPipeline::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkSMPreselectionPipeline::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkSMPreselectionPipeline::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkSMPreselectionPipeline* vtkSMPreselectionPipeline::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

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

Reimplemented from vtkObject.

Reimplemented in vtkSMTooltipSelectionPipeline.

◆ GetSelectionRepresentation()

virtual vtkSMProxy* vtkSMPreselectionPipeline::GetSelectionRepresentation ( ) const
virtual

Get/Create the interactive selection representation.

◆ GetOrCreateSelectionRepresentation()

virtual vtkSMProxy* vtkSMPreselectionPipeline::GetOrCreateSelectionRepresentation ( )
virtual

Get/Create the interactive selection representation.

◆ CreateSelectionRepresentation() [1/2]

virtual vtkSMProxy* vtkSMPreselectionPipeline::CreateSelectionRepresentation ( vtkSMSourceProxy extract,
vtkSMRenderViewProxy view 
)
virtual

Get/Create the interactive selection representation.

◆ CreateSelectionRepresentation() [2/2]

virtual vtkSMProxy* vtkSMPreselectionPipeline::CreateSelectionRepresentation ( vtkSMSourceProxy extract)
inlinevirtual

Get/Create the interactive selection representation.

Definition at line 44 of file vtkSMPreselectionPipeline.h.

◆ Show()

virtual void vtkSMPreselectionPipeline::Show ( vtkSMSourceProxy sourceRepresentation,
vtkSMSourceProxy selection,
vtkSMRenderViewProxy view 
)
virtual

Shows the interactive selection for 'selection' and 'sourceRepresentation'.

If either sourceRepresentation or selection are null it hides the interactive selection.

Reimplemented in vtkSMTooltipSelectionPipeline.

◆ Hide()

virtual void vtkSMPreselectionPipeline::Hide ( vtkSMRenderViewProxy view)
virtual

Hides the interactive selection.

Reimplemented in vtkSMTooltipSelectionPipeline.

◆ CopyLabels()

void vtkSMPreselectionPipeline::CopyLabels ( vtkSMProxy representation)

Copies the labels for interactive selection from the selection labels in the representation parameter.

◆ OnColorModified()

static void vtkSMPreselectionPipeline::OnColorModified ( vtkObject source,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ ClearCache() [1/2]

static void vtkSMPreselectionPipeline::ClearCache ( vtkObject source,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ ClearCache() [2/2]

virtual void vtkSMPreselectionPipeline::ClearCache ( )
protectedvirtual

Reimplemented in vtkSMTooltipSelectionPipeline.

◆ ConnectPVExtractSelection()

vtkSMSourceProxy* vtkSMPreselectionPipeline::ConnectPVExtractSelection ( vtkSMSourceProxy source,
unsigned int  sourceOutputPort,
vtkSMSourceProxy selection 
)
protected

Member Data Documentation

◆ ExtractInteractiveSelection

vtkSMSourceProxy* vtkSMPreselectionPipeline::ExtractInteractiveSelection
protected

Definition at line 82 of file vtkSMPreselectionPipeline.h.

◆ SelectionRepresentation

vtkSMProxy* vtkSMPreselectionPipeline::SelectionRepresentation
protected

Definition at line 83 of file vtkSMPreselectionPipeline.h.

◆ PreviousView

vtkWeakPointer<vtkSMRenderViewProxy> vtkSMPreselectionPipeline::PreviousView
protected

Definition at line 85 of file vtkSMPreselectionPipeline.h.

◆ PreviousRepresentation

vtkWeakPointer<vtkSMSourceProxy> vtkSMPreselectionPipeline::PreviousRepresentation
protected

Definition at line 86 of file vtkSMPreselectionPipeline.h.

◆ ColorObserver

vtkCallbackCommand* vtkSMPreselectionPipeline::ColorObserver
protected

Definition at line 87 of file vtkSMPreselectionPipeline.h.

◆ ConnectionObserver

vtkCallbackCommand* vtkSMPreselectionPipeline::ConnectionObserver
protected

Definition at line 88 of file vtkSMPreselectionPipeline.h.


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