vtkHardwareSelector subclass with paraview sepecific logic to avoid recapturing buffers unless needed.
More...
#include <vtkPVHardwareSelector.h>
Inherits vtkOpenGLHardwareSelector.
vtkHardwareSelector subclass with paraview sepecific logic to avoid recapturing buffers unless needed.
vtkHardwareSelector is subclass of vtkHardwareSelector that adds logic to reuse the captured buffers as much as possible. Thus avoiding repeated selection-rendering of repeated selections or picking. This class does not know, however, when the cached buffers are invalid. External logic must explicitly calls InvalidateCachedSelection() to ensure that the cache is not reused.
Definition at line 36 of file vtkPVHardwareSelector.h.
§ Superclass
§ vtkPVHardwareSelector()
vtkPVHardwareSelector::vtkPVHardwareSelector |
( |
| ) |
|
|
protected |
§ ~vtkPVHardwareSelector()
vtkPVHardwareSelector::~vtkPVHardwareSelector |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkPVHardwareSelector::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkPVHardwareSelector::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkPVHardwareSelector::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkPVHardwareSelector::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ Select()
vtkSelection* vtkPVHardwareSelector::Select |
( |
int |
region[4] | ) |
|
Overridden to avoid clearing of captured buffers.
§ PolygonSelect()
vtkSelection* vtkPVHardwareSelector::PolygonSelect |
( |
int * |
polygonPoints, |
|
|
vtkIdType |
count |
|
) |
| |
Same as Select() above, except this one use a polygon, instead of a rectangle region, and select elements inside the polygon.
§ NeedToRenderForSelection()
virtual bool vtkPVHardwareSelector::NeedToRenderForSelection |
( |
| ) |
|
|
virtual |
Returns true when the next call to Select() will result in renders to capture the selection-buffers.
§ InvalidateCachedSelection()
void vtkPVHardwareSelector::InvalidateCachedSelection |
( |
| ) |
|
|
inline |
§ AssignUniqueId()
int vtkPVHardwareSelector::AssignUniqueId |
( |
vtkProp * |
| ) |
|
§ SetSynchronizedWindows()
§ BeginRenderProp()
void vtkPVHardwareSelector::BeginRenderProp |
( |
vtkRenderWindow * |
| ) |
|
§ GetPropID()
virtual int vtkPVHardwareSelector::GetPropID |
( |
int |
idx, |
|
|
vtkProp * |
prop |
|
) |
| |
|
protectedvirtual |
Return a unique ID for the prop.
§ PassRequired()
virtual bool vtkPVHardwareSelector::PassRequired |
( |
int |
pass | ) |
|
|
protectedvirtual |
Returns is the pass indicated is needed.
Overridden to report that we always need the process-id pass. In future, we can be smart about it by only requiring it for sessions with more than 1 data-server.
§ PrepareSelect()
bool vtkPVHardwareSelector::PrepareSelect |
( |
| ) |
|
|
protected |
Prepare for selection.
Return false if CaptureBuffers() is false
§ SavePixelBuffer()
virtual void vtkPVHardwareSelector::SavePixelBuffer |
( |
int |
passNo | ) |
|
|
protectedvirtual |
§ CaptureTime
vtkTimeStamp vtkPVHardwareSelector::CaptureTime |
|
protected |
§ UniqueId
int vtkPVHardwareSelector::UniqueId |
|
protected |
§ SynchronizedWindows
The documentation for this class was generated from the following file: