public class AmiraLandmarkReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AmiraLandmarkReader.AmiraLandmarkFileFilter |
Constructor and Description |
---|
AmiraLandmarkReader() |
Modifier and Type | Method and Description |
---|---|
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
|
public static Point3d[] read(java.lang.String fileName) throws java.io.IOException
fileName
- path name of the .landmarksAscii filejava.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 filejava.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 scaledjava.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 scaledjava.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 scaledjava.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 scaledjava.io.IOException
- if this is a problem reading the file