SoFileDataAdapter Class |
Image data adapter for data in a file.
Namespace: OIV.ImageViz.Nodes.Images
The SoFileDataAdapter type exposes the following members.
Name | Description | |
---|---|---|
SoFileDataAdapter | Default constructor. |
Name | Description | |
---|---|---|
CopyFieldValues(SoFieldContainer) | Calls CopyFieldValues(fc, false). (Inherited from SoFieldContainer.) | |
CopyFieldValues(SoFieldContainer, Boolean) | Copies the contents of fc's fields into this object's fields. | |
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
EnableNotify | Notification at this Field Container is enabled (if flag == true) or disabled (if flag == false). | |
Equals | (Inherited from Object.) | |
FieldsAreEqual | Returns true if this object's fields are exactly equal to fc's fields. | |
Get | Returns the values of the fields of this object in the Open Inventor ASCII file format in the given string. | |
GetAllFields | Returns a list of fields, including the eventIn's and eventOut's. | |
GetColumnDirection | Returns the vector in physical coordinate that points from the origin (0,0,0) to the point (0,1,0). | |
GetDataAccessor | Returns an OIV.ImageViz.SbImageDataAccessor. | |
GetEventIn | Returns a the eventIn with the given name. | |
GetEventOut | Returns the eventOut with the given name. | |
GetExtent | Returns the extent of the image in 3D. | |
GetField | Returns a the field of this object whose name is fieldName. | |
GetFieldName | Returns the name of the given field in the fieldName argument. | |
GetFields | Appends references to all of this object's fields to resultList, and returns the number of fields appended. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetImageDataType | Returns the data type of the image. | |
GetIndexToPhysicalTransformation | Returns the transformation that maps a position in the image coordinate system to a position in the physical coordinate system. | |
GetInterpretation | Returns the current interpretation of the image. | |
GetName | Returns the name of an instance. | |
GetOrigin | Returns the image origin in 3D. | |
GetPlaneDirection | Returns the vector in physical coordinate that points from the origin (0,0,0) to the point (0,0,1). | |
GetRowDirection | Returns the vector in physical coordinate that points from the origin (0,0,0) to the point (1,0,0). | |
GetSize | Returns a vector representing the dimensions of the image data. | |
GetStringName | (Inherited from SoBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVoxelSize | Returns the size of a voxel in 3D. | |
HasDefaultValues | Returns true if all of the object's fields have their default values. | |
IsNotifyEnabled | Notification is the process of telling interested objects that this object has changed. | |
IsSynchronizable | Gets the ScaleViz synchronizable state of this object. | |
Set | Sets one or more fields in this object to the values specified in the given string, which should be a string in the Open Inventor file format. | |
SetDirection | Set the direction cosines of rows and columns. | |
SetInterpretation | Sets the interpretation of the image. | |
SetName | (Inherited from SoBase.) | |
SetOrigin | Sets the image origin in 3D. | |
SetSynchronizable | Sets this to be a ScaleViz synchronizable object. | |
SetToDefaults | Sets all fields in this object to their default values. | |
SetVoxelSize | Sets the voxel size in 3D. | |
ToString |
Converts this SoBase structure to a human readable string.
(Inherited from SoBase.) | |
Touch | Marks an instance as modified, simulating a change to it. |
Name | Description | |
---|---|---|
extent | The OIV.ImageViz.Nodes.Images.SoImageDataAdapter.m_extent and OIV.ImageViz.Nodes.Images.SoImageDataAdapter.m_orientation fields define the position, size and orientation of the image in 3D (typicallly the physical space). | |
fileName | Data filename to get data from. | |
interpretation | Image Interpretation Default is OIV.ImageViz.Nodes.Images.SoImageDataAdapter.Interpretations.VALUE. | |
IsDisposable | ISafeDisposable interface implementation.
(Inherited from SoDisposable.) | |
maxMemory | Specifies the maximum memory that may be allocated for the image in MB (megabytes). | |
orientation | (Inherited from SoImageDataAdapter.) | |
UserData |
Gets or sets the user data to be contained by the field container.
(Inherited from SoFieldContainer.) |
Loads image data from a file. See OIV.ImageViz.Nodes.Images.SoImageDataAdapter for methods to access the data.
NOTE:OIV.ImageViz.Nodes.Images.SoFileDataAdapter provides access to the image data but does not guarantee that all the data is loaded in memory. Only OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter is guaranteed to do that. As a result, only an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter (or an OIV.ImageViz.Nodes.Images.SoProxyDataAdapter that is attached to an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter) is completely safe to use as input for ImageViz filter engines. Many engines will work with data partially in memory, but some, for example OIV.ImageViz.Engines.GeometryAndMatching.Registration.SoImageRegistrationTransform, will only work if the image is completely in memory. See the documentation for the specific engines you are using. Conveniently, the utility method SoImageDataAdapterHelper.getAppropriateAdapter() returns an OIV.ImageViz.Nodes.Images.SoMemoryDataAdapter object if there is enough memory to load all the data.
FileDataAdapter {
fileName | "" |
maxMemory | 500 |
//Inherited | |
interpretation | VALUE |
extent | 0,0,0, 1,1,1 |
orientation | 0 0 0 1 |