|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.modelling.group.editor.viewer.GroupToVtkConverter
public class GroupToVtkConverter
Build-up and manage pre-build pipelines to visualise the MeshMask contained in the given Mesh.
Constructor Summary | |
---|---|
GroupToVtkConverter()
Default constructor. |
Method Summary | |
---|---|
com.artenum.frida.processing.GroupPipeline |
buildUpPipeline(int id,
vtk.vtkUnstructuredGrid inputGrid)
Build-up a complete pipeline for the given group. |
com.artenum.frida.processing.GroupPipeline |
buildUpPipelineWithSmoothedSurface(int id,
vtk.vtkUnstructuredGrid inputGrid)
|
static double[] |
convertColorIntoVtkColor(Color color)
Convert a Java Color object into an array of three normalised double defining the RGB components of the color readable by VTK. |
ArrayList<vtk.vtkUnstructuredGrid> |
exportAllMeshMasks()
|
ArrayList<vtk.vtkUnstructuredGrid> |
exportAllMeshMasksExceptedPolyhedronMasks()
|
List<com.artenum.frida.processing.GroupPipeline> |
exportEdgeMeshMaskPipelineList()
Return a list of pre-built vtk pipelines for the whole list of Edge MeshMask |
List<vtk.vtkUnstructuredGrid> |
exportEdgeMeshMasksList()
EXport the list of Edges MeshMask into a list of vtkUnstructuredGrids. |
com.artenum.frida.processing.GroupPipeline |
exportEdgeMeshMaskToPipeline(com.artenum.penelope.mesh.interfaces.MeshMask<com.artenum.penelope.mesh.interfaces.Edge> edgeMask)
Export the given MeshMask to a vtkDataSet and build-up the corresponding pipeline. |
List<com.artenum.frida.processing.GroupPipeline> |
exportFaceMeshMaskListPipelineList()
Return a list of pre-built vtk pipelines for the whole list of Face MeshMask |
List<vtk.vtkUnstructuredGrid> |
exportFaceMeshMasksList()
Export the list of vtkUnstructuredGrid corresponding to the loaded list of MeshMasks |
com.artenum.frida.processing.GroupPipeline |
exportFaceMeshMaskToPipeline(com.artenum.penelope.mesh.interfaces.MeshMask<com.artenum.penelope.mesh.interfaces.Face> faceMask)
Build-up the pipeline for the given MeshMask. |
vtk.vtkUnstructuredGrid |
exportMesh()
Export the view of the whole mesh. |
List<vtk.vtkUnstructuredGrid> |
exportPolyhedronMaskList()
Export the whole list of PolyhedronMeshMasks. |
List<com.artenum.frida.processing.GroupPipeline> |
exportPolyhedronMaskPipelineList()
Return a list of pre-built vtk pipelines for the whole list of Polyhedron MeshMask |
com.artenum.frida.processing.GroupPipeline |
exportPolyhedronMeshMaskToPipeline(com.artenum.penelope.mesh.interfaces.MeshMask<com.artenum.penelope.mesh.interfaces.Polyhedron> polyhedronMask)
Export the given MeshMask to a vtkDataSet and build-up the corresponding pipeline. |
List<vtk.vtkUnstructuredGrid> |
exportVertexMeshMasksList()
EXport the list of vertices MeshMask into a list of vtkUnstructuredGrids. |
static double[] |
getNextDefaultColor()
Get the next color from the DefaultColro Table. |
static boolean |
initVtkContext()
Initialise the VTK context. |
vtk.vtkActor |
outlineGroup(vtk.vtkUnstructuredGrid inputGrid)
Generate an outline (red box) actor for the given group. |
void |
setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
Set the input mesh. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupToVtkConverter()
Method Detail |
---|
public static boolean initVtkContext()
public void setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
mesh
- - the input mesh.public ArrayList<vtk.vtkUnstructuredGrid> exportAllMeshMasks()
public ArrayList<vtk.vtkUnstructuredGrid> exportAllMeshMasksExceptedPolyhedronMasks()
public vtk.vtkUnstructuredGrid exportMesh()
public List<vtk.vtkUnstructuredGrid> exportPolyhedronMaskList()
public com.artenum.frida.processing.GroupPipeline exportPolyhedronMeshMaskToPipeline(com.artenum.penelope.mesh.interfaces.MeshMask<com.artenum.penelope.mesh.interfaces.Polyhedron> polyhedronMask)
polyhedronMask
-
public List<com.artenum.frida.processing.GroupPipeline> exportPolyhedronMaskPipelineList()
public List<vtk.vtkUnstructuredGrid> exportFaceMeshMasksList()
public com.artenum.frida.processing.GroupPipeline exportFaceMeshMaskToPipeline(com.artenum.penelope.mesh.interfaces.MeshMask<com.artenum.penelope.mesh.interfaces.Face> faceMask)
faceMask
-
public List<com.artenum.frida.processing.GroupPipeline> exportFaceMeshMaskListPipelineList()
public List<vtk.vtkUnstructuredGrid> exportEdgeMeshMasksList()
public com.artenum.frida.processing.GroupPipeline exportEdgeMeshMaskToPipeline(com.artenum.penelope.mesh.interfaces.MeshMask<com.artenum.penelope.mesh.interfaces.Edge> edgeMask)
edgeMask
-
public List<com.artenum.frida.processing.GroupPipeline> exportEdgeMeshMaskPipelineList()
public List<vtk.vtkUnstructuredGrid> exportVertexMeshMasksList()
public com.artenum.frida.processing.GroupPipeline buildUpPipeline(int id, vtk.vtkUnstructuredGrid inputGrid)
id
- inputGrid
-
public com.artenum.frida.processing.GroupPipeline buildUpPipelineWithSmoothedSurface(int id, vtk.vtkUnstructuredGrid inputGrid)
public vtk.vtkActor outlineGroup(vtk.vtkUnstructuredGrid inputGrid)
inputGrid
- - VTK unstructured grid corresponding to the MeshMax of the
group.
public static double[] getNextDefaultColor()
public static double[] convertColorIntoVtkColor(Color color)
color
- - Java Color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |