]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.g3d.csg/src/org/simantics/g3d/csg/scenegraph2/ICSGnode.java
Using SWT thread with Plant3d
[simantics/3d.git] / org.simantics.g3d.csg / src / org / simantics / g3d / csg / scenegraph2 / ICSGnode.java
1 /*******************************************************************************
2  * Copyright (c) 2012, 2013 Association for Decentralized Information Management in
3  * Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.g3d.csg.scenegraph2;
13
14 import java.util.Collection;
15
16 import org.jcae.opencascade.jni.TopoDS_Shape;
17 import org.simantics.g3d.scenegraph.IG3DNode;
18 import org.simantics.g3d.vtk.common.VtkView;
19
20 import vtk.vtkProp3D;
21
22 public interface ICSGnode extends IG3DNode {
23         
24         
25         public String getName();
26         public void setName(String name);
27         
28         public TopoDS_Shape getBaseGeometry();
29         
30         public TopoDS_Shape getGeometry();
31         
32         
33         public void visualize(VtkView panel);
34         public void stopVisualize();
35         
36         public Collection<vtkProp3D> getActors();
37         
38         public void deattach();
39 }