Point tooltip mode enables the user to inspect points (coordinates, data array values) by hovering the mouse cursor over a point. More...
#include <vtkSMTooltipSelectionPipeline.h>
Public Types | |
typedef vtkSMPreselectionPipeline | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
bool | CanDisplayTooltip (bool &showTooltip) |
Return true if a tooltip can be displayed according to the context, otherwise return false. More... | |
void | Hide (vtkSMRenderViewProxy *view) override |
Re-implemented from vtkSMPreselectionPipeline. More... | |
void | Show (vtkSMSourceProxy *sourceRepresentation, vtkSMSourceProxy *selection, vtkSMRenderViewProxy *view) override |
Re-implemented from vtkSMPreselectionPipeline. More... | |
bool | GetTooltipInfo (int association, std::string &tooltipText) |
Get information about the tooltip to be displayed in a HTML formated string. More... | |
bool | GetTooltipInfo (int association, std::string &tooltipText, std::string &plainTooltipText) |
Get information about the tooltip to be displayed in a HTML formated string. More... | |
![]() | |
void | CopyLabels (vtkSMProxy *representation) |
Copies the labels for interactive selection from the selection labels in the representation parameter. More... | |
virtual vtkSMProxy * | GetSelectionRepresentation () const |
Get/Create the interactive selection representation. More... | |
virtual vtkSMProxy * | GetOrCreateSelectionRepresentation () |
Get/Create the interactive selection representation. More... | |
virtual vtkSMProxy * | CreateSelectionRepresentation (vtkSMSourceProxy *extract, vtkSMRenderViewProxy *view) |
Get/Create the interactive selection representation. More... | |
virtual vtkSMProxy * | CreateSelectionRepresentation (vtkSMSourceProxy *extract) |
Get/Create the interactive selection representation. More... | |
![]() | |
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) |
vtkCommand * | GetCommand (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) |
vtkCommand * | GetCommand (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) |
![]() | |
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 &) |
Protected Member Functions | |
vtkSMTooltipSelectionPipeline () | |
~vtkSMTooltipSelectionPipeline () override | |
void | ClearCache () override |
Re-implemented from vtkSMPreselectionPipeline. More... | |
vtkDataObject * | ConnectPVMoveSelectionToClient (vtkSMSourceProxy *source, unsigned int sourceOutputPort) |
Connect the ClientServerMoveData filter to the pipeline to get the selection on the client side. More... | |
bool | GetCurrentSelectionId (vtkSMRenderViewProxy *view, vtkIdType &selId) |
Get the id of the selected point. More... | |
vtkDataSet * | FindDataSet (vtkDataObject *dataObject, bool &compositeFound, std::string &compositeName) |
Extract dataset from the dataObject, which can be either directly a dataset or a composite dataset containing only one dataset. More... | |
![]() | |
vtkSMPreselectionPipeline () | |
~vtkSMPreselectionPipeline () override | |
vtkSMSourceProxy * | ConnectPVExtractSelection (vtkSMSourceProxy *source, unsigned int sourceOutputPort, vtkSMSourceProxy *selection) |
![]() | |
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 () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkSmartPointer< vtkSMProxy > | DataMover |
vtkIdType | PreviousSelectionId |
bool | SelectionFound |
bool | TooltipEnabled |
![]() | |
vtkSMSourceProxy * | ExtractInteractiveSelection |
vtkSMProxy * | SelectionRepresentation |
vtkWeakPointer< vtkSMRenderViewProxy > | PreviousView |
vtkWeakPointer< vtkSMSourceProxy > | PreviousRepresentation |
vtkCallbackCommand * | ColorObserver |
vtkCallbackCommand * | ConnectionObserver |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
![]() | |
static void | OnColorModified (vtkObject *source, unsigned long eid, void *clientdata, void *calldata) |
static void | ClearCache (vtkObject *source, unsigned long eid, void *clientdata, void *calldata) |
Point tooltip mode enables the user to inspect points (coordinates, data array values) by hovering the mouse cursor over a point.
This is a global object that holds the pipeline for showing the point tooltip mode.
Definition at line 28 of file vtkSMTooltipSelectionPipeline.h.
Definition at line 32 of file vtkSMTooltipSelectionPipeline.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkSMPreselectionPipeline.
Reimplemented from vtkSMPreselectionPipeline.
|
static |
|
overridevirtual |
Reimplemented from vtkSMPreselectionPipeline.
|
static |
|
overridevirtual |
Re-implemented from vtkSMPreselectionPipeline.
Reimplemented from vtkSMPreselectionPipeline.
|
overridevirtual |
Re-implemented from vtkSMPreselectionPipeline.
Reimplemented from vtkSMPreselectionPipeline.
bool vtkSMTooltipSelectionPipeline::CanDisplayTooltip | ( | bool & | showTooltip | ) |
Return true if a tooltip can be displayed according to the context, otherwise return false.
The argument showTooltip is true if the tooltip must be shown, false if the tooltip must be hidden.
bool vtkSMTooltipSelectionPipeline::GetTooltipInfo | ( | int | association, |
std::string & | tooltipText | ||
) |
Get information about the tooltip to be displayed in a HTML formated string.
tooltipText received a HTML formatted string, while plainTooltipText receive a plain text version. Return false if the method failed computing information.
bool vtkSMTooltipSelectionPipeline::GetTooltipInfo | ( | int | association, |
std::string & | tooltipText, | ||
std::string & | plainTooltipText | ||
) |
Get information about the tooltip to be displayed in a HTML formated string.
tooltipText received a HTML formatted string, while plainTooltipText receive a plain text version. Return false if the method failed computing information.
|
overrideprotectedvirtual |
Re-implemented from vtkSMPreselectionPipeline.
Reimplemented from vtkSMPreselectionPipeline.
|
protected |
Connect the ClientServerMoveData filter to the pipeline to get the selection on the client side.
|
protected |
Get the id of the selected point.
|
protected |
Extract dataset from the dataObject, which can be either directly a dataset or a composite dataset containing only one dataset.
|
protected |
Definition at line 90 of file vtkSMTooltipSelectionPipeline.h.
|
protected |
Definition at line 91 of file vtkSMTooltipSelectionPipeline.h.
|
protected |
Definition at line 92 of file vtkSMTooltipSelectionPipeline.h.
|
protected |
Definition at line 93 of file vtkSMTooltipSelectionPipeline.h.