/* (non-Javadoc)
* @see ca.eandb.jmist.framework.SceneElement#getBoundingBox(int)
*/
public Box3 getBoundingBox(int index) {
BoundingBoxBuilder3 builder = new BoundingBoxBuilder3();
Box3 childBoundingBox = geometry.getBoundingBox(index);
for (int i = 0; i < 8; i++) {
builder.add(this.model.apply(childBoundingBox.corner(i)));
}
return builder.getBoundingBox();
}