SoMRCImageRW Class |
Class for encoding and decoding an MRC raster image.
Namespace: OIV.Inventor.Image
The SoMRCImageRW type exposes the following members.
Name | Description | |
---|---|---|
SoMRCImageRW | Constructor. |
Name | Description | |
---|---|---|
CheckRead | Checks if the specified file can be read. | |
Close | Closes the reader/writer. | |
EnableMultipleWriting | Enable writing image with multiple calls to write method. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetReadCapability | Returns the read capability of the raster format. | |
GetSuffixes | Returns the list of file suffixes supported. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWriteCapability | Returns the write capability of the raster format. | |
IsMultipleBufferInverted | Returns the write order when using multiple buffers. | |
IsMultipleWritingEnabled | Returns true if multiple buffer writing is enabled. | |
Open | Opens the reader/writer in the specified open mode. | |
Read(SbRasterImage) | Calls Read(rasterImage, false). (Inherited from SoRasterImageRW.) | |
Read(SbRasterImage, UInt64) | Calls Read(rasterImage, imageIndex, false). | |
Read(SbRasterImage, Boolean) | Read the current open image into rasterImage. | |
Read(SbRasterImage, UInt64, Boolean) | Read the current open image into rasterImage. | |
ReadRegion(SbRasterImage, SbBox2i32) | Read the specified region of current open image into rasterImage. | |
ReadRegion(SbRasterImage, UInt64, SbBox2i32) | Read the specified region of current open image into rasterImage. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(SbRasterImage) | Calls Write(rasterImage, System.UInt32(0), System.UInt32(0)). (Inherited from SoRasterImageRW.) | |
Write(SbRasterImage, UInt32) | Calls Write(rasterImage, xPos, System.UInt32(0)). (Inherited from SoRasterImageRW.) | |
Write(SbRasterImage, UInt32, UInt32) | Writes and encodes the given data in the specific format. | |
WriteFooter | (Inherited from SoRasterImageRW.) | |
WriteHeader(SbVec2i32) | Writes and encodes the header for this specific format. | |
WriteHeader(SbVec2s) | Obsolete. Writes and encodes the header for this specific format. |
This class is used for encoding and decoding a MRC raster image.
MRC is a file format that has become industry standard in cryo-electron microscopy (cryoEM) and electron tomography (ET), where the result of the technique is a three-dimensional grid of voxels each with a value corresponding to electron density or electric potential. It was developed by the MRC (Medical Research Council, UK) Laboratory of Molecular Biology. In 2014, the format was standardised. The format specification is available on the CCP-EM website. For details see: http://www.ccpem.ac.uk/mrc_format/mrc2014.php
The writeCapability is WRITE_UNAVAILABLE and isMultipleBufferInverted is true.
See OIV.Inventor.Image.SoRasterImageRW for more information and code examples.
NOTE: Class available since Open Inventor 10.4.