code: public void initialize( int totalCameras , int totalViews , int totalPoints , int totalRigid ) {
  		cameras = new Camera[totalCameras];
  		views = new View[totalViews];
  		points = new Point[totalPoints];
  		rigids = new Rigid[totalRigid];
  
  		for (int i = 0; i < cameras.length; i++) {
  			cameras[i] = new Camera();
  		}
  		for (int i = 0; i < views.length; i++) {
  			views[i] = new View();
  		}
  		for (int i = 0; i < points.length; i++) {
  			points[i] = new Point(pointSize);
  		}
  
  		for (int i = 0; i < rigids.length; i++) {
  			rigids[i] = new Rigid();
  		}
  		// forget old assignments
  		lookupRigid = null;
  	}
docs: Call this function first. Specifies number of each type of data which is available.
  
  @param totalCameras Number of cameras
  @param totalViews Number of views
  @param totalPoints Number of points
  @param totalRigid Number of rigid objects