artofillusion
Class ObjectSet

java.lang.Object
  extended by artofillusion.ObjectSet

public class ObjectSet
extends java.lang.Object

This class represents a named list of objects in a Scene. It is used for storing saved selections.


Constructor Summary
ObjectSet(java.lang.String name, int[] objectIDs)
          Create a new ObjectSet.
ObjectSet(java.lang.String name, ObjectInfo[] objects)
          Create a new ObjectSet.
 
Method Summary
 java.lang.String getName()
          Get the name of this ObjectSet.
 int[] getObjectIDs()
          Get the IDs of all objects in the set.
 java.util.List<ObjectInfo> getObjects(Scene scene)
          Get the objects in the set.
 void setName(java.lang.String name)
          Set the name of this ObjectSet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectSet

public ObjectSet(java.lang.String name,
                 int[] objectIDs)
Create a new ObjectSet.

Parameters:
name - the name of this set
objectIDs - the IDs of all objects to include in the set

ObjectSet

public ObjectSet(java.lang.String name,
                 ObjectInfo[] objects)
Create a new ObjectSet.

Parameters:
name - the name of this set
objects - the objects to include in the set
Method Detail

getName

public java.lang.String getName()
Get the name of this ObjectSet.


setName

public void setName(java.lang.String name)
Set the name of this ObjectSet.


getObjectIDs

public int[] getObjectIDs()
Get the IDs of all objects in the set.


getObjects

public java.util.List<ObjectInfo> getObjects(Scene scene)
Get the objects in the set.



Copyright © 1999-2011 by Peter Eastman.