Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ITriangleSelector.h
Go to the documentation of this file.
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_TRIANGLE_SELECTOR_H_INCLUDED__
6
#define __I_TRIANGLE_SELECTOR_H_INCLUDED__
7
8
#include "
IReferenceCounted.h
"
9
#include "
triangle3d.h
"
10
#include "
aabbox3d.h
"
11
#include "
matrix4.h
"
12
#include "
line3d.h
"
13
14
namespace
irr
15
{
16
namespace
scene
17
{
18
19
class
ISceneNode;
20
22
28
class
ITriangleSelector
:
public
virtual
IReferenceCounted
29
{
30
public
:
31
33
virtual
s32
getTriangleCount
()
const
= 0;
34
36
50
virtual
void
getTriangles
(
core::triangle3df
* triangles,
s32
arraySize,
51
s32
& outTriangleCount,
const
core::matrix4
* transform=0)
const
= 0;
52
54
73
virtual
void
getTriangles
(
core::triangle3df
* triangles,
s32
arraySize,
74
s32
& outTriangleCount,
const
core::aabbox3d<f32>
& box,
75
const
core::matrix4
* transform=0)
const
= 0;
76
78
97
virtual
void
getTriangles
(
core::triangle3df
* triangles,
s32
arraySize,
98
s32
& outTriangleCount,
const
core::line3d<f32>
& line,
99
const
core::matrix4
* transform=0)
const
= 0;
100
102
110
virtual
ISceneNode
*
getSceneNodeForTriangle
(
u32
triangleIndex)
const
= 0;
111
113
115
virtual
u32
getSelectorCount
()
const
= 0;
116
118
120
virtual
ITriangleSelector
*
getSelector
(
u32
index) = 0;
121
123
125
virtual
const
ITriangleSelector
*
getSelector
(
u32
index)
const
= 0;
126
};
127
128
}
// end namespace scene
129
}
// end namespace irr
130
131
#endif
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Thu Apr 2 2020 05:59:48 for Irrlicht 3D Engine by
Doxygen
1.8.1.2