public class MeshTracker extends Object
Constructor and Description |
---|
MeshTracker() |
Modifier and Type | Method and Description |
---|---|
void |
addMesh(int frame,
DeformableMesh3D replacementMesh)
Adds a mesh to the currently selected.
|
void |
addMeshToTrack(int f,
DeformableMesh3D mesh,
Track track) |
void |
addMeshTracks(List<Track> meshes) |
void |
addTrack(Track track) |
void |
clearMeshes() |
Track |
createNewMeshTrack(int frame,
DeformableMesh3D freshMesh)
Creates a new track, adds the provided mesh, adds it to the tracked tracks,
and selects it.
|
List<Track> |
getAllMeshTracks() |
List<DeformableMesh3D> |
getCurrent(int frame) |
DeformableMesh3D |
getSelectedMesh(int frame) |
Track |
getSelectedTrack() |
boolean |
hasSelectedTrack() |
Track |
prepareEmptyTrack() |
List<Track> |
prepareEmptyTracks(int n)
Returns n tracks with a name that is not contained in the current set of tracks names.
|
void |
removeMeshFromTrack(int frame,
DeformableMesh3D mesh,
Track track) |
void |
removeTrack(Track track) |
void |
selectMeshTrack(Track track) |
void |
selectNextTrack() |
void |
selectPreviousTrack() |
void |
selectTrackContainingMesh(DeformableMesh3D mesh)
changes the selected track to the track containing the mesh.
|
public DeformableMesh3D getSelectedMesh(int frame)
public List<DeformableMesh3D> getCurrent(int frame)
public Track getSelectedTrack()
public void clearMeshes()
public boolean hasSelectedTrack()
public void addMesh(int frame, DeformableMesh3D replacementMesh)
frame
- replacementMesh
- public List<Track> prepareEmptyTracks(int n)
public Track prepareEmptyTrack()
public Track createNewMeshTrack(int frame, DeformableMesh3D freshMesh)
frame
- freshMesh
- public void removeMeshFromTrack(int frame, DeformableMesh3D mesh, Track track)
public void removeTrack(Track track)
public void addTrack(Track track)
public void addMeshToTrack(int f, DeformableMesh3D mesh, Track track)
public void selectNextTrack()
public void selectPreviousTrack()
public void selectTrackContainingMesh(DeformableMesh3D mesh)
mesh
- public void selectMeshTrack(Track track)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.