]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.g3d.occ/src/org/simantics/proconf/g3d/occ/geometry/IndexedGeometry.java
Moved 3D plug-ins to /3d/branches/dev.
[simantics/3d.git] / org.simantics.proconf.g3d.occ / src / org / simantics / proconf / g3d / occ / geometry / IndexedGeometry.java
diff --git a/org.simantics.proconf.g3d.occ/src/org/simantics/proconf/g3d/occ/geometry/IndexedGeometry.java b/org.simantics.proconf.g3d.occ/src/org/simantics/proconf/g3d/occ/geometry/IndexedGeometry.java
new file mode 100644 (file)
index 0000000..cf3732d
--- /dev/null
@@ -0,0 +1,81 @@
+/*******************************************************************************\r
+ * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ *     VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.proconf.g3d.occ.geometry;\r
+\r
+\r
+public class IndexedGeometry \r
+{\r
+       private float[] coordinates=new float[0];\r
+       private float[] tcoordinates=new float[0];\r
+    private float[] normals=new float[0];\r
+       private int[] indices = new int[0];\r
+       private float[] colors=new float[0];\r
+               \r
+       public IndexedGeometry()\r
+       {               \r
+       }\r
+       \r
+       \r
+       \r
+       public int[] getIndices()\r
+       {\r
+               return indices;\r
+       }\r
+       \r
+       public float[] getCoordinates()\r
+       {\r
+               return coordinates;\r
+       }\r
+       \r
+       public float[] getTCoordinates()\r
+       {\r
+               return tcoordinates;\r
+       }\r
+       \r
+       \r
+       public void setIndices(int[] value)\r
+       {\r
+               indices=value;\r
+       }\r
+       \r
+       public void setCoordinates(float[] value)\r
+       {\r
+               coordinates=value;\r
+       }\r
+       \r
+       public void setTCoordinates(float[] value)\r
+       {\r
+               tcoordinates=value;\r
+       }\r
+       \r
+       public float[] getColors()\r
+       {\r
+               return colors;\r
+       }\r
+       \r
+       public void setColors(float[] arg)\r
+       {\r
+               colors=arg;\r
+       }\r
+       \r
+\r
+    public float[] getNormals()\r
+    {\r
+        return normals;\r
+    }\r
+    \r
+    public void setNormals(float[] arg)\r
+    {\r
+        normals=arg;\r
+    }\r
+\r
+\r
+}\r