Revision: 563
http://python-ogre.svn.sourceforge.net/python-ogre/?rev=563&view=rev
Author: andy_miller
Date: 2008-02-13 01:28:50 -0800 (Wed, 13 Feb 2008)
Log Message:
-----------
Updates to various module code generation for 1.2 release
Modified Paths:
--------------
trunk/python-ogre/code_generators/bullet/generate_code.py
trunk/python-ogre/code_generators/bullet/python_bullet_aliases.h
trunk/python-ogre/code_generators/nxogre/generate_code.py
trunk/python-ogre/code_generators/nxogre/python_nxogre.h
trunk/python-ogre/code_generators/nxogre/python_nxogre_aliases.h
trunk/python-ogre/code_generators/nxogre_09/customization_data.py
trunk/python-ogre/code_generators/nxogre_09/generate_code.py
trunk/python-ogre/code_generators/nxogre_09/python_nxogre.h
trunk/python-ogre/code_generators/nxogre_09/python_nxogre_aliases.h
trunk/python-ogre/code_generators/nxogre_09/python_nxogre_sizeof.h
trunk/python-ogre/code_generators/ogre/generate_code.py
trunk/python-ogre/code_generators/ogre/hand_made_wrappers.py
trunk/python-ogre/code_generators/opcode/generate_code.py
trunk/python-ogre/code_generators/physx/1
trunk/python-ogre/code_generators/physx/generate_code.py
trunk/python-ogre/code_generators/physx/hand_made_wrappers.py
trunk/python-ogre/code_generators/quickgui/generate_code.py
trunk/python-ogre/code_generators/quickgui/python_quickgui_aliases.h
Modified: trunk/python-ogre/code_generators/bullet/generate_code.py
===================================================================
--- trunk/python-ogre/code_generators/bullet/generate_code.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/bullet/generate_code.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -60,8 +60,13 @@
for m in c.member_functions():
if m.name in excludes:
m.exclude()
- excludes=['::btAlignedObjectArray<int>::expand'
- ,'::btCollisionDispatcher::getNewManifold'
+ excludes=['resize', 'expand'] #needs 'T' changed to native class
+ for c in global_ns.classes():
+ if 'btAlignedObjectArray' in c.name:
+ for m in c.member_functions():
+ if m.name in excludes:
+ m.exclude()
+ excludes=[ '::btCollisionDispatcher::getNewManifold'
,'::btCollisionDispatcher::defaultNearCallback'
,'::btCollisionDispatcher::getInternalManifoldPointer'
,'::btCollisionDispatcher::getNearCallback'
@@ -101,16 +106,16 @@
excludes = ['btAlignedAllocator<btCollisionObject*, 16u>'
# ,'btAlignedAllocator<btCollisionShape*, 16>'
,'btAlignedAllocator<int, 16u>'
+ ,'btAlignedAllocator<float, 16u>'
,'btAlignedAllocator<btPersistentManifold*, 16u>'
,'btAlignedAllocator<btTypedConstraint*, 16u>'
,'btAlignedAllocator<btRaycastVehicle*, 16u>'
-
- ,'btAlignedObjectArray<btIndexedMesh>'
- ,'btAlignedObjectArray<int>'
- ,'btAlignedObjectArray<btQuantizedBvhNode>'
- ,'btAlignedObjectArray<btOptimizedBvhNode>'
- ,'btAlignedObjectArray<btCollisionObject*>'
+# ,'btAlignedObjectArray<btIndexedMesh>'
+# ,'btAlignedObjectArray<int>'
+# ,'btAlignedObjectArray<btQuantizedBvhNode>'
+# ,'btAlignedObjectArray<btOptimizedBvhNode>'
+# ,'btAlignedObjectArray<btCollisionObject*>'
]
for e in excludes:
print "excluding class", e
Modified: trunk/python-ogre/code_generators/bullet/python_bullet_aliases.h
===================================================================
--- trunk/python-ogre/code_generators/bullet/python_bullet_aliases.h 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/bullet/python_bullet_aliases.h 2008-02-13 09:28:50 UTC (rev 563)
@@ -6,6 +6,7 @@
typedef btAlignedObjectArray<btBvhSubtreeInfo> BvhSubtreeInfoArray;
typedef btAlignedAllocator<btWheelInfo, 16> btWheelInfo16;
typedef btAlignedObjectArray<int> IntArray;
+typedef btAlignedObjectArray<float> FloatArray;
typedef btAlignedObjectArray<btVector3> btVector3Array;
typedef btAlignedObjectArray<btRaycastVehicle*> btRaycastVehiclePtrArray;
typedef btAlignedObjectArray<btTypedConstraint*> btTypesConstraintPtrArray;
Modified: trunk/python-ogre/code_generators/nxogre/generate_code.py
===================================================================
--- trunk/python-ogre/code_generators/nxogre/generate_code.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre/generate_code.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -52,6 +52,9 @@
def ManualExclude ( mb ):
global_ns = mb.global_ns
main_ns = global_ns.namespace( MAIN_NAMESPACE )
+ return
+
+
for c in main_ns.classes():
if c.decl_string.startswith('::NxOgre::Container<') and '*' not in c.decl_string:
print "EXCLUDING: ", c
@@ -158,7 +161,7 @@
]
for e in excludes:
print "excluding ", e
- main_ns.member_functions(e).exclude()
+# # # main_ns.member_functions(e).exclude()
## this is probably excessive :)
names = ['_begin','_end', '_atEnd', '_next']
@@ -190,7 +193,7 @@
]
for e in excludes:
print "Excluding", e
- main_ns.class_(e).exclude()
+# # main_ns.class_(e).exclude()
# # #
# # #
## I have a challenge that Py++ doesn't recognise these classes by full name (perhaps because they are structs?)
@@ -207,19 +210,19 @@
print ("Checking:",c.name)
if c.name in excludeName:
print ("SPECIAL excluding ", c.name)
- c.exclude()
+# # c.exclude()
# a temporary fix for container based classes -- still an issue with them though...
# AND this is an overkill -- not all classes need these removed...
- if c.decl_string.startswith ('::NxOgre::Container<'):
- for f in c.member_functions(allow_empty=True):
- if f.name in ['begin','get','next','destroyAndEraseAll','destroyAllOwned','CopyTo']:
- f.exclude()
+# # if c.decl_string.startswith ('::NxOgre::Container<'):
+# # for f in c.member_functions(allow_empty=True):
+# # if f.name in ['begin','get','next','destroyAndEraseAll','destroyAllOwned','CopyTo']:
+# # f.exclude()
### Variables
excludes = ['::NxOgre::WheelSet::mEngine' # desctuctor in WheelSet is protected so can't wrap this..
]
- for e in excludes:
- main_ns.variable(e).exclude()
+# for e in excludes:
+# main_ns.variable(e).exclude()
### Typedefs
excludes = [
@@ -230,15 +233,15 @@
### Operators
excludes=['::NxOgre::Container<std::string, NxOgre::FluidDrain*>::operator[]'
,'::NxOgre::Container<std::string, NxOgre::FluidEmitter*>::operator[]']
- for e in excludes:
- main_ns.operators(e).exclude()
-
+# for e in excludes:
+# main_ns.operators(e).exclude()
+#
### Constructors
- for c in main_ns.class_('::NxOgre::Pose').constructors(): ## these hide the working constructors
- for a in c.arguments:
- if 'NxVec3' in a.type.decl_string or 'NxQuat' in a.type.decl_string:
- c.exclude()
- break
+# # for c in main_ns.class_('::NxOgre::Pose').constructors(): ## these hide the working constructors
+# # for a in c.arguments:
+# # if 'NxVec3' in a.type.decl_string or 'NxQuat' in a.type.decl_string:
+# # c.exclude()
+# # break
# # #
############################################################
@@ -250,6 +253,7 @@
def ManualInclude ( mb ):
global_ns = mb.global_ns
main_ns = global_ns.namespace( MAIN_NAMESPACE )
+ return
# for f in main_ns.member_functions():
# print f
# sys.exit()
@@ -257,7 +261,7 @@
c.include()
for m in c.member_functions():
m.exclude()
- c.member_function('getGlobalPosition').include() ## this is the only function implemented
+# c.member_function('getGlobalPosition').include() ## this is the only function implemented
# # global_ns.namespace( 'Ogre' ).class_('AxisAlignedBox').include(already_exposed=True)
# # global_ns.namespace( 'Ogre' ).class_('Radian').include(already_exposed=True)
@@ -293,6 +297,7 @@
# fix issue where the namespace isn't in the default values
main_ns = global_ns.namespace( MAIN_NAMESPACE )
+ return
for c in main_ns.constructors():
for a in c.arguments:
Modified: trunk/python-ogre/code_generators/nxogre/python_nxogre.h
===================================================================
--- trunk/python-ogre/code_generators/nxogre/python_nxogre.h 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre/python_nxogre.h 2008-02-13 09:28:50 UTC (rev 563)
@@ -1,7 +1,7 @@
#include "NxOgre.h"
-#include "NxOgreSkeleton.h" //missing ??
-#include "NxOgreResourceMesh.h" // not included anywhere by default...
+// // #include "NxOgreSkeleton.h" //missing ??
+// // #include "NxOgreResourceMesh.h" // not included anywhere by default...
#include "Ogre.h"
#include "OgrePlugin.h"
#include <NxPhysics.h>
Modified: trunk/python-ogre/code_generators/nxogre/python_nxogre_aliases.h
===================================================================
--- trunk/python-ogre/code_generators/nxogre/python_nxogre_aliases.h 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre/python_nxogre_aliases.h 2008-02-13 09:28:50 UTC (rev 563)
@@ -11,8 +11,8 @@
PairString;
typedef NxOgre::List<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > ListString;
-typedef NxOgre::List<NxOgre::Blueprints::ActorBlueprint*> ListBlueprints;
-typedef NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&> ContainerShapeBlueprint;
+// typedef NxOgre::List<NxOgre::Blueprints::ActorBlueprint*> ListBlueprints;
+// typedef NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&> ContainerShapeBlueprint;
//typedef NxOgre::Container<std::string, NxOgre::ActorBlueprint> ContainerActorBlueprint;
//typedef NxOgre::Container<NxOgre::Scene::Renderables, float> ContainerSceneRencerables;
typedef std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,float,std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> > >\
@@ -20,7 +20,7 @@
typedef std::map<unsigned, float, std::less<unsigned>, std::allocator<std::pair<unsigned const, float> > >\
MapUnsignedFloat;
typedef std::vector<NxOgre::Scene*, std::allocator<NxOgre::Scene*> > VectorScene;
-typedef std::list<NxOgre::Blueprints::ActorBlueprint*, std::allocator<NxOgre::Blueprints::ActorBlueprint*> > ListBlueprintsActorBlueprint;
+// typedef std::list<NxOgre::Blueprints::ActorBlueprint*, std::allocator<NxOgre::Blueprints::ActorBlueprint*> > ListBlueprintsActorBlueprint;
typedef std::list<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >\
ListPairString;
typedef std::map<std::string, NxOgre::Container<std::string, NxOgre::DominanceGroup*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxOgre::DominanceGroup*>::Containee> > >\
@@ -129,8 +129,8 @@
// MapContainerActorBlueprint;
typedef std::map<std::string, NxOgre::Container<std::string, NxOgre::ForceField*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxOgre::ForceField*>::Containee> > >\
MapContainerForceField;
-typedef std::map<unsigned, NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&>::Containee, std::less<unsigned>, std::allocator<std::pair<unsigned const, NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&>::Containee> > >\
- MapContainerShapeBlueprint;
+// typedef std::map<unsigned, NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&>::Containee, std::less<unsigned>, std::allocator<std::pair<unsigned const, NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&>::Containee> > >\
+// MapContainerShapeBlueprint;
typedef std::vector<unsigned short, std::allocator<unsigned short> > VectorShort;
typedef std::vector<std::pair<Ogre::Vector3, unsigned>, std::allocator<std::pair<Ogre::Vector3, unsigned> > > VectorPairVector3;
typedef std::set<Ogre::Entity*,std::less<Ogre::Entity*>,std::allocator<Ogre::Entity*> > SetEntity;
@@ -140,8 +140,8 @@
typedef std::map<unsigned short, NxOgre::Container<unsigned short, NxOgre::DominanceGroup*>::Containee, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, NxOgre::Container<unsigned short, NxOgre::DominanceGroup*>::Containee> > >\
MapContainerDominanceGroupContainee;
-typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::ShapeBlueprint*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::ShapeBlueprint*>::Containee> > >\
- MapContainerShapeBluePrint;
+// typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::ShapeBlueprint*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::ShapeBlueprint*>::Containee> > >\
+// MapContainerShapeBluePrint;
typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::Machine*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::Machine*>::Containee> > >\
MapContainerMachine;
typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::Wheel*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::Wheel*>::Containee> > >\
Modified: trunk/python-ogre/code_generators/nxogre_09/customization_data.py
===================================================================
--- trunk/python-ogre/code_generators/nxogre_09/customization_data.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre_09/customization_data.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -2,7 +2,7 @@
def header_files( version ):
return [ 'NxOgre.h'
,'NxOgreSkeleton.h'
- ,'NxOgreResourceMesh.h'
+ #,'NxOgreResourceMesh.h'
,'Ogre.h'
,'OgrePlugin.h'
,'NxPhysics.h'
Modified: trunk/python-ogre/code_generators/nxogre_09/generate_code.py
===================================================================
--- trunk/python-ogre/code_generators/nxogre_09/generate_code.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre_09/generate_code.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -53,7 +53,7 @@
global_ns = mb.global_ns
main_ns = global_ns.namespace( MAIN_NAMESPACE )
for c in main_ns.classes():
- if c.decl_string.startswith('::NxOgre::Container<') and '*' not in c.decl_string:
+ if c.decl_string.startswith('::NxOgre::Container<') and '&' in c.decl_string: # '*' not in c.decl_string:
print "EXCLUDING: ", c
c.exclude()
@@ -72,7 +72,7 @@
v.exclude()
print "excluded", v, v.access_type
for t in main_ns.typedefs():
- if t.decl_string.startswith('::NxOgre::Container<') and '*' not in t.decl_string:
+ if t.decl_string.startswith('::NxOgre::Container<') and '&' in t.decl_string:# '*' not in t.decl_string:
t.exclude()
print "EXCLUDING: ", t
@@ -132,29 +132,37 @@
,'::NxOgre::SoftBody::simulate'
,'::NxOgre::SoftBody::render'
- ,'::NxOgre::FileResourceSystem::getStream' # takes ::NxOgre::ResourceIdentifier as argument which needs fixing
- ,'::NxOgre::OgreResourceSystem::getStream'
- ,'::NxOgre::ResourceSystem::getStream'
- ,'::NxOgre::RenderableSource::getStringType' # so we don't need a wrapper as it doesn't compile
- ,'::NxOgre::RenderableSource::getType'
+# # ,'::NxOgre::FileResourceSystem::getStream' # takes ::NxOgre::ResourceIdentifier as argument which needs fixing
+# # ,'::NxOgre::OgreResourceSystem::getStream'
+# ,'::NxOgre::ResourceSystem::getStream'
+# ,'::NxOgre::RenderableSource::getStringType' # so we don't need a wrapper as it doesn't compile
+# ,'::NxOgre::RenderableSource::getType'
,'::NxOgre::UserAllocator::mallocDEBUG'
+#
+# # ,'::NxOgre::Blueprints::ActorFactory' # not implemented, only in header..
+# ,'::NxOgre::ContactStream::getShape'
+# ,'::NxOgre::ContactStream::getPatchNormal'
+# ,'::NxOgre::ContactStream::getPoint'
+# ,'::NxOgre::ContactStream::getNxActor'
+# ,'::NxOgre::ContactStream::getActor'
+# ,'::NxOgre::MemoryStream::skip'
+# ,'::NxOgre::MemoryStream::seek'
+ ,'::NxOgre::WheelSet::createThreeWheelSet'
+ ,'::NxOgre::WheelSet::createSixWheelSet'
+ ,'::NxOgre::WheelSet::attachNewWheel'
+ ,'::NxOgre::Wheel::addEntity'
+ ,'::NxOgre::PhysXDriver::start'
+ ,'::NxOgre::PhysXDriver::stop'
+ ,'::NxOgre::PhysXDriver::hasHardware'
+ ,'::NxOgre::PhysXDriver::reset'
+
+# ,'::NxOgre::WheelSet::setBrakeTorque'
+# ,'::NxOgre::WheelSet::turn'
+# ,'::NxOgre::Material::setDirOfAnisotropy'
+# ,'::NxOgre::OgreNodeRenderable::addSceneNode'
+# # ,'::NxOgre::ResourceStreamPtr::ResourceStreamPtr'
+# ,'::NxOgre::MaterialAlias::generateConversionList'
-# ,'::NxOgre::Blueprints::ActorFactory' # not implemented, only in header..
- ,'::NxOgre::ContactStream::getShape'
- ,'::NxOgre::ContactStream::getPatchNormal'
- ,'::NxOgre::ContactStream::getPoint'
- ,'::NxOgre::ContactStream::getNxActor'
- ,'::NxOgre::ContactStream::getActor'
- ,'::NxOgre::MemoryStream::skip'
- ,'::NxOgre::MemoryStream::seek'
- ,'::NxOgre::WheelSet::setMotorTorque'
- ,'::NxOgre::WheelSet::setBrakeTorque'
- ,'::NxOgre::WheelSet::turn'
- ,'::NxOgre::Material::setDirOfAnisotropy'
- ,'::NxOgre::OgreNodeRenderable::addSceneNode'
-# ,'::NxOgre::ResourceStreamPtr::ResourceStreamPtr'
- ,'::NxOgre::MaterialAlias::generateConversionList'
-
]
for e in excludes:
print "excluding ", e
@@ -177,19 +185,19 @@
## Classes
excludes = [
- 'DistanceJoint' ## constructor issue TOFIX
- ,'JointCallback' ## also no suitable/defaul constructor TOFIX
+# 'DistanceJoint' ## constructor issue TOFIX
+ 'JointCallback' ## also no suitable/defaul constructor TOFIX
,'Character' ## defined in header but not very much implementation
# ,'RenderableSource'
- ,'ResourceManager'
+# ,'ResourceManager'
# ,'ResourceStreamPtr'
,'::NxOgre::Blueprints::ActorFactory'
,'State'
- ,'MeshResource'
+# ,'MeshResource'
,'::NxOgre::Serialiser::SerialiserBase'
]
for e in excludes:
- print "Excluding", e
+ print "Excluding Class:", e
main_ns.class_(e).exclude()
# # #
# # #
@@ -201,6 +209,8 @@
,'List<NxOgre::RemoteDebuggerConnection::Camera>'
,'List<NxOgre::Blueprints::ActorBlueprint*>'
,'Container<std::string, NxOgre::Joint*>'
+ ,'Container<std::string, NxOgre::RayCastHit>'
+# ,'::NxOgre::Container< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, NxOgre::RayCastHit >'
]
for c in main_ns.classes():
# print c.decl_string
@@ -216,15 +226,16 @@
f.exclude()
### Variables
- excludes = ['::NxOgre::WheelSet::mEngine' # desctuctor in WheelSet is protected so can't wrap this..
+ excludes = [ ## '::NxOgre::WheelSet::mEngine' # desctuctor in WheelSet is protected so can't wrap this..
]
for e in excludes:
main_ns.variable(e).exclude()
### Typedefs
- excludes = [
+ excludes = [ '::NxOgre::RayCastReport'
]
for e in excludes:
+ print "Excluding Typedef", e
main_ns.typedefs(e).exclude()
### Operators
Modified: trunk/python-ogre/code_generators/nxogre_09/python_nxogre.h
===================================================================
--- trunk/python-ogre/code_generators/nxogre_09/python_nxogre.h 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre_09/python_nxogre.h 2008-02-13 09:28:50 UTC (rev 563)
@@ -1,7 +1,7 @@
#include "NxOgre.h"
#include "NxOgreSkeleton.h" //missing ??
-#include "NxOgreResourceMesh.h" // not included anywhere by default...
+// #include "NxOgreResourceMesh.h" // not included anywhere by default...
#include "Ogre.h"
#include "OgrePlugin.h"
#include <NxPhysics.h>
Modified: trunk/python-ogre/code_generators/nxogre_09/python_nxogre_aliases.h
===================================================================
--- trunk/python-ogre/code_generators/nxogre_09/python_nxogre_aliases.h 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre_09/python_nxogre_aliases.h 2008-02-13 09:28:50 UTC (rev 563)
@@ -13,6 +13,7 @@
typedef NxOgre::List<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > ListString;
typedef NxOgre::List<NxOgre::Blueprints::ActorBlueprint*> ListBlueprints;
typedef NxOgre::Container<unsigned, NxOgre::ShapeBlueprint const&> ContainerShapeBlueprint;
+typedef NxOgre::Container<unsigned, NxOgre::Wheel*> ContainerWheelPtr;
//typedef NxOgre::Container<std::string, NxOgre::ActorBlueprint> ContainerActorBlueprint;
//typedef NxOgre::Container<NxOgre::Scene::Renderables, float> ContainerSceneRencerables;
typedef std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,float,std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> > >\
@@ -103,12 +104,12 @@
typedef NxOgre::Container<std::string, NxConvexMesh*> NxConvexMeshes;
typedef NxOgre::Container<std::string, NxTriangleMesh*> NxTriangleMeshes;
-typedef NxOgre::Container<std::string, NxOgre::MaterialAlias*> MaterialAliases;
+// typedef NxOgre::Container<std::string, NxOgre::MaterialAlias*> MaterialAliases;
typedef NxOgre::Container<unsigned int, NxTriangleMesh*> NxTriangleMesheInts;
-typedef NxOgre::Container<unsigned int, NxOgre::ResourceSystem*> ResourceSystemInts;
-typedef NxOgre::Container<unsigned int, NxOgre::MaterialAlias*> MaterialAliasInts;
-typedef NxOgre::Container<unsigned int, NxOgre::CharacterMovementModel*> CharacterMovementModelInts;
+// typedef NxOgre::Container<unsigned int, NxOgre::ResourceSystem*> ResourceSystemInts;
+// typedef NxOgre::Container<unsigned int, NxOgre::MaterialAlias*> MaterialAliasInts;
+// typedef NxOgre::Container<unsigned int, NxOgre::CharacterMovementModel*> CharacterMovementModelInts;
// typedef NxOgre::Container<NxOgre::NxString, ::ActorGroup*> ActorGroups;
// typedef NxOgre::Container<NxOgre::NxActorGroup, NxOgre::ActorGroup*> ActorGroupsByIndex;
@@ -142,28 +143,28 @@
typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::ShapeBlueprint*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::ShapeBlueprint*>::Containee> > >\
MapContainerShapeBluePrint;
-typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::Machine*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::Machine*>::Containee> > >\
- MapContainerMachine;
+// typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::Machine*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::Machine*>::Containee> > >\
+// MapContainerMachine;
typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::Wheel*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::Wheel*>::Containee> > >\
MapContainerWheel;
-typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::RenderableSource*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::RenderableSource*>::Containee> > >\
- MapContainerRenderableSource;
+// typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::RenderableSource*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::RenderableSource*>::Containee> > >\
+// MapContainerRenderableSource;
-typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::CharacterMovementModel*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::CharacterMovementModel*>::Containee> > >\
- MapContainerCharacterMovementModel;
-typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::MaterialAlias*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::MaterialAlias*>::Containee> > >\
- MapContainerMaterialAlias;
-typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::ResourceSystem*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::ResourceSystem*>::Containee> > >\
- MapContainerResourceSystem;
+// typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::CharacterMovementModel*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::CharacterMovementModel*>::Containee> > >\
+// MapContainerCharacterMovementModel;
+// typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::MaterialAlias*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::MaterialAlias*>::Containee> > >\
+// MapContainerMaterialAlias;
+// typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxOgre::ResourceSystem*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxOgre::ResourceSystem*>::Containee> > >\
+// MapContainerResourceSystem;
typedef std::map<unsigned int, NxOgre::Container<unsigned int, NxTriangleMesh*>::Containee, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, NxOgre::Container<unsigned int, NxTriangleMesh*>::Containee> > >\
MapContainerNxTriangleMesh;
-typedef std::map<std::string, NxOgre::Container<std::string, NxOgre::MaterialAlias*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxOgre::MaterialAlias*>::Containee> > >\
- MapStringContainerMaterialAlias;
+// typedef std::map<std::string, NxOgre::Container<std::string, NxOgre::MaterialAlias*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxOgre::MaterialAlias*>::Containee> > >\
+// MapStringContainerMaterialAlias;
typedef std::map<std::string, NxOgre::Container<std::string, NxTriangleMesh*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxTriangleMesh*>::Containee> > >\
MapStringContainerNxTriangleMesh;
-typedef std::map<std::string, NxOgre::Container<std::string, NxOgre::CharacterMovementModel*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxOgre::CharacterMovementModel*>::Containee> > >\
- MapStringContainerCharacterMovementModel;
+// typedef std::map<std::string, NxOgre::Container<std::string, NxOgre::CharacterMovementModel*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxOgre::CharacterMovementModel*>::Containee> > >\
+// MapStringContainerCharacterMovementModel;
typedef std::map<std::string, NxOgre::Container<std::string, NxConvexMesh*>::Containee, std::less<std::string>, std::allocator<std::pair<std::string const, NxOgre::Container<std::string, NxConvexMesh*>::Containee> > >\
MapStringContainerNxConvexMesh;
\ No newline at end of file
Modified: trunk/python-ogre/code_generators/nxogre_09/python_nxogre_sizeof.h
===================================================================
--- trunk/python-ogre/code_generators/nxogre_09/python_nxogre_sizeof.h 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/nxogre_09/python_nxogre_sizeof.h 2008-02-13 09:28:50 UTC (rev 563)
@@ -1,4 +1,6 @@
// sizeof ( NxControllersHit );
+sizeof (NxOgre::Container<NxOgre::NxString, NxOgre::RayCastHit>);
+
sizeof ( NxBoxShapeDesc );
sizeof ( NxPlaneShapeDesc );
sizeof ( NxControllerManager );
Modified: trunk/python-ogre/code_generators/ogre/generate_code.py
===================================================================
--- trunk/python-ogre/code_generators/ogre/generate_code.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/ogre/generate_code.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -865,6 +865,15 @@
print "Hand wrapper (as"+r.name+") created to cast from", c.name, "to", r.name ## b.access
break
+def FindProtectedVars ( mb ):
+ global_ns = mb.global_ns
+ main_ns = global_ns.namespace( MAIN_NAMESPACE )
+
+ for c in main_ns.classes():
+ for v in c.variables(allow_empty=True):
+ if v.access_type == 'protected':
+ print "Protected Variable:", v, v.why_not_exportable(), v.exportable
+
#
# the 'main'function
#
@@ -949,6 +958,8 @@
ManualAlias ( mb )
AutoFixes ( mb, MAIN_NAMESPACE )
ManualFixes ( mb )
+
+ FindProtectedVars ( mb )
# # indicated where underlying libraries are protected etc in the doc strings
common_utils.Auto_Document( mb, MAIN_NAMESPACE )
Modified: trunk/python-ogre/code_generators/ogre/hand_made_wrappers.py
===================================================================
--- trunk/python-ogre/code_generators/ogre/hand_made_wrappers.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/ogre/hand_made_wrappers.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -18,7 +18,66 @@
bp::return_value_policy< bp::return_opaque_pointer >());"""
]
+WRAPPER_DEFINITION_MemoryDataStream =\
+"""
+// return the data buffer - can't be handled 'normally' by Py++
+unsigned long MemoryDataStream_data ( ::Ogre::MemoryDataStream & me )
+{
+ return (unsigned long) me.getPtr();
+}
+void MemoryDataStream_setDataList ( ::Ogre::MemoryDataStream & me, boost::python::list listin )
+{
+ Ogre::uchar * data = me.getPtr();
+ size_t maxlen = len ( listin );
+ size_t counter = 0;
+ for (counter=0;counter < maxlen; counter ++ )
+ *data++ = boost::python::extract<Ogre::uchar> (listin[counter]);
+}
+
+void MemoryDataStream_setDataStr ( ::Ogre::MemoryDataStream & me, boost::python::str listin )
+{
+ Ogre::uchar * data = me.getPtr();
+ char const* c_str = boost::python::extract<char const*>(listin);
+ size_t maxlen = len(listin);
+ size_t counter;
+ for (counter=0; counter < maxlen; counter ++ )
+ *data++ = *c_str++;
+}
+
+boost::python::list
+MemoryDataStream_getData(::Ogre::MemoryDataStream & me)
+{
+ boost::python::list outlist;
+ size_t index;
+ Ogre::uchar * data = me.getPtr();
+ size_t size = me.size();
+ for (index=0;index<size;index++ ) {
+ outlist.append ( *data++ );
+ }
+ return outlist;
+}
+"""
+WRAPPER_REGISTRATION_MemoryDataStream = [
+ """def( "getDataPointer", &::MemoryDataStream_data,\\
+ "Python-Ogre Helper Function: Returns the data buffer.\\n\\
+ Input: \\n\\
+ Output: Unsigned Long address of the data buffer");""",
+ """def( "setData", &::MemoryDataStream_setDataList,\\
+ "Python-Ogre Helper Function: Takes a python list and loads it into the memory buffer (as unsigned chars).\\n\\
+ Input: Python List\\n\\
+ Output: None");""",
+ """def( "setData", &::MemoryDataStream_setDataStr,\\
+ "Python-Ogre Helper Function: Takes a python string and loads it into the memory buffer (as unsigned chars).\\n\\
+ Input: Python String\\n\\
+ Output: None");""",
+ """def( "getData", &::MemoryDataStream_getData,\\
+ "Python-Ogre Helper Function: Copies the data buffer to a python list.\\n\\
+ Input: None\\n\\
+ Output: Python List");"""
+ ]
+
+
WRAPPER_WRAPPER_RenderQueueListener =\
"""
virtual void renderQueueEnded( ::Ogre::uint8 queueGroupId, ::Ogre::String const & invocation, bool & repeatThisInvocation ){
@@ -382,6 +441,28 @@
return outlist;
}
+void
+Utility_setUchar(void * ptrin, boost::python::list listin) // unsigned short
+{
+ int index;
+ Ogre::uchar * newptr = reinterpret_cast<Ogre::uchar *>(ptrin);
+ for (index=0;index<len(listin);index++ ) {
+ *newptr++ = boost::python::extract<Ogre::uchar> (listin[index]);
+ }
+}
+
+boost::python::list
+Utility_getUchar(void * ptrin, int size)
+{
+ boost::python::list outlist;
+ int index;
+ Ogre::uchar * newptr = reinterpret_cast<Ogre::uchar *>(ptrin);
+ for (index=0;index<size;index++ ) {
+ outlist.append ( *newptr++ );
+ }
+ return outlist;
+}
+
// sometimes we need to take the ctypess addressof(), an int, and recast it as a general void *
void *
Utility_CastVoidPtr ( unsigned long address )
@@ -488,6 +569,16 @@
Input: void *, size\\n\\
Ouput: Python List\\n\\
The list is populated with ints from memory starting at the pointer" );""",
+ """bp::def( "setUchar", &Utility_setUchar,
+ "Python-Ogre Helper Function: Write Unsigned chars to Memory.\\n\\
+ Input: void *, Python List (numerics)\\n\\
+ Ouput: None\\n\\
+ The list is extracted as unsigned ints and written to memory starting at the pointer" );""",
+ """bp::def( "getUchar", &Utility_getUchar,
+ "Python-Ogre Helper Function: Reads unsigned chars into a python list.\\n\\
+ Input: void *, size\\n\\
+ Ouput: Python List\\n\\
+ The list is populated with ints from memory starting at the pointer" );""",
"""bp::def( "setUint32", &Utility_setUint32,
"Python-Ogre Helper Function: Write Unsigned Ints 32 to Memory.\\n\\
Input: void *, Python List (numerics)\\n\\
@@ -869,6 +960,10 @@
rt.add_declaration_code( WRAPPER_DEFINITION_SceneManager )
apply_reg (rt, WRAPPER_REGISTRATION_SceneManager )
+ rt = mb.class_( 'MemoryDataStream' )
+ rt.add_declaration_code( WRAPPER_DEFINITION_MemoryDataStream )
+ apply_reg (rt, WRAPPER_REGISTRATION_MemoryDataStream )
+
rt = mb.class_( 'ParticleSystem' )
rt.add_declaration_code( WRAPPER_DEFINITION_ParticleSystem )
apply_reg (rt, WRAPPER_REGISTRATION_ParticleSystem )
Modified: trunk/python-ogre/code_generators/opcode/generate_code.py
===================================================================
--- trunk/python-ogre/code_generators/opcode/generate_code.py 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/opcode/generate_code.py 2008-02-13 09:28:50 UTC (rev 563)
@@ -525,15 +525,19 @@
#IceMaths::Quat IceMaths::Matrix3x3::operator ::IceMaths::Quat() const [casting operator]
c = mb.global_ns.namespace ( 'IceMaths').class_('Matrix3x3')
for o in c.operators():
- if 'Quat' in o._decl_string():
+# print o
+# print dir(o)
+# print o.partial_decl_string
+# print o.name
+ if 'Quat' in o.partial_decl_string:
o.exclude()
- print "Excluded Op", o, "\n", o._decl_string()
+ print "Excluded Op", o, "\n", o.partial_decl_string
## OP float const * IceMaths::Point::operator float const *() const [casting operator]
c = mb.global_ns.namespace ( 'IceMaths').class_('Point')
for o in c.operators():
- if 'float const *' in o._decl_string():
+ if 'float const *' in o.partial_decl_string:
o.exclude()
- print "Excluded Op", o, "\n", o._decl_string()
+ print "Excluded Op", o, "\n", o.partial_decl_string
##Spere(udword nb_verts, const Point* verts); Not Implemented
c = mb.global_ns.namespace ( 'IceMaths').class_('Sphere')
for o in c.constructors(arg_types=("::udword","::IceMaths::Point const *") ):
@@ -544,7 +548,7 @@
o.exclude()
for o in c.member_functions():
if len (o.arguments) > 10:
- print "Too Many Arguments - excluded:", o, o._decl_string()
+ print "Too Many Arguments - excluded:", o, o.partial_decl_string
o.exclude()
c = mb.global_ns.namespace ( 'IceMaths').class_('Matrix4x4')
for o in c.casting_operators():
Modified: trunk/python-ogre/code_generators/physx/1
===================================================================
--- trunk/python-ogre/code_generators/physx/1 2008-02-13 09:25:34 UTC (rev 562)
+++ trunk/python-ogre/code_generators/physx/1 2008-02-13 09:28:50 UTC (rev 563)
@@ -0,0 +1,5261 @@
+
+
+INFO Parsing xml file "C:\Development\python-ogre\code_generators\cache\physx_2.7.3_cache.xml" ...
+
+
+INFO GCCXML version - 0.9
+Included Free Function int NxIntFloor(NxF32 const & f) [free function]
+Included Free Function void NxDecomposeVector(NxVec3 & normalCompo, NxVec3 & tangentCompo, NxVec3 const & outwardDir, NxVec3 const & outwardNormal) [free function]
+Included Free Function void NxComputeBarycentricPoint(NxVec3 & pt, NxVec3 const & p0, NxVec3 const & p1, NxVec3 const & p2, float u, float v) [free function]
+Included Free Function void NxSetFPUExceptions(bool b) [free function]
+Included Free Function bool NxSegmentOBBIntersect(NxVec3 const & p0, NxVec3 const & p1, NxVec3 const & center, NxVec3 const & extents, NxMat33 const & rot) [free function]
+Included Free Function extern NxU32 NxGetValue(NxCookingValue cookValue) [free function]
+Included Free Function void NxSetFPURoundingNear() [free function]
+Included Free Function void NxFlexiCopy(void const * src, void * dst, NxU32 nbElem, NxU32 elemSize, NxU32 stride) [free function]
+Included Free Function NxReal NxComputeConeMass(NxReal radius, NxReal length, NxReal density) [free function]
+Included Free Function extern bool NxCookTriangleMesh(NxTriangleMeshDesc const & desc, NxStream & stream) [free function]
+Included Free Function bool NxComputeBoxPoints(NxBox const & box, NxVec3 * pts) [free function]
+Included Free Function NxU32 NxCrc32(void const * buffer, NxU32 nbBytes) [free function]
+Included Free Function void NxComputeSphereInertiaTensor(NxVec3 & diagInertia, NxReal mass, NxReal radius, bool hollow) [free function]
+Included Free Function bool NxSegmentBoxIntersect(NxVec3 const & p1, NxVec3 const & p2, NxVec3 const & bbox_min, NxVec3 const & bbox_max, NxVec3 & intercept) [free function]
+Included Free Function NxF32 NxAngle(NxVec3 const & v0, NxVec3 const & v1) [free function]
+Included Free Function void NxComputeBoxInertiaTensor(NxVec3 & diagInertia, NxReal mass, NxReal xlength, NxReal ylength, NxReal zlength) [free function]
+Included Free Function void NxComputeBoxAroundCapsule(NxCapsule const & capsule, NxBox & box) [free function]
+Included Free Function bool NxRayPlaneIntersect(NxRay const & ray, NxPlane const & plane, NxReal & dist, NxVec3 & pointOnPlane) [free function]
+Included Free Function void NxSegmentCapsuleIntersect(NxSegment const & segment, NxCapsule const & capsule, NxU32 * nbImpacts, NxReal * t) [free function]
+Included Free Function NxReal NxComputeConeDensity(NxReal radius, NxReal length, NxReal mass) [free function]
+Included Free Function bool NxRayTriIntersect(NxVec3 const & orig, NxVec3 const & dir, NxVec3 const & vert0, NxVec3 const & vert1, NxVec3 const & vert2, float & t, float & u, float & v, bool cull) [free function]
+Included Free Function NxReal NxComputeSphereMass(NxReal radius, NxReal density) [free function]
+Included Free Function bool NxRayAABBIntersect(NxVec3 const & min, NxVec3 const & max, NxVec3 const & origin, NxVec3 const & dir, NxVec3 & coord) [free function]
+Included Free Function extern bool NxSetCookingParams(NxCookingParams const & params) [free function]
+Included Free Function void NxComputeBoxWorldEdgeNormal(NxBox const & box, NxU32 edge_index, NxVec3 & world_normal) [free function]
+Included Free Function unsigned int const * NxGetBoxTriangles() [free function]
+Included Free Function void NxFindRotationMatrix(NxVec3 const & x, NxVec3 const & b, NxMat33 & M) [free function]
+Included Free Function void NxMergeSpheres(NxSphere & merged, NxSphere const & sphere0, NxSphere const & sphere1) [free function]
+Included Free Function bool NxBuildSmoothNormals(NxU32 nbTris, NxU32 nbVerts, NxVec3 const * verts, unsigned int const * dFaces, NxU16 const * wFaces, NxVec3 * normals, bool flip=false) [free function]
+Included Free Function NxVec3 const * NxGetBoxLocalEdgeNormals() [free function]
+Included Free Function extern NxCookingParams const & NxGetCookingParams() [free function]
+Included Free Function extern NxFoundationSDK * NxGetFoundationSDK() [free function]
+Included Free Function void NxSegmentPlaneIntersect(NxVec3 const & v1, NxVec3 const & v2, NxPlane const & plane, NxReal & dist, NxVec3 & pointOnPlane) [free function]
+Included Free Function unsigned int const * NxGetBoxEdges() [free function]
+Included Free Function NX_BOOL NxPointTriangleIntersect2D(NxReal px, NxReal pz, NxReal p0x, NxReal p0z, NxReal e10x, NxReal e10z, NxReal e20x, NxReal e20z) [free function]
+Included Free Function extern NxUserAllocator * NxGetPhysicsSDKAllocator() [free function]
+Included Free Function unsigned int const * NxBoxVertexToQuad(NxU32 vertexIndex) [free function]
+Included Free Function NxReal NxComputeEllipsoidDensity(NxVec3 const & extents, NxReal mass) [free function]
+Included Free Function extern bool NxScaleCookedConvexMesh(NxStream const & source, NxReal scale, NxStream & dest) [free function]
+Included Free Function bool NxRaySphereIntersect(NxVec3 const & origin, NxVec3 const & dir, NxReal length, NxVec3 const & center, NxReal radius, NxReal & hit_time, NxVec3 & hit_pos) [free function]
+Included Free Function bool NxFastComputeSphere(NxSphere & sphere, unsigned int nb_verts, NxVec3 const * verts) [free function]
+Included Free Function bool NxComputeBoxPlanes(NxBox const & box, NxPlane * planes) [free function]
+Included Free Function bool NxTriBoxIntersect(NxVec3 const & vertex0, NxVec3 const & vertex1, NxVec3 const & vertex2, NxVec3 const & center, NxVec3 const & extents) [free function]
+Included Free Function extern bool NxCookConvexMesh(NxConvexMeshDesc const & desc, NxStream & stream) [free function]
+Included Free Function extern NxCookingInterface * NxGetCookingLib(NxU32 sdk_version_number) [free function]
+Included Free Function NxI32 const * NxGetBoxEdgesAxes() [free function]
+Included Free Function NxSepAxis NxSeparatingAxis(NxBox const & obb0, NxBox const & obb1, bool fullTest=true) [free function]
+Included Free Function NxSepAxis NxSeparatingAxis(NxVec3 const & extents0, NxVec3 const & center0, NxMat33 const & rotation0, NxVec3 const & extents1, NxVec3 const & center1, NxMat33 const & rotation1, bool fullTest=true) [free function]
+Included Free Function void NxComputeNormalCompo(NxVec3 & normalCompo, NxVec3 const & outwardDir, NxVec3 const & outwardNormal) [free function]
+Included Free Function NxU32 NxRayAABBIntersect2(NxVec3 const & min, NxVec3 const & max, NxVec3 const & origin, NxVec3 const & dir, NxVec3 & coord, NxReal & t) [free function]
+Included Free Function void NxNormalToTangents(NxVec3 const & n, NxVec3 & t1, NxVec3 & t2) [free function]
+Included Free Function void NxSetFPURoundingDown() [free function]
+Included Free Function void NxMakeFatEdge(NxVec3 & p0, NxVec3 & p1, NxF32 fatCoeff) [free function]
+Included Free Function NxU32 NxRayCapsuleIntersect(NxVec3 const & origin, NxVec3 const & dir, NxCapsule const & capsule, NxReal * t) [free function]
+Included Free Function void NxSetFPURoundingUp() [free function]
+Included Free Function NxReal NxComputeEllipsoidMass(NxVec3 const & extents, NxReal density) [free function]
+Included Free Function extern NxUtilLib * NxGetUtilLib() [free function]
+Included Free Function void NxCreateBox(NxBox & box, NxBounds3 const & aabb, NxMat34 const & mat) [free function]
+Included Free Function bool NxSegmentAABBIntersect(NxVec3 const & p0, NxVec3 const & p1, NxVec3 const & min, NxVec3 const & max) [free function]
+Included Free Function NxReal NxComputeCylinderMass(NxReal radius, NxReal length, NxReal density) [free function]
+Included Free Function extern NxCookingInterface * NxGetCookingLibWithID(NxU32 sdk_version_number, char * companyNameStr, char * appNameStr, char * appVersionStr, char * appUserDefinedStr) [free function]
+Included Free Function extern bool NxCreatePMap(NxPMap & pmap, NxTriangleMesh const & mesh, NxU32 density, NxUserOutputStream * outputStream=0) [free function]
+Included Free Function NxBSphereMethod NxComputeSphere(NxSphere & sphere, unsigned int nb_verts, NxVec3 const * verts) [free function]
+Included Free Function int NxIntChop(NxF32 const & f) [free function]
+Included Free Function NX_BOOL NxPointTriangleIntersect(NxVec3 const & p, NxVec3 const & p0, NxVec3 const & edge10, NxVec3 const & edge20) [free function]
+Included Free Function bool NxComputeBoxVertexNormals(NxBox const & box, NxVec3 * pts) [free function]
+Included Free Function extern bool NxCookClothMesh(NxClothMeshDesc const & desc, NxStream & stream) [free function]
+Included Free Function extern void NxReleasePhysicsSDK(NxPhysicsSDK * sdk) [free function]
+Included Free Function extern void NxCloseCooking() [free function]
+Included Free Function bool NxRayOBBIntersect(NxRay const & ray, NxVec3 const & center, NxVec3 const & extents, NxMat33 const & rot) [free function]
+Included Free Function void NxComputeBounds(NxBounds3 & bounds, NxU32 nbVerts, NxVec3 const * verts) [free function]
+Included Free Function void NxComputeBounds(NxVec3 & min, NxVec3 & max, NxU32 nbVerts, NxVec3 const * verts) [free function]
+Included Free Function NxU32 NxNextPowerOfTwo(NxU32 x) [free function]
+Included Free Function extern NxPhysicsSDK * NxCreatePhysicsSDKWithID(NxU32 sdkVersion, char * companyNameStr, char * appNameStr, char * appVersionStr, char * appUserDefinedStr, NxUserAllocator * allocator=0, NxUserOutputStream * outputStream=0, NxPhysicsSDKDesc const & desc=::NxPhysicsSDKDesc( ), NxSDKCreateError * errorCode=0) [free function]
+Included Free Function extern bool NxCookSoftBodyMesh(NxSoftBodyMeshDesc const & desc, NxStream & stream) [free function]
+Included Free Function extern bool NxPlatformMismatch() [free function]
+Included Free Function NxF32 NxComputeSquareDistance(NxSegment const & seg, NxVec3 const & point, NxF32 * t) [free function]
+Included Free Function bool NxBoxContainsPoint(NxBox const & box, NxVec3 const & p) [free function]
+Included Free Function bool NxIsBoxAInsideBoxB(NxBox const & a, NxBox const & b) [free function]
+Included Free Function extern bool NxReleasePMap(NxPMap & pmap) [free function]
+Included Free Function void NxSetFPUPrecision24() [free function]
+Included Free Function void NxComputeCapsuleAroundBox(NxBox const & box, NxCapsule & capsule) [free function]
+Included Free Function void NxSetFPUPrecision53() [free function]
+Included Free Function void NxSetFPUPrecision64() [free function]
+Included Free Function int NxIntCeil(NxF32 const & f) [free function]
+Included Free Function extern bool NxInitCooking(NxUserAllocator * allocator=0, NxUserOutputStream * outputStream=0) [free function]
+Included Free Function NxReal NxComputeBoxMass(NxVec3 const & extents, NxReal density) [free function]
+Included Free Function void NxSetFPURoundingChop() [free function]
+Included Free Function extern void NxReportCooking() [free function]
+Included Free Function void NxComputeTangentCompo(NxVec3 & outwardDir, NxVec3 const & outwardNormal) [free function]
+Included Free Function NxReal NxComputeBoxDensity(NxVec3 const & extents, NxReal mass) [free function]
+Included Free Function NxReal NxComputeCylinderDensity(NxReal radius, NxReal length, NxReal mass) [free function]
+Included Free Function bool NxBoxBoxIntersect(NxBox const & obb0, NxBox const & obb1, bool fullTest=true) [free function]
+Included Free Function bool NxBoxBoxIntersect(NxVec3 const & extents0, NxVec3 const & center0, NxMat33 const & rotation0, NxVec3 const & extents1, NxVec3 const & center1, NxMat33 const & rotation1, bool fullTest) [free function]
+Included Free Function extern NxPhysicsSDK * NxGetPhysicsSDK() [free function]
+Included Free Function unsigned int const * NxGetBoxQuads() [free function]
+Included Free Function extern NxPhysicsSDK * NxCreatePhysicsSDK(NxU32 sdkVersion, NxUserAllocator * allocator=0, NxUserOutputStream * outputStream=0, NxPhysicsSDKDesc const & desc=::NxPhysicsSDKDesc( ), NxSDKCreateError * errorCode=0) [free function]
+Included Free Function NxF32 NxComputeDistanceSquared(NxRay const & ray, NxVec3 const & point, NxF32 * t) [free function]
+Included Free Function bool NxDiagonalizeInertiaTensor(NxMat33 const & denseInertia, NxVec3 & diagonalInertia, NxMat33 & rotation) [free function]
+Included Free Function NxReal NxComputeSphereDensity(NxReal radius, NxReal mass) [free function]
+Included Free Function bool NxSweptSpheresIntersect(NxSphere const & sphere0, NxVec3 const & velocity0, NxSphere const & sphere1, NxVec3 const & velocity1) [free function]
+Excluding static const NxPiF32 [variable]
+Excluding static const NxPiF64 [variable]
+Excluding static const NxHalfPiF32 [variable]
+Excluding static const NxHalfPiF64 [variable]
+Excluding static const NX_NO_HIGH_LIMIT [variable]
+Excluding static const NxTwoPiF32 [variable]
+Excluding static const NxTwoPiF64 [variable]
+Excluding static const NX_NO_LOW_LIMIT [variable]
+Excluding static const NxInvPiF32 [variable]
+Excluding static const NxInvPiF64 [variable]
+excluded NxBitField::FlagRef::bitField [variable] private
+excluded NxBitField::FlagRef::bitIndex [variable] private
+excluded NxBitField::FlagRef::bitField [variable] private
+excluded NxBitField::FlagRef::bitIndex [variable] private
+excluded NxMat33::data [variable] private
+excluded NxActorDescBase::type [variable] protected
+excluded NxDebugRenderable::numPoints [variable] private
+excluded NxDebugRenderable::numLines [variable] private
+excluded NxDebugRenderable::numTriangles [variable] private
+excluded NxDebugRenderable::points [variable] private
+excluded NxDebugRenderable::lines [variable] private
+excluded NxDebugRenderable::triangles [variable] private
+excluded NxJointDesc::type [variable] protected
+excluded NxForceFieldShapeDesc::type [variable] protected
+excluded NxShapeDesc::type [variable] protected
+excluded NxContactStreamIterator::pointNormalForce [variable] protected
+excluded NxContactStreamIterator::stream [variable] protected
+excluded NxContactStreamIterator::numPairs [variable] private
+excluded NxContactStreamIterator::shapes [variable] private
+excluded NxContactStreamIterator::shapeFlags [variable] private
+excluded NxContactStreamIterator::numPatches [variable] private
+excluded NxContactStreamIterator::patchNormal [variable] private
+excluded NxContactStreamIterator::numPoints [variable] private
+excluded NxContactStreamIterator::point [variable] private
+excluded NxContactStreamIterator::separation [variable] private
+excluded NxContactStreamIterator::featureIndex0 [variable] private
+excluded NxContactStreamIterator::featureIndex1 [variable] private
+excluded NxContactStreamIterator::numPairsRemaining [variable] private
+excluded NxContactStreamIterator::numPatchesRemaining [variable] private
+excluded NxContactStreamIterator::numPointsRemaining [variable] private
+excluded NxFluidDescBase::type [variable] protected
+excluded NxArray<NxFluidEmitterDesc, NxAllocatorDefault>::first [variable] private
+excluded NxArray<NxFluidEmitterDesc, NxAllocatorDefault>::last [variable] private
+excluded NxArray<NxFluidEmitterDesc, NxAllocatorDefault>::memEnd [variable] private
+excluded NxArray<NxFluidEmitterDesc, NxAllocatorDefault>::allocator [variable] private
+excluded NxArray<NxShapeDesc*, NxAllocatorDefault>::first [variable] private
+excluded NxArray<NxShapeDesc*, NxAllocatorDefault>::last [variable] private
+excluded NxArray<NxShapeDesc*, NxAllocatorDefault>::memEnd [variable] private
+excluded NxArray<NxShapeDesc*, NxAllocatorDefault>::allocator [variable] private
+excluded NxEffectorDesc::type [variable] protected
+excluding function ::NxArray<NxShapeDesc*, NxAllocatorDefault>::begin
+excluding function ::NxArray<NxFluidEmitterDesc, NxAllocatorDefault>::deleteEntry
+excluding function ::NxArray<NxShapeDesc*, NxAllocatorDefault>::end
+excluding function ::NxCookingInterface::NxCreatePMap
+excluding function ::NxForceField::releaseShape
+excluding function ::NxUtilLib::NxGetBoxEdgesAxes
+excluding function ::NxImplicitScreenMesh::getProjectionMatrix
+excluding function ::NxVec3::get
+excluding function ::NxBitField::rangeToDenseMask
+excluding function ::NxBitField::maskToShift
+NxSweepQueryHit [struct]
+NxBitField [class]
+NxBitField::FlagRef [class]
+NxConvexShapeDesc [class]
+NxMat33 [class]
+NxVec3 [class]
+NxJointLimitPairDesc [class]
+NxWheelShape [class]
+NxActorDescBase [class]
+NxMaterialDesc [class]
+NxRay [class]
+NxPointInPlaneJoint [class]
+NxWheelShapeDesc [class]
+NxMaterial [class]
+NxFluidEmitterDesc [class]
+NxUserRaycastReport [class]
+NxPlaneShape [class]
+_ldiv_t [struct]
+NxExtension [class]
+_Nx3F32 [struct]
+NxSphereShapeDesc [class]
+NxContactPair [class]
+NxSceneLimits [class]
+NxCCDSkeleton [class]
+NxCapsuleForceFieldShapeDesc [class]
+_heapinfo [struct]
+NxMeshData [class]
+NxBox [class]
+tagLC_ID [struct]
+NxEffector [class]
+_exception [struct]
+NxTriangle32 [struct]
+NxPrismaticJointDesc [class]
+NxFluidEmitter [class]
+NxGroupsMask [class]
+NxTriangleMeshShape [class]
+NxDebugRenderable [class]
+NxFixedJoint [class]
+NxBoxForceFieldShape [class]
+NxDebugPoint [struct]
+localeinfo_struct [struct]
+NxSoftBodyDesc [class]
+NxFluid [class]
+_LDOUBLE [struct]
+NxPulleyJointDesc [class]
+NxForceFieldDesc [class]
+NxAllocatorDefault [class]
+NxFluidPacketData [class]
+NxPrismaticJoint [class]
+NxShape [class]
+NxProfileData [class]
+NxPointInPlaneJointDesc [class]
+NxTriangleMeshDesc [class]
+NxSimpleTriangleMesh [class]
+NxSphereShape [class]
+NxSweepCache [class]
+NxAllocateable [class]
+NxJointDesc [class]
+NxUserNotify [class]
+NxPulleyJoint [class]
+NxTask [class]
+NxSoftBodyMesh [class]
+NxForceFieldShapeDesc [class]
+NxFixedJointDesc [class]
+NxPMap [class]
+NxCapsuleShapeDesc [class]
+NxShapeDesc [class]
+_div_t [struct]
+NxPhysicsSDKDesc [class]
+NxUserContactModify [class]
+NxUserContactModify::NxContactCallbackData [struct]
+NxSoftBodySplitPairData [class]
+_CRT_FLOAT [struct]
+NxTireFunctionDesc [class]
+NxPointOnLineJointDesc [class]
+NxTriangle [class]
+NxClothMeshDesc [class]
+NxScene [class]
+NxInterface [class]
+NxCloth [class]
+NxClothMesh [class]
+NxSpringAndDamperEffectorDesc [class]
+NxUserOutputStream [class]
+NxHeightFieldDesc [class]
+NxCapsule [class]
+NxFluidUserNotify [class]
+NxUserWheelContactModify [class]
+NxSphereForceFieldShape [class]
+NxCookingInterface [class]
+NxJoint [class]
+NxContactStreamIterator [class]
+NxSceneQueryDesc [class]
+NxConvexForceFieldShapeDesc [class]
+NxSceneQuery [class]
+NxSphere [class]
+NxBoxShapeDesc [class]
+NxUserScheduler [class]
+NxDistanceJointDesc [class]
+NxHeightField [class]
+NxJointDriveDesc [class]
+NxSphereForceFieldShapeDesc [class]
+NxUserAllocator [class]
+NxSceneStatistic [struct]
+NxClothDesc [class]
+NxPointOnLineJoint [class]
+NxUserContactReport [class]
+NxParticleIdData [class]
+NxBoxForceFieldShapeDesc [class]
+NxFluidDescBase [class]
+NxImplicitScreenMeshDesc [class]
+NxArray<NxFluidEmitterDesc, NxAllocatorDefault> [class]
+NxArray<NxShapeDesc*, NxAllocatorDefault> [class]
+NxPairFlag [class]
+NxDistanceJoint [class]
+NxSphericalJoint [class]
+threadlocaleinfostruct [struct]
+threadlocaleinfostruct [struct]
+NxHeightFieldShape [class]
+NxHeightFieldShapeDesc [class]
+NxImplicitScreenMesh [class]
+NxActorGroupPair [struct]
+NxParticleData [class]
+NxBounds3 [class]
+_complex [struct]
+NxActorPairFilter [class]
+NxCapsuleShape [class]
+NxTriangleMesh [class]
+NxConstraintDominance [struct]
+NxUserEntityReport<NxShape*> [class]
+NxUserEntityReport<unsigned int> [class]
+NxUserEntityReport<NxSweepQueryHit> [class]
+NxWheelContactData [class]
+NxProfilerData [class]
+NxPlaneShapeDesc [class]
+NxQuat [class]
+_LDBL12 [struct]
+NxRevoluteJoint [class]
+NxSceneStats2 [class]
+NxMat34 [class]
+NxJointLimitSoftDesc [class]
+NxHeightFieldSample [struct]
+NxFluidPacket [struct]
+NxForceFieldShape [class]
+NxSpringDesc [class]
+NxActiveTransform [struct]
+NxJointLimitDesc [class]
+NxSceneStats [class]
+NxRevoluteJointDesc [class]
+NxMotorDesc [class]
+NxFluidDesc [class]
+NxDebugTriangle [struct]
+NxRemoteDebuggerEventListener [class]
+NxSegment [class]
+NxCookingParams [struct]
+Nx9Real [class]
+Nx9Real::S [struct]
+Nx9Real [union]
+NxConvexMeshDesc [class]
+_LONGDOUBLE [struct]
+NxFoundationSDK [class]
+NxSceneQueryReport [class]
+NxBodyDesc [class]
+NxConvexMesh [class]
+NxTriangleMeshShapeDesc [class]
+NxSpringAndDamperEffector [class]
+NxCompartment [class]
+NxSoftBodySplitPair [class]
+NxRemoteDebugger [class]
+NxUserTriggerReport [class]
+NxPlane [class]
+NxStream [class]
+NxDebugLine [struct]
+NxParticleUpdateData [class]
+NxD6Joint [class]
+NxUserActorPairFiltering [class]
+NxPhysicsSDK [class]
+NxActor [class]
+_CRT_DOUBLE [struct]
+NxSceneDesc [class]
+NxMath [class]
+NxCylindricalJointDesc [class]
+NxCapsuleForceFieldShape [class]
+NxActorDesc [class]
+NxUtilLib [class]
+NxD6JointDesc [class]
+NxConvexShape [class]
+NxCylindricalJoint [class]
+NxRaycastHit [struct]
+NxCompartmentDesc [class]
+NxSoftBody [class]
+NxConvexForceFieldShape [class]
+NxJointLimitSoftPairDesc [class]
+NxEffectorDesc [class]
+NxBoxShape [class]
+NxSoftBodyMeshDesc [class]
+NxForceField [class]
+NxProfileZone [class]
+NxSphericalJointDesc [class]
+__si_class_type_info_pseudo [struct]
+__class_type_info_pseudo [struct]
+__vmi_class_type_info_pseudo1 [struct]
+__type_info_pseudo [struct]
+__base_class_type_info_pseudo [struct]
+Excluding Class: NxArray<NxShapeDesc*, NxAllocatorDefault>
+Excluding Class: NxArray<NxFluidEmitterDesc, NxAllocatorDefault>
+Excluding: NxReal const * NxVec3::get() const [member function]
+Excluding Operator: NxReal & NxMat33::operator()(int row, int col) [member operator]
+CHECK bool NxTriangleMeshShape::overlapAABBTriangles(NxBounds3 const & bounds, NxU32 flags, NxUserEntityReport<unsigned int> * callback) const [memb...
[truncated message content] |