|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectio.visualize.MatchingViewer3DPanel
public class MatchingViewer3DPanel
Visualizing a 3D matching result with VTK. Used in the matching GUI.
| Field Summary | |
|---|---|
private Config |
config
holding config parameters |
private CleanMatchingResult |
result
the matching result |
| Constructor Summary | |
|---|---|
MatchingViewer3DPanel(CleanMatchingResult result,
Config config)
Creating a new instance. |
|
| Method Summary | |
|---|---|
java.util.List<vtk.vtkActor> |
changeWindowPanel(vtk.vtkRenderWindowPanel renderWindowPanel,
java.util.List<vtk.vtkActor> toBeRemoved)
Update the window panel. |
private vtk.vtkActor |
createLineActor(Index index1,
Index index2,
Dimensions dim1,
Dimensions dim2,
int offset)
Create a vtkActor for a line. |
private vtk.vtkActor |
createSkeletonActor(int[][][] cube,
SkeletonObject so)
Create a skeleton actor from the 3D thinning cube. |
private vtk.vtkActor |
createSurfaceActor(SkeletonObject so)
Create an actor for the volume's surface. |
private int[][][] |
SkeletonTo3DArray(SkeletonObject so)
Create a 3D cube from the specified skeleton. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private CleanMatchingResult result
private Config config
| Constructor Detail |
|---|
public MatchingViewer3DPanel(CleanMatchingResult result,
Config config)
result - the matching result to be visualizedconfig - holding config parameters| Method Detail |
|---|
private vtk.vtkActor createLineActor(Index index1,
Index index2,
Dimensions dim1,
Dimensions dim2,
int offset)
index1 - the index of the starting point of the lineindex2 - the index of the end point of the linedim1 - the dimensions of the first skeleton object to be visualizeddim2 - the dimensions of the second skeleton object to be visualizedoffset - the offset between the two skeleton objects
private int[][][] SkeletonTo3DArray(SkeletonObject so)
so - the skeleton object to be encoded in 3d array
private vtk.vtkActor createSkeletonActor(int[][][] cube,
SkeletonObject so)
cube - the thinning cubeso - the skeleton object
private vtk.vtkActor createSurfaceActor(SkeletonObject so)
so - the skeleton object to be visualized
public java.util.List<vtk.vtkActor> changeWindowPanel(vtk.vtkRenderWindowPanel renderWindowPanel,
java.util.List<vtk.vtkActor> toBeRemoved)
renderWindowPanel - the panel to be updatedtoBeRemoved - a list of actors that must be removed from the previous
iteration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||