Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
Public Member Functions
irr::scene::IMetaTriangleSelector Class Reference

Interface for making multiple triangle selectors work as one big selector. More...

#include <IMetaTriangleSelector.h>

Inheritance diagram for irr::scene::IMetaTriangleSelector:
irr::scene::ITriangleSelector irr::IReferenceCounted

List of all members.

Public Member Functions

virtual void addTriangleSelector (ITriangleSelector *toAdd)=0
 Adds a triangle selector to the collection of triangle selectors.
virtual void removeAllTriangleSelectors ()=0
 Removes all triangle selectors from the collection.
virtual bool removeTriangleSelector (ITriangleSelector *toRemove)=0
 Removes a specific triangle selector from the collection.
- Public Member Functions inherited from irr::scene::ITriangleSelector
virtual const ISceneNodegetSceneNodeForTriangle (u32 triangleIndex) const =0
 Return the scene node associated with a given triangle.
virtual s32 getTriangleCount () const =0
 Returns amount of all available triangles in this selector.
virtual void getTriangles (core::triangle3df *triangles, s32 arraySize, s32 &outTriangleCount, const core::matrix4 *transform=0) const =0
 Gets the triangles for one associated node.
virtual void getTriangles (core::triangle3df *triangles, s32 arraySize, s32 &outTriangleCount, const core::aabbox3d< f32 > &box, const core::matrix4 *transform=0) const =0
 Gets the triangles for one associated node which lie or may lie within a specific bounding box.
virtual void getTriangles (core::triangle3df *triangles, s32 arraySize, s32 &outTriangleCount, const core::line3d< f32 > &line, const core::matrix4 *transform=0) const =0
 Gets the triangles for one associated node which have or may have contact with a 3d line.
virtual ~ITriangleSelector ()
 Destructor.
- Public Member Functions inherited from irr::IReferenceCounted
bool drop () const
 Drops the object. Decrements the reference counter by one.
const c8getDebugName () const
 Returns the debug name of the object.
s32 getReferenceCount () const
 Get the reference count.
void grab () const
 Grabs the object. Increments the reference counter by one.
 IReferenceCounted ()
 Constructor.
virtual ~IReferenceCounted ()
 Destructor.

Detailed Description

Interface for making multiple triangle selectors work as one big selector.

This is nothing more than a collection of one or more triangle selectors providing together the interface of one triangle selector. In this way, collision tests can be done with different triangle soups in one pass.

Definition at line 20 of file IMetaTriangleSelector.h.


Member Function Documentation

virtual void irr::scene::IMetaTriangleSelector::addTriangleSelector ( ITriangleSelector toAdd)
pure virtual

Adds a triangle selector to the collection of triangle selectors.

Parameters:
toAdd,:Pointer to an triangle selector to add to the list.
virtual void irr::scene::IMetaTriangleSelector::removeAllTriangleSelectors ( )
pure virtual

Removes all triangle selectors from the collection.

virtual bool irr::scene::IMetaTriangleSelector::removeTriangleSelector ( ITriangleSelector toRemove)
pure virtual

Removes a specific triangle selector from the collection.

Parameters:
toRemove,:Pointer to an triangle selector which is in the list but will be removed.
Returns:
True if successful, false if not.

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

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:58:33 by Doxygen (1.8.1)