HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SIM_ColliderInfo.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
*/
7
8
#ifndef __SIM_ColliderInfo_h__
9
#define __SIM_ColliderInfo_h__
10
11
#include "
SIM_API.h
"
12
#include <
UT/UT_Array.h
>
13
#include "
SIM_Collider.h
"
14
15
/// This class holds all the information needed by a solver to do collision
16
/// detection for an object.
17
class
SIM_API
SIM_ColliderInfo
18
{
19
public
:
20
SIM_ColliderInfo
();
21
SIM_ColliderInfo
(
const
SIM_ColliderInfo
&
src
);
22
SIM_ColliderInfo
(
SIM_Object
*affector,
23
const
SIM_Collider
*collider,
24
SIM_Collider::SIM_ImpactApplyType
type
,
25
int
priority);
26
~
SIM_ColliderInfo
();
27
28
SIM_Object
*getAffector()
const
;
29
const
SIM_Collider
*getCollider(
SIM_Object
*obj,
const
char
*defaultlabel=0)
const
;
30
SIM_Collider::SIM_ImpactApplyType
getImpactApplyType()
const
;
31
int
getPriority()
const
;
32
33
const
SIM_ColliderInfo
&
operator=
(
const
SIM_ColliderInfo
&src);
34
35
private
:
36
SIM_Object
*myAffector;
37
const
SIM_Collider
*myCollider;
38
SIM_Collider::SIM_ImpactApplyType
myImpactApplyType;
39
int
myPriority;
40
};
41
42
typedef
UT_Array<SIM_ColliderInfo>
SIM_ColliderInfoArray
;
43
44
#endif
45
UT_Array.h
UT_Array< SIM_ColliderInfo >
SIM_ColliderInfo
Definition:
SIM_ColliderInfo.h:17
SIM_API.h
SIM_Collider
Definition:
SIM_Collider.h:34
SIM_Collider::SIM_ImpactApplyType
SIM_ImpactApplyType
Defines the possible affector types when doing collision detection.
Definition:
SIM_Collider.h:56
SIM_Collider.h
nanovdb::operator=
LeafData & operator=(const LeafData &)=delete
SIM_Object
Definition:
SIM_Object.h:33
SIM_API
#define SIM_API
Definition:
SIM_API.h:12
type
type
Definition:
core.h:1059
SIM_ColliderInfoArray
UT_Array< SIM_ColliderInfo > SIM_ColliderInfoArray
Definition:
SIM_ColliderInfo.h:42
src
GLenum src
Definition:
glcorearb.h:1793
SIM
SIM_ColliderInfo.h
Generated on Sat Dec 21 2024 02:48:44 for HDK by
1.8.6