#include <ivf/IvfSelectComposite.h>
Inheritance diagram for CIvfSelectComposite:
Public Member Functions | |
CIvfSelectComposite () | |
virtual | ~CIvfSelectComposite () |
IvfClassInfo ("CIvfSelectComposite", CIvfComposite) | |
void | setCamera (CIvfView *camera) |
CIvfView * | getCamera () |
CIvfShape * | getSelectedShape () |
void | setRenderCamera (bool flag) |
void | setUseCustomTransform (bool flag) |
GLint | pick (int x, int y) |
void | addChild (CIvfShape *shape) |
CIvfShape * | removeChild (int index) |
CIvfShape * | removeShape (CIvfShape *removeShape) |
void | deleteChild (int index) |
void | renameChildren () |
Protected Member Functions | |
void | processHits (GLint hits, GLuint buffer[]) |
virtual void | endTransform () |
virtual void | beginTransform () |
virtual void | createGeometry () |
virtual void | initializeSelect (int x, int y, int w, int h) |
virtual void | customView () |
This class is used to handle selection in Ivf++.
Definition at line 50 of file IvfSelectComposite.h.
|
Constructor |
|
Destructor |
|
Add child to scene Reimplemented from CIvfComposite. |
|
Start transform Implements a OpenGL transform. This routine should call a glPushMatrix() and then call OpenGL routines transforming the object. The method is the first routine to be called in the render() method. Reimplemented from CIvfShape. Reimplemented in CIvfOldScene. |
|
Forces an object recalculation. Reimplemented from CIvfComposite. Reimplemented in CIvfOldScene. |
|
Deletes a specific shape from the scene Reimplemented from CIvfComposite. |
|
End transform This is the last method called in the render() method. if a glPushMatrix() is called in the beginTransform() a glPopMatrix() should be called in this routine. Reimplemented from CIvfShape. Reimplemented in CIvfOldScene. |
|
Returns the current camera object Reimplemented in CIvfOldScene. |
|
Returns selected shape (NULL if none) |
|
Initiate pick operation The pick operation selects any shapes at the position of the mouse cursor.
|
|
Removes a specific child from the scene Reimplemented from CIvfComposite. |
|
Removes a specific shape from the scene Reimplemented from CIvfComposite. |
|
Set current camera object The camera is used to calculate the intersection of a ray starting at the viewing plane and ending at the XY-plane of the coordinate system object. If the camera object is not referenced it will be deleted. |