VTK
|
implements the device specific code of vtkOpenGLHardwareSelector. More...
#include <vtkOpenGLHardwareSelector.h>
Public Types | |
typedef vtkHardwareSelector | Superclass |
typedef vtkHardwareSelector | Superclass |
![]() | |
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 |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkOpenGLHardwareSelector * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | EndRenderProp () |
virtual int | IsA (const char *type) |
vtkOpenGLHardwareSelector * | NewInstance () 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 () |
![]() | |
vtkHardwareSelector * | NewInstance () const |
vtkSelection * | Select () |
int | Render (vtkRenderer *renderer, vtkProp **propArray, int propArrayCount) |
vtkProp * | GetPropFromID (int id) |
virtual void | SetRenderer (vtkRenderer *) |
virtual vtkRenderer * | GetRenderer () |
virtual void | SetArea (unsigned int, unsigned int, unsigned int, unsigned int) |
virtual void | SetArea (unsigned int[4]) |
virtual unsigned int * | GetArea () |
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 float * | GetPropColorValue () |
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 vtkSelection * | GenerateSelection () |
virtual vtkSelection * | GenerateSelection (unsigned int r[4]) |
virtual vtkSelection * | GenerateSelection (unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2) |
virtual vtkSelection * | GeneratePolygonSelection (int *polygonPoints, vtkIdType count) |
![]() | |
vtkObject * | NewInstance () 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) |
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 *) |
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) |
![]() | |
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 vtkOpenGLHardwareSelector * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLHardwareSelector * | SafeDownCast (vtkObjectBase *o) |
static vtkOpenGLHardwareSelector * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLHardwareSelector * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkHardwareSelector * | New () |
static int | IsTypeOf (const char *type) |
static vtkHardwareSelector * | SafeDownCast (vtkObjectBase *o) |
static void | Convert (int id, float tcoord[3]) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLHardwareSelector () | |
virtual | ~vtkOpenGLHardwareSelector () |
virtual void | BeginRenderProp (vtkRenderWindow *) |
virtual void | EndRenderProp (vtkRenderWindow *) |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLHardwareSelector () | |
virtual | ~vtkOpenGLHardwareSelector () |
virtual void | BeginRenderProp (vtkRenderWindow *) |
virtual void | EndRenderProp (vtkRenderWindow *) |
virtual void | SavePixelBuffer (int passNo) |
![]() | |
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 () |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
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 | |
vtkInternals * | Internals |
![]() | |
unsigned char * | PixBuffer [10] |
int | ProcessID |
int | CurrentPass |
int | InPropRender |
int | PropID |
float | PropColorValue [3] |
vtkRenderer * | Renderer |
unsigned int | Area [4] |
int | FieldAssociation |
bool | UseProcessIdFromData |
vtkIdType | MaxAttributeId |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
implements the device specific code of vtkOpenGLHardwareSelector.
Implements the device specific code of vtkOpenGLHardwareSelector.
Definition at line 32 of file vtkOpenGLHardwareSelector.h.
Definition at line 36 of file vtkOpenGLHardwareSelector.h.
Definition at line 36 of file vtkOpenGLHardwareSelector.h.
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
static |
|
static |
|
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 |
|
protectedvirtual |
Reimplemented from vtkHardwareSelector.
Reimplemented in vtkPHardwareSelector.
vtkOpenGLHardwareSelector* vtkOpenGLHardwareSelector::NewInstance | ( | ) | const |
|
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.
|
inlinevirtual |
Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop.
Reimplemented from vtkHardwareSelector.
Definition at line 42 of file vtkOpenGLHardwareSelector.h.
|
inlinevirtual |
Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop.
Reimplemented from vtkHardwareSelector.
Definition at line 46 of file vtkOpenGLHardwareSelector.h.
|
protectedvirtual |
Implements vtkHardwareSelector.
|
protectedvirtual |
Implements vtkHardwareSelector.
|
static |
|
static |
|
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 |
|
protectedvirtual |
Reimplemented from vtkHardwareSelector.
Reimplemented in vtkPHardwareSelector.
vtkOpenGLHardwareSelector* vtkOpenGLHardwareSelector::NewInstance | ( | ) | const |
|
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 |
Called by the mapper before and after rendering each prop.
Reimplemented from vtkHardwareSelector.
|
inlinevirtual |
Called by the mapper before and after rendering each prop.
Reimplemented from vtkHardwareSelector.
Definition at line 42 of file vtkOpenGLHardwareSelector.h.
|
virtual |
Called by any vtkMapper or vtkProp subclass to render a composite-index. Currently indices >= 0xffffff are not supported.
Reimplemented from vtkHardwareSelector.
|
virtual |
Called by any vtkMapper or vtkProp subclass to render an attribute's id.
Reimplemented from vtkHardwareSelector.
|
virtual |
Called by any vtkMapper or subclass to render process id. This has any effect when this->UseProcessIdFromData is true.
Reimplemented from vtkHardwareSelector.
|
protectedvirtual |
Implements vtkHardwareSelector.
|
protectedvirtual |
Implements vtkHardwareSelector.
|
protectedvirtual |
Reimplemented from vtkHardwareSelector.
|
protected |
Definition at line 59 of file vtkOpenGLHardwareSelector.h.