aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/IMetaTriangleSelector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/IMetaTriangleSelector.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/IMetaTriangleSelector.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/IMetaTriangleSelector.h b/src/others/irrlicht-1.8.1/include/IMetaTriangleSelector.h
new file mode 100644
index 0000000..2cbb385
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/include/IMetaTriangleSelector.h
@@ -0,0 +1,43 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5#ifndef __I_META_TRIANGLE_SELECTOR_H_INCLUDED__
6#define __I_META_TRIANGLE_SELECTOR_H_INCLUDED__
7
8#include "ITriangleSelector.h"
9
10namespace irr
11{
12namespace scene
13{
14
15//! Interface for making multiple triangle selectors work as one big selector.
16/** This is nothing more than a collection of one or more triangle selectors
17providing together the interface of one triangle selector. In this way,
18collision tests can be done with different triangle soups in one pass.
19*/
20class IMetaTriangleSelector : public ITriangleSelector
21{
22public:
23
24 //! Adds a triangle selector to the collection of triangle selectors.
25 /** \param toAdd: Pointer to an triangle selector to add to the list. */
26 virtual void addTriangleSelector(ITriangleSelector* toAdd) = 0;
27
28 //! Removes a specific triangle selector from the collection.
29 /** \param toRemove: Pointer to an triangle selector which is in the
30 list but will be removed.
31 \return True if successful, false if not. */
32 virtual bool removeTriangleSelector(ITriangleSelector* toRemove) = 0;
33
34 //! Removes all triangle selectors from the collection.
35 virtual void removeAllTriangleSelectors() = 0;
36};
37
38} // end namespace scene
39} // end namespace irr
40
41
42#endif
43