FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Raster::RasterDataModel Class Reference

Inherits OSGeo::FDO::Runtime::Disposable.

Inheritance diagram for OSGeo::FDO::Raster::RasterDataModel:

[legend]
List of all members.

Detailed Description

The RasterDataModel specifies the data type and organization of raster data retrieved and stored. Using this class and the image extents in width and length, the binary format of the image data returned by and accepted by the IStreamReader class can be interpreted.


Public Member Functions

__property System::Int32 get_BitsPerPixel ()
 Get the number of bits per pixel.
__property OSGeo::FDO::Raster::RasterDataModelType get_DataModelType ()
 Gets the type of data available from this datamodel.
__property OSGeo::FDO::Raster::RasterDataType get_DataType ()
 Gets the data type.
__property OSGeo::FDO::Raster::RasterDataOrganization get_Organization ()
 Get the data interleave organization.
__property System::Int32 get_TileSizeX ()
 Get the tile size in the horizontal direction (number of columns).
__property System::Int32 get_TileSizeY ()
 Get the tile size in the vertical direction (number of rows).
 RasterDataModel (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a RasterDataModel object based on an unmanaged instance of the object.
 RasterDataModel ()
 Creates a new datamodel.
__property System::Void set_BitsPerPixel (System::Int32 bitsPerPixel)
 Set the number of bits per pixel.
__property System::Void set_DataModelType (OSGeo::FDO::Raster::RasterDataModelType type)
 Sets the type of data for this datamodel.
__property System::Void set_DataType (OSGeo::FDO::Raster::RasterDataType dataType)
 Sets the data type.
__property System::Void set_Organization (OSGeo::FDO::Raster::RasterDataOrganization organization)
 Set the data interleave organization.
__property System::Void set_TileSizeX (System::Int32 sizex)
 Set the tile size in the horizontal direction (number of columns).
__property System::Void set_TileSizeY (System::Int32 sizey)
 Set the tile size in the vertical direction (number of rows). Values of 64, 128, 256, 512, 1024 and the image extents in width and length may be supported. When the tile sizes are equal to the image extents, the image is monolithic. Rectangular tile sizes, combining different values for X and Y, may be supported.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

OSGeo::FDO::Raster::RasterDataModel::RasterDataModel  ) 
 

Creates a new datamodel.

Returns:
Returns a bitonal 256x256 tiled data model.

OSGeo::FDO::Raster::RasterDataModel::RasterDataModel System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

Constructs a RasterDataModel object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

__property System ::Int32 OSGeo::FDO::Raster::RasterDataModel::get_BitsPerPixel  ) 
 

Get the number of bits per pixel.

Returns:
Returns the number of bits for each pixel. For multi-channel data the bits per channel will be this value devided by the numer of channels. For example, RGB data has three channels, so if this method returns twelve, each channel is four bits.

__property OSGeo ::FDO ::Raster ::RasterDataModelType OSGeo::FDO::Raster::RasterDataModel::get_DataModelType  ) 
 

Gets the type of data available from this datamodel.

Returns:
Returns the type of data available with this data model.

__property OSGeo ::FDO ::Raster ::RasterDataType OSGeo::FDO::Raster::RasterDataModel::get_DataType  ) 
 

Gets the data type.

Returns:
Returns the data type of the raster.

__property OSGeo ::FDO ::Raster ::RasterDataOrganization OSGeo::FDO::Raster::RasterDataModel::get_Organization  ) 
 

Get the data interleave organization.

Returns:
Returns the way data is interleaved.

__property System::Int32 OSGeo::FDO::Raster::RasterDataModel::get_TileSizeX  ) 
 

Get the tile size in the horizontal direction (number of columns).

Returns:
The number of columns in a tile.

__property System::Int32 OSGeo::FDO::Raster::RasterDataModel::get_TileSizeY  ) 
 

Get the tile size in the vertical direction (number of rows).

Returns:
The number of rows in a tile.

System::Void OSGeo::FDO::Raster::RasterDataModel::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.

__property System ::Void OSGeo::FDO::Raster::RasterDataModel::set_BitsPerPixel System::Int32  bitsPerPixel  ) 
 

Set the number of bits per pixel.

Parameters:
bitsPerPixel The number of bits per pixel desired. Values of 1, 4, 8, 16, 24, 32, 48 and 64 bits per channel may be supported. Others values (i.e. indivisible by the number of channels) are likely to raise a Exception.

__property System ::Void OSGeo::FDO::Raster::RasterDataModel::set_DataModelType OSGeo::FDO::Raster::RasterDataModelType  type  ) 
 

Sets the type of data for this datamodel.

Parameters:
type The type of data for this data model.

__property System::Void OSGeo::FDO::Raster::RasterDataModel::set_DataType OSGeo::FDO::Raster::RasterDataType  dataType  ) 
 

Sets the data type.

Parameters:
dataType Specifies the data type the raster data is to be returned in.

__property System::Void OSGeo::FDO::Raster::RasterDataModel::set_Organization OSGeo::FDO::Raster::RasterDataOrganization  organization  ) 
 

Set the data interleave organization.

Parameters:
organization Specifies the way data is to be interleaved.

__property System::Void OSGeo::FDO::Raster::RasterDataModel::set_TileSizeX System::Int32  sizex  ) 
 

Set the tile size in the horizontal direction (number of columns).

Parameters:
sizex The number of columns in a tile.

__property System::Void OSGeo::FDO::Raster::RasterDataModel::set_TileSizeY System::Int32  sizey  ) 
 

Set the tile size in the vertical direction (number of rows). Values of 64, 128, 256, 512, 1024 and the image extents in width and length may be supported. When the tile sizes are equal to the image extents, the image is monolithic. Rectangular tile sizes, combining different values for X and Y, may be supported.

Parameters:
sizey The number of rows in a tile.

Comments or suggestions? Send us feedback.