org.fraid.graphics.utils
Class Model3D
java.lang.Object
org.fraid.graphics.utils.Model3D
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Model3D
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mVertices
public java.util.Vector<DoublePoint3D[]> mVertices
mEdges
public FigureEdge[] mEdges
mTransformedVertices
public transient java.util.Vector<Point3D[]> mTransformedVertices
mTransformedZ
public transient java.util.Vector<double[]> mTransformedZ
mMinX
public transient double mMinX
mMaxX
public transient double mMaxX
mMinY
public transient double mMinY
mMaxY
public transient double mMaxY
mMinZ
public transient double mMinZ
mMaxZ
public transient double mMaxZ
Model3D
public Model3D()
init
public void init()
getVertices
public java.util.Vector getVertices()
getEdges
public FigureEdge[] getEdges()
setVertices
public void setVertices(java.util.Vector<DoublePoint3D[]> aVertices)
setEdges
public void setEdges(FigureEdge[] aEdges)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
saveToStream
public void saveToStream(java.io.OutputStream aStream)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
readFromStream
public static Model3D readFromStream(java.io.InputStream aStream)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.