public class Track extends Object
Constructor and Description |
---|
Track(List<Color> usedColors) |
Track(String name) |
Track(String name,
Color c) |
Modifier and Type | Method and Description |
---|---|
void |
addMesh(Integer i,
DeformableMesh3D mesh) |
boolean |
containsKey(Integer i) |
boolean |
containsMesh(DeformableMesh3D mesh) |
Color |
getColor() |
Integer |
getFirstFrame() |
int |
getFrame(DeformableMesh3D mesh) |
Integer |
getLastFrame() |
DeformableMesh3D |
getMesh(Integer i) |
String |
getName() |
boolean |
getShowSurface() |
Map<Integer,DeformableMesh3D> |
getTrack()
Legacy method that returns a duplicate map that represents the time vs.
|
boolean |
isEmpty() |
boolean |
isSelected() |
void |
putAll(Map<Integer,DeformableMesh3D> newMeshes) |
void |
remove(DeformableMesh3D mesh) |
void |
setColor(Color c) |
void |
setData(Map<Integer,DeformableMesh3D> data)
For use when reading data from a file.
|
void |
setName(String name) |
void |
setSelected(boolean selected) |
void |
setShowSurface(boolean show) |
int |
size() |
public Track(String name)
public void addMesh(Integer i, DeformableMesh3D mesh)
public boolean containsKey(Integer i)
public Map<Integer,DeformableMesh3D> getTrack()
public DeformableMesh3D getMesh(Integer i)
public boolean isEmpty()
public void remove(DeformableMesh3D mesh)
public Integer getFirstFrame()
public Integer getLastFrame()
public int getFrame(DeformableMesh3D mesh)
public int size()
public boolean containsMesh(DeformableMesh3D mesh)
public String getName()
public void setName(String name)
public void setData(Map<Integer,DeformableMesh3D> data)
data
- public Color getColor()
public void setColor(Color c)
public void setSelected(boolean selected)
public void setShowSurface(boolean show)
public boolean isSelected()
public boolean getShowSurface()
public void putAll(Map<Integer,DeformableMesh3D> newMeshes)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.