|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.util.AmiraLandmarkReader
public class AmiraLandmarkReader
A class to read an ascii landmark file exported from Amira
Nested Class Summary | |
---|---|
static class |
AmiraLandmarkReader.AmiraLandmarkFileFilter
|
Constructor Summary | |
---|---|
AmiraLandmarkReader()
|
Method Summary | |
---|---|
static Point3d[] |
read(java.io.Reader reader,
double scale)
Creates an array of 3D points from the landmark data from a Reader |
static Point3d[] |
read(java.lang.String fileName)
Creates an array of 3D points from the landmark data from a file |
static Point3d[] |
read(java.lang.String fileName,
double scale)
Creates an array of 3D points from the landmark data from a file |
static Point3d[][] |
readSets(java.io.Reader reader,
double scale)
Creates an 2D array of 3D points from the landmark data from a Reader |
static Point3d[][] |
readSets(java.lang.String fileName)
Creates an 2D array of 3D points from the landmark data from a file |
static Point3d[][] |
readSets(java.lang.String fileName,
double scale)
Creates an 2D array of 3D points from the landmark data from a file |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmiraLandmarkReader()
Method Detail |
---|
public static Point3d[] read(java.lang.String fileName) throws java.io.IOException
fileName
- path name of the .landmarksAscii file
java.io.IOException
- if this is a problem reading the filepublic static Point3d[][] readSets(java.lang.String fileName) throws java.io.IOException
fileName
- path name of the .landmarksAscii file
java.io.IOException
- if this is a problem reading the filepublic static Point3d[] read(java.lang.String fileName, double scale) throws java.io.IOException
fileName
- path name of the .landmarksAscii filescale
- factor by which node coordinate data should be scaled
java.io.IOException
- if this is a problem reading the filepublic static Point3d[][] readSets(java.lang.String fileName, double scale) throws java.io.IOException
fileName
- path name of the .landmarksAscii filescale
- factor by which node coordinate data should be scaled
java.io.IOException
- if this is a problem reading the filepublic static Point3d[] read(java.io.Reader reader, double scale) throws java.io.IOException
reader
- reader from which to read amira landmark datascale
- factor by which node coordinate data should be scaled
java.io.IOException
- if this is a problem reading the filepublic static Point3d[][] readSets(java.io.Reader reader, double scale) throws java.io.IOException
reader
- reader from which to read amira landmark datascale
- factor by which node coordinate data should be scaled
java.io.IOException
- if this is a problem reading the file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |