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

implements the device specific code of vtkOpenGLHardwareSelector. More...

#include <vtkOpenGLHardwareSelector.h>

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

Public Types

typedef vtkHardwareSelector Superclass
 
typedef vtkHardwareSelector Superclass
 
- Public Types inherited from vtkHardwareSelector
enum  PassTypes {
  PROCESS_PASS, ACTOR_PASS, COMPOSITE_INDEX_PASS, ID_LOW24,
  ID_MID24, ID_HIGH16, MAX_KNOWN_PASS = ID_HIGH16, MIN_KNOWN_PASS = PROCESS_PASS
}
 
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkOpenGLHardwareSelectorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void EndRenderProp ()
 
virtual int IsA (const char *type)
 
vtkOpenGLHardwareSelectorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void RenderCompositeIndex (unsigned int index)
 
virtual void RenderAttributeId (vtkIdType attribid)
 
virtual void RenderProcessId (unsigned int processid)
 
virtual void BeginRenderProp ()
 
virtual void BeginRenderProp ()
 
virtual void EndRenderProp ()
 
- Public Member Functions inherited from vtkHardwareSelector
vtkHardwareSelectorNewInstance () const
 
vtkSelectionSelect ()
 
int Render (vtkRenderer *renderer, vtkProp **propArray, int propArrayCount)
 
vtkPropGetPropFromID (int id)
 
virtual void SetRenderer (vtkRenderer *)
 
virtual vtkRendererGetRenderer ()
 
virtual void SetArea (unsigned int, unsigned int, unsigned int, unsigned int)
 
virtual void SetArea (unsigned int[4])
 
virtual unsigned intGetArea ()
 
virtual void GetArea (unsigned int &, unsigned int &, unsigned int &, unsigned int &)
 
virtual void GetArea (unsigned int[4])
 
virtual void SetFieldAssociation (int)
 
virtual int GetFieldAssociation ()
 
virtual void SetUseProcessIdFromData (bool)
 
virtual bool GetUseProcessIdFromData ()
 
virtual bool CaptureBuffers ()
 
PixelInformation GetPixelInformation (const unsigned int display_position[2])
 
PixelInformation GetPixelInformation (const unsigned int display_position[2], int maxDist)
 
PixelInformation GetPixelInformation (const unsigned int display_position[2], int maxDist, unsigned int selected_position[2])
 
void ClearBuffers ()
 
virtual void SetProcessID (int)
 
virtual int GetProcessID ()
 
virtual floatGetPropColorValue ()
 
virtual void GetPropColorValue (float &, float &, float &)
 
virtual void GetPropColorValue (float[3])
 
virtual void SetPropColorValue (float, float, float)
 
virtual void SetPropColorValue (float[3])
 
virtual int GetCurrentPass ()
 
virtual vtkSelectionGenerateSelection ()
 
virtual vtkSelectionGenerateSelection (unsigned int r[4])
 
virtual vtkSelectionGenerateSelection (unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2)
 
virtual vtkSelectionGeneratePolygonSelection (int *polygonPoints, vtkIdType count)
 
- 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)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
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 vtkOpenGLHardwareSelectorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLHardwareSelectorSafeDownCast (vtkObjectBase *o)
 
static vtkOpenGLHardwareSelectorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLHardwareSelectorSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkHardwareSelector
static vtkHardwareSelectorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkHardwareSelectorSafeDownCast (vtkObjectBase *o)
 
static void Convert (int id, float tcoord[3])
 
- 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
 
 vtkOpenGLHardwareSelector ()
 
virtual ~vtkOpenGLHardwareSelector ()
 
virtual void BeginRenderProp (vtkRenderWindow *)
 
virtual void EndRenderProp (vtkRenderWindow *)
 
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOpenGLHardwareSelector ()
 
virtual ~vtkOpenGLHardwareSelector ()
 
virtual void BeginRenderProp (vtkRenderWindow *)
 
virtual void EndRenderProp (vtkRenderWindow *)
 
virtual void SavePixelBuffer (int passNo)
 
- Protected Member Functions inherited from vtkHardwareSelector
 vtkHardwareSelector ()
 
 ~vtkHardwareSelector ()
 
int Convert (unsigned long offset, unsigned char *pb)
 
vtkIdType GetID (int low24, int mid24, int high16)
 
virtual bool PassRequired (int pass)
 
bool IsPropHit (int propid)
 
virtual void BeginSelection ()
 
virtual void EndSelection ()
 
void BuildPropHitList (unsigned char *rgbData)
 
int Convert (unsigned int pos[2], unsigned char *pb)
 
int Convert (int xx, int yy, unsigned char *pb)
 
virtual int GetPropID (int idx, vtkProp *vtkNotUsed(prop))
 
void ReleasePixBuffers ()
 
- 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 &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkInternals * Internals
 
- Protected Attributes inherited from vtkHardwareSelector
unsigned char * PixBuffer [10]
 
int ProcessID
 
int CurrentPass
 
int InPropRender
 
int PropID
 
float PropColorValue [3]
 
vtkRendererRenderer
 
unsigned int Area [4]
 
int FieldAssociation
 
bool UseProcessIdFromData
 
vtkIdType MaxAttributeId
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

implements the device specific code of vtkOpenGLHardwareSelector.

Implements the device specific code of vtkOpenGLHardwareSelector.

See also
vtkHardwareSelector

Definition at line 32 of file vtkOpenGLHardwareSelector.h.

Member Typedef Documentation

Definition at line 36 of file vtkOpenGLHardwareSelector.h.

Definition at line 36 of file vtkOpenGLHardwareSelector.h.

Constructor & Destructor Documentation

vtkOpenGLHardwareSelector::vtkOpenGLHardwareSelector ( )
protected
virtual vtkOpenGLHardwareSelector::~vtkOpenGLHardwareSelector ( )
protectedvirtual
vtkOpenGLHardwareSelector::vtkOpenGLHardwareSelector ( )
protected
virtual vtkOpenGLHardwareSelector::~vtkOpenGLHardwareSelector ( )
protectedvirtual

Member Function Documentation

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

Reimplemented in vtkPHardwareSelector.

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

Reimplemented from vtkHardwareSelector.

Reimplemented in vtkPHardwareSelector.

vtkOpenGLHardwareSelector* vtkOpenGLHardwareSelector::NewInstance ( ) const
void vtkOpenGLHardwareSelector::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 vtkHardwareSelector.

Reimplemented in vtkPHardwareSelector.

virtual void vtkOpenGLHardwareSelector::BeginRenderProp ( )
inlinevirtual

Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop.

Reimplemented from vtkHardwareSelector.

Definition at line 42 of file vtkOpenGLHardwareSelector.h.

virtual void vtkOpenGLHardwareSelector::EndRenderProp ( )
inlinevirtual

Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop.

Reimplemented from vtkHardwareSelector.

Definition at line 46 of file vtkOpenGLHardwareSelector.h.

virtual void vtkOpenGLHardwareSelector::BeginRenderProp ( vtkRenderWindow )
protectedvirtual

Implements vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::EndRenderProp ( vtkRenderWindow )
protectedvirtual

Implements vtkHardwareSelector.

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

Reimplemented in vtkPHardwareSelector.

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

Reimplemented from vtkHardwareSelector.

Reimplemented in vtkPHardwareSelector.

vtkOpenGLHardwareSelector* vtkOpenGLHardwareSelector::NewInstance ( ) const
void vtkOpenGLHardwareSelector::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 vtkHardwareSelector.

Reimplemented in vtkPHardwareSelector.

virtual void vtkOpenGLHardwareSelector::BeginRenderProp ( )
virtual

Called by the mapper before and after rendering each prop.

Reimplemented from vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::EndRenderProp ( )
inlinevirtual

Called by the mapper before and after rendering each prop.

Reimplemented from vtkHardwareSelector.

Definition at line 42 of file vtkOpenGLHardwareSelector.h.

virtual void vtkOpenGLHardwareSelector::RenderCompositeIndex ( unsigned int  index)
virtual

Called by any vtkMapper or vtkProp subclass to render a composite-index. Currently indices >= 0xffffff are not supported.

Reimplemented from vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::RenderAttributeId ( vtkIdType  attribid)
virtual

Called by any vtkMapper or vtkProp subclass to render an attribute's id.

Reimplemented from vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::RenderProcessId ( unsigned int  processid)
virtual

Called by any vtkMapper or subclass to render process id. This has any effect when this->UseProcessIdFromData is true.

Reimplemented from vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::BeginRenderProp ( vtkRenderWindow )
protectedvirtual

Implements vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::EndRenderProp ( vtkRenderWindow )
protectedvirtual

Implements vtkHardwareSelector.

virtual void vtkOpenGLHardwareSelector::SavePixelBuffer ( int  passNo)
protectedvirtual

Reimplemented from vtkHardwareSelector.

Member Data Documentation

vtkInternals * vtkOpenGLHardwareSelector::Internals
protected

Definition at line 59 of file vtkOpenGLHardwareSelector.h.


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