View Javadoc

1   /*
2    * @(#) Renderable3DInterface.java May 10, 2004
3    * 
4    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
5    * the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
9    */
10  package nl.tudelft.simulation.dsol.animation.D3;
11  
12  /***
13   * Renderable3DInterface, an interface for 3d renderables <br>
14   * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
15   * University of Technology </a>, the Netherlands. <br>
16   * See for project information <a
17   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
18   * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
19   * License (GPL) </a>, no warranty <br>
20   * 
21   * @version 1.0 10.05.2004 <br>
22   * @author <a href="http://www.tbm.tudelft.nl/webstaf/royc/index.htm">Roy Chin
23   *         </a>
24   */
25  public interface Renderable3DInterface
26  {
27  	/***
28  	 * Static (non dynamic) objects that describe the world or landscape,
29  	 * possibly containing other static or animated objects.
30  	 */
31  	int STATIC_OBJECT = 0;
32  
33  	/*** Simulated objects are objects that move, rotate or change shape */
34  	int DYNAMIC_OBJECT = 1;
35  
36  	/***
37  	 * Update the representation of the model
38  	 */
39  	void update();
40  
41  	/***
42  	 * Get the type.
43  	 * 
44  	 * @return Type of renderable
45  	 */
46  	int getType();
47  }