public final class ExportAsSTL extends DefaultProgressReporter
Constructor and Description |
---|
ExportAsSTL() |
Modifier and Type | Method and Description |
---|---|
void |
writeASCII(java.io.File file,
ij.process.ImageProcessor ip,
double pixelWidth,
double pixelHeight,
boolean saveSides)
Write height image in ASCII variant of STL format.
|
void |
writeASCII(java.io.File file,
ij.process.ImageProcessor ip,
double pixelWidth,
double pixelHeight,
double xOrigin,
double yOrigin,
boolean saveSides)
Write height image in ASCII variant of STL format.
|
void |
writeBinary(java.io.File file,
ij.process.ImageProcessor ip,
double pixelWidth,
double pixelHeight,
boolean saveSides)
Write height image in binary variant of STL format.
|
void |
writeBinary(java.io.File file,
ij.process.ImageProcessor ip,
double pixelWidth,
double pixelHeight,
double xOrigin,
double yOrigin,
boolean saveSides)
Write height image in binary variant of STL format.
|
addProgressListener, currentProgress, notifyProgressListeners, notifyProgressListeners, notifyProgressListeners, removeAllProgressListener, removeProgressListener, setCurrentProgress
public void writeASCII(java.io.File file, ij.process.ImageProcessor ip, double pixelWidth, double pixelHeight, boolean saveSides) throws IJPluginsException
file
- output fileip
- image to be savedpixelWidth
- pixel widthpixelHeight
- pixel heightsaveSides
- should the sides be savedIJPluginsException
- if IO error occurredpublic void writeASCII(java.io.File file, ij.process.ImageProcessor ip, double pixelWidth, double pixelHeight, double xOrigin, double yOrigin, boolean saveSides) throws IJPluginsException
file
- output fileip
- image to be savedpixelWidth
- pixel widthpixelHeight
- pixel heightxOrigin
- X origin in pixelsyOrigin
- y origin in pixelssaveSides
- should the sides be savedIJPluginsException
- if IO error occurredpublic void writeBinary(java.io.File file, ij.process.ImageProcessor ip, double pixelWidth, double pixelHeight, boolean saveSides) throws IJPluginsException
file
- output fileip
- image to be savedpixelWidth
- pixel widthpixelHeight
- pixel heightsaveSides
- should the sides be savedIJPluginsException
- if IO error occurredpublic void writeBinary(java.io.File file, ij.process.ImageProcessor ip, double pixelWidth, double pixelHeight, double xOrigin, double yOrigin, boolean saveSides) throws IJPluginsException
file
- output fileip
- image to be savedpixelWidth
- pixel widthpixelHeight
- pixel heightxOrigin
- X origin in pixelsyOrigin
- y origin in pixelssaveSides
- should the sides be savedIJPluginsException
- if IO error occurred