#include <R3D/MosaicExporter/MosaicExporter.h>
Static Public Member Functions | |
static R3DMosaic::Pointer | ExportMosaic (R3DMosaicExportProperties::Pointer properties) |
Exports the Mosaic to a memory buffer. | |
static R3DMosaic::Pointer | ExportMosaic (R3DMosaicExportProperties::Pointer properties, IDataFile::Pointer mxaDataFile) |
Exports the Mosaic to a memory buffer. | |
static int | ExportMosaicToFile (R3DMosaicExportProperties::Pointer properties, R3DMosaic::Pointer mosaic) |
Exports a mosaic to an image file. | |
static int | WriteTiff (R3DMosaicExportProperties::Pointer properties, R3DMosaic::Pointer mosaic) |
Writes the Extracted Image data to a tiff file. | |
static R3DFrame::Pointer | ComputeWorkingVolume (const std::string &mxaFileName, int32 sliceStart, int32 sliceEnd, IR3DProgress::Pointer prog) |
This method will compute an area that would be valid for all slices where exporting the mosaic for that given area would result in the entire mosaic containing data. |
R3DMosaic::Pointer MosaicExporter::ExportMosaic | ( | R3DMosaicExportProperties::Pointer | properties | ) | [static] |
Exports the Mosaic to a memory buffer.
It is up to the calling program to clean up the memory when finished with it.
properties | Shared Pointer to the Export Properties |
R3DMosaic::Pointer MosaicExporter::ExportMosaic | ( | R3DMosaicExportProperties::Pointer | properties, | |
IDataFile::Pointer | mxaDataFile | |||
) | [static] |
Exports the Mosaic to a memory buffer.
It is up to the calling program to clean up the memory when finished with it.
properties | Shared Pointer to the Export Properties | |
mxaDataFile | A Valid IDataFile Object |
int MosaicExporter::ExportMosaicToFile | ( | R3DMosaicExportProperties::Pointer | properties, | |
R3DMosaic::Pointer | mosaic | |||
) | [static] |
Exports a mosaic to an image file.
properties | The properties of the export | |
mosaic | A smart pointer to the exported mosaic |
int MosaicExporter::WriteTiff | ( | R3DMosaicExportProperties::Pointer | properties, | |
R3DMosaic::Pointer | mosaic | |||
) | [static] |
Writes the Extracted Image data to a tiff file.
properties | The Properties to use for the export | |
mosaic | The R3DMosaic Object to store the raw image and associated properties |
R3DFrame::Pointer MosaicExporter::ComputeWorkingVolume | ( | const std::string & | mxaFileName, | |
int32 | sliceStart, | |||
int32 | sliceEnd, | |||
IR3DProgress::Pointer | prog | |||
) | [static] |
This method will compute an area that would be valid for all slices where exporting the mosaic for that given area would result in the entire mosaic containing data.
This method is helpful when trying to figure out the largest volume that could be rendered without consideration for any rotational effects.
mxaFileName | The name of the input file. |