Trees | Index | Help |
|
---|
Module ode :: Class GeomObject |
|
object
--+
|
GeomObject
GeomBox
,
GeomCapsule
,
GeomCylinder
,
GeomPlane
,
GeomRay
,
GeomSphere
,
GeomTransform
,
GeomTriMesh
,
SpaceBase
Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__setattr__('name', value) <==> x.name = value | |
Disable the geom. | |
Enable the geom. | |
6-tuple |
Return an axis aligned bounding box that surrounds the geom. |
Body |
Get the body associated with this geom. |
long |
Return the "category" bitfields for this geom. |
long |
Return the "collide" bitfields for this geom. |
3-tuple |
Get the current position of the geom. |
(w,x,y,z) |
Get the current orientation of the geom. |
9-tuple |
Get the current orientation of the geom. |
Space |
Return the space that the given geometry is contained in, or return None if it is not contained in any space. |
bool |
Return True if the geom is enabled. |
bool |
Return 1 if the given geom is a space, or 0 if not. |
bool |
Returns True if the geom object is a placeable geom. |
Set the body associated with a placeable geom. | |
Set the "category" bitfields for this geom. | |
Set the "collide" bitfields for this geom. | |
Set the position of the geom. | |
Set the orientation of the geom. | |
Set the orientation of the geom. | |
int |
Return the internal id of the geom (dGeomID) as returned by the dCreateXyz() functions. |
Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__delattr__(...)x.__delattr__('name') <==> del x.name
|
__getattribute__(...)x.__getattribute__('name') <==> x.name
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__setattr__(...)x.__setattr__('name', value) <==> x.name = value
|
disable()Disable the geom. |
enable()Enable the geom. |
getAABB()Return an axis aligned bounding box that surrounds the geom. The return value is a 6-tuple (minx, maxx, miny, maxy, minz, maxz).
|
getBody()Get the body associated with this geom.
|
getCategoryBits()Return the "category" bitfields for this geom.
|
getCollideBits()Return the "collide" bitfields for this geom.
|
getPosition()Get the current position of the geom. If the geom is attached to a body the returned value is the body's position.
|
getQuaternion()Get the current orientation of the geom. If the geom is attached to a body the returned value is the body's orientation.
|
getRotation()Get the current orientation of the geom. If the geom is attached to a body the returned value is the body's orientation.
|
getSpace()Return the space that the given geometry is contained in, or return None if it is not contained in any space.
|
isEnabled()Return True if the geom is enabled.
|
isSpace()Return 1 if the given geom is a space, or 0 if not.
|
placeable()Returns True if the geom object is a placeable geom. This method has to be overwritten in derived methods.
|
setBody(body)Set the body associated with a placeable geom.
|
setCategoryBits(bits)Set the "category" bitfields for this geom.
|
setCollideBits(bits)Set the "collide" bitfields for this geom.
|
setPosition(pos)Set the position of the geom. If the geom is attached to a body, the body's position will also be changed.
|
setQuaternion(q)Set the orientation of the geom. If the geom is attached to a body, the body's orientation will also be changed.
|
setRotation(R)Set the orientation of the geom. If the geom is attached to a body, the body's orientation will also be changed.
|
_id()Return the internal id of the geom (dGeomID) as returned by the dCreateXyz() functions. This method has to be overwritten in derived methods.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |