|
| virtual void | addTriangleSelector (ITriangleSelector *toAdd)=0 |
| | Adds a triangle selector to the collection of triangle selectors.
|
| |
| virtual bool | removeTriangleSelector (ITriangleSelector *toRemove)=0 |
| | Removes a specific triangle selector from the collection.
|
| |
|
virtual void | removeAllTriangleSelectors ()=0 |
| | Removes all triangle selectors from the collection.
|
| |
|
virtual dcpp::int32_kt | getTriangleCount () const =0 |
| | Get amount of all available triangles in this selector.
|
| |
| virtual void | getTriangles (dcpp::nub::triangle3df *triangles, dcpp::int32_kt arraySize, dcpp::int32_kt &outTriangleCount, const dcpp::nub::matrix4 *transform=0, bool useNodeTransform=true, dcpp::nub::array< SCollisionTriangleRange > *outTriangleInfo=0) const =0 |
| | Gets the triangles for one associated node.
|
| |
| virtual void | getTriangles (dcpp::nub::triangle3df *triangles, dcpp::int32_kt arraySize, dcpp::int32_kt &outTriangleCount, const dcpp::nub::aabbox3df &box, const dcpp::nub::matrix4 *transform=0, bool useNodeTransform=true, dcpp::nub::array< SCollisionTriangleRange > *outTriangleInfo=0) const =0 |
| | Gets the triangles for one associated node which may lie within a specific bounding box.
|
| |
| virtual void | getTriangles (dcpp::nub::triangle3df *triangles, dcpp::int32_kt arraySize, dcpp::int32_kt &outTriangleCount, const dcpp::nub::line3df &line, const dcpp::nub::matrix4 *transform=0, bool useNodeTransform=true, dcpp::nub::array< SCollisionTriangleRange > *outTriangleInfo=0) const =0 |
| | Gets the triangles for one associated node which have or may have contact with a 3d line.
|
| |
| virtual dcpp::uint32_kt | getSelectorCount () const =0 |
| | Get number of TriangleSelectors that are part of this one.
|
| |
| virtual ITriangleSelector * | getSelector (dcpp::uint32_kt index)=0 |
| | Get TriangleSelector based on index based on getSelectorCount.
|
| |
| virtual const ITriangleSelector * | getSelector (dcpp::uint32_kt index) const =0 |
| | Get TriangleSelector based on index based on getSelectorCount.
|
| |
| virtual ISceneNode * | getSceneNodeForTriangle (dcpp::uint32_kt triangleIndex) const =0 |
| | Get scene node associated with a given triangle.
|
| |
|
| IReferenceCounted () |
| | Constructor.
|
| |
|
virtual | ~IReferenceCounted () |
| | Destructor.
|
| |
| void | grab () const |
| | Grabs the object. Increments the reference counter by one.
|
| |
| bool | drop () const |
| | Drops the object. Decrements the reference counter by one.
|
| |
| dcpp::int32_kt | getReferenceCount () const |
| | Get the reference count.
|
| |
| const dcpp::char_kt * | getDebugName () const |
| | Returns the debug name of the object.
|
| |
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.