14 #ifndef PHYSXFORCEFIELDSHAPE_H 15 #define PHYSXFORCEFIELDSHAPE_H 39 void set_name(
const char *name);
40 void set_mat(
const LMatrix4f &mat);
41 void set_pos(
const LPoint3f &pos);
43 const char *get_name()
const;
44 LMatrix4f get_mat()
const;
45 LPoint3f get_pos()
const;
47 INLINE
void ls()
const;
48 INLINE
void ls(std::ostream &out,
int indent_level=0)
const;
53 virtual NxForceFieldShape *ptr()
const = 0;
55 virtual void link(NxForceFieldShape *shapePtr) = 0;
56 virtual void unlink() = 0;
68 static void init_type() {
69 PhysxObject::init_type();
71 PhysxObject::get_class_type());
74 return get_class_type();
78 return get_class_type();
87 #endif // PHYSXFORCEFIELDSHAPE_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for force field shapes.
This class exists just to provide scoping for the enums shared by PhysX classes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.