Uses of Class
com.threed.jpct.Object3D

Packages that use Object3D
com.threed.jpct   
com.threed.jpct.util   
 

Uses of Object3D in com.threed.jpct
 

Methods in com.threed.jpct that return Object3D
 Object3D Object3D.cloneObject()
          Clones the current object.
static Object3D Object3D.createDummyObj()
          Static method that creates a dummy Object3D.
static Object3D Primitives.getBox(float scale, float scaleHeight)
          Returns a box (a 3-dimensional rectangle)
static Object3D Primitives.getCone(float scale)
          Returns a cone with 90 faces.
static Object3D Primitives.getCone(int faces, float scale)
          Returns a cone with the given number of faces.
static Object3D Primitives.getCone(int faces, float scale, float scaleHeight)
          Returns a cone with the given number of faces.
static Object3D Primitives.getCube(float scale)
          Returns a cube
static Object3D Primitives.getCylinder(float scale)
          Returns a cylinder with 90 faces.
static Object3D Primitives.getCylinder(int faces, float scale)
          Returns a cylinder with the given number of faces.
static Object3D Primitives.getCylinder(int faces, float scale, float scaleHeight)
          Returns a cylinder with the given number of faces.
static Object3D Primitives.getDoubleCone(float scale)
          Returns a double cone with 90 faces.
static Object3D Primitives.getDoubleCone(int faces, float scale)
          Returns a double cone with the given number of faces.
static Object3D Primitives.getEllipsoid(float scale, float scaleHeight)
          Returns an ellipsoid with 20 faces.
static Object3D Primitives.getEllipsoid(int faces, float scale, float scaleHeight)
          Returns an ellipsoid with he given number of faces.
 Object3D CollisionEvent.getObject()
          Returns the Object3D that has caused the event (i.e. to which this Listener has been added).
 Object3D World.getObject(int id)
          Returns the object with the given ID from the World's object collection.
 Object3D World.getObjectByName(java.lang.String name)
          Returns the object named "name" from the World's object collection.
 Object3D[] Object3D.getParents()
          Returns all parents of this Object3D in an array.
static Object3D Primitives.getPlane(int quads, float scale)
          Returns a plane consisting of (quads^2)*2 polygons each "scale" units in size.
static Object3D Primitives.getPyramide(float scale)
          Returns a pyramide
static Object3D Primitives.getPyramide(float scale, float scaleHeight)
          Returns a pyramide
 Object3D CollisionEvent.getSource()
          Returns the source of the collision, if it's an Object3D (or null otherwise).
static Object3D Primitives.getSphere(float scale)
          Returns a sphere with 20 faces.
static Object3D Primitives.getSphere(int faces, float scale)
          Returns a sphere with the given number of faces.
 Object3D[] CollisionEvent.getTargets()
          Returns the target objects that are involved in this collision.
static Object3D[] Loader.load3DS(java.io.InputStream stream, float scale)
          Loads a file in 3DS-format into an array of objects. 3DS is a 3D-Studio format supported by many converter tools.
static Object3D Loader.loadASC(java.io.InputStream stream, float scale, boolean swap)
          Loads a file in ASC-format into an object.
static Object3D Loader.loadMD2(java.io.InputStream stream, float newScale)
          Loads an object out of a file in MD2-format (Quake2 model format).
static Object3D[] Loader.loadOBJ(java.io.InputStream objStream, java.io.InputStream mtlStream, float scale)
          Loads a file in OBJ-format into an array of objects.
static Object3D Loader.loadSerializedObject(java.io.InputStream is)
          Loads an object in serialized format.
static Object3D[] Loader.loadSerializedObjectArray(java.io.InputStream is)
          Loads an object-array in serialized format.
static Object3D Object3D.mergeAll(Object3D[] objs)
          Merges all objects in the array into one large object.
static Object3D Object3D.mergeObjects(Object3D first, Object3D second)
          Static method that merges two objects into a third one.
 

Methods in com.threed.jpct that return types with arguments of type Object3D
 java.util.Enumeration<Object3D> World.getObjects()
          Returns an Enumeration of all user defined objects in this world.
 

Methods in com.threed.jpct with parameters of type Object3D
 void Object3D.addChild(Object3D obj)
          Defines an object as a child of this.
 int World.addObject(Object3D obj)
          Adds an object to the World's object collection.
 void World.addObjects(Object3D[] objs)
          Adds all objects from the given array to the world.
 void Object3D.addParent(Object3D obj)
          Defines an object as a parent of this. this will inherit all transformations from its parent and no other attributes.
 void Object3D.align(Object3D object)
          Aligns this object with another Object3D.
 void Camera.align(Object3D object)
          Aligns the camera with the (transformed) positive z-axis of an Object3D.
 boolean Object3D.hasChild(Object3D obj)
          Tests an object for being a child object of the current object.
 boolean Object3D.hasParent(Object3D obj)
          Tests an object for being a parent object of the current object.
static Object3D Object3D.mergeAll(Object3D[] objs)
          Merges all objects in the array into one large object.
static Object3D Object3D.mergeObjects(Object3D first, Object3D second)
          Static method that merges two objects into a third one.
static SimpleVector Interact2D.projectCenter3D2D(Camera camera, FrameBuffer buffer, Object3D obj)
          Gets the center of the object in screen-coordinates (2D) by transforming and projecting it from 3D objectspace into 2D screenspace.
static SimpleVector Interact2D.projectCenter3D2D(FrameBuffer buffer, Object3D obj)
          Gets the center of the object in screen-coordinates (2D) by transforming and projecting it from 3D objectspace into 2D screenspace.
 void Object3D.removeChild(Object3D obj)
          Removes an object from the child-collection of this.
 void World.removeObject(Object3D obj)
          Removes the given object from the World's object collection.
 void Object3D.removeParent(Object3D obj)
          Removes an object from the parent-collection of this.
 void IRenderHook.setCurrentObject3D(Object3D obj)
          Sets the currently rendered object.
 void Camera.setPositionToCenter(Object3D object)
          Sets the camera to the position of the transformed center of an Object3D.
 void Object3D.shareCompiledData(Object3D withObj)
          Enables a compiled object to share data with another compiled one.
 void Object3D.shareTextureData(Object3D source)
          In addition to sharing the actual mesh data, you can also make objects share the same texturing information (the actual textures, not the uv-coordinates).
 

Constructors in com.threed.jpct with parameters of type Object3D
Object3D(Object3D obj)
          This constructor works similar to cloneObject() but it allows to extend Object3D and still use the static methods from Loader/Primitives by adding a call to super(Object3D) in the constructor of your class.
Object3D(Object3D obj, boolean reuseMesh)
          This constructor works similar to cloneObject() but it allows to extend Object3D and still use the static methods from Loader/Primitives by adding a call to super(Object3D) in the constructor of your class.
OcTree(Object3D obj, int maxPoly, int mode)
          Builds a new octree from an Object3D.
OcTree(Object3D obj, int maxPoly, int maxDepth, int mode)
          Builds a new octree from an Object3D.
 

Uses of Object3D in com.threed.jpct.util
 

Methods in com.threed.jpct.util that return Object3D
 Object3D Overlay.getObject3D()
          Returns the internal Object3D that is the actual Overlay.