Class to handle values needed to define the characteristics of a raster. More...
#include <rvc/raster.h>
Class to handle values needed to define the characteristics of a raster.
| RVC::RASTER::MAKEPARMS::MAKEPARMS | ( | INT32 | NumLines, | |
| INT32 | NumColumns, | |||
| IMAGE::CELLTYPE | CellType | |||
| ) | [inline] |
Constructor, initialize with critical raster creation parameters.
| RVC::RASTER::MAKEPARMS::MAKEPARMS | ( | const RASTER & | Template, | |
| IMAGE::CELLTYPE | CellType = CELLTYPE_Invalid | |||
| ) | [inline] |
Template constructor.
| Template | Raster template to determine NumLines, NumColumns, Usage, and scaling | |
| CellType | Optional cell type, default uses type from template |
| IMAGE::CELLTYPE RVC::RASTER::MAKEPARMS::GetCellType | ( | ) | const [inline] |
Obtain image cell type.
| UINT16 RVC::RASTER::MAKEPARMS::GetCompressionQuality | ( | ) | const [inline] |
Obtain raster compression quality.
| COMPTYPE RVC::RASTER::MAKEPARMS::GetCompressionType | ( | ) | const [inline] |
Obtain raster compression type.
| IMAGE::DATATYPE RVC::RASTER::MAKEPARMS::GetDataType | ( | ) | const [inline] |
Obtain datatype based on raster creation parameters.
| INT32 RVC::RASTER::MAKEPARMS::GetDftTileSize | ( | ) | const |
Obtain default raster tile size based on creation parameters.
| const IMAGESCALE& RVC::RASTER::MAKEPARMS::GetImageScale | ( | ) | const [inline] |
Get image scale information (RVC::RASTER::IMAGESCALE).
| bool RVC::RASTER::MAKEPARMS::GetInitialValue | ( | ANYRASTVALUE & | value | ) | const [inline] |
Get initial raster value.
| UINT16 RVC::RASTER::MAKEPARMS::GetNumBits | ( | ) | const [inline] |
Obtain number of bits in a raster cell.
| INT32 RVC::RASTER::MAKEPARMS::GetNumColumns | ( | ) | const [inline] |
Obtain number of columns in a raster.
| INT32 RVC::RASTER::MAKEPARMS::GetNumLines | ( | ) | const [inline] |
Obtain number of lines in a raster.
| UINT16 RVC::RASTER::MAKEPARMS::GetNumUsedBits | ( | ) | const [inline] |
Get the number of used bits.
This related to JP2 compression and is dependent on the source raster value range. The number of used bits will be less than or equal to the number of bits in the created raster object.
Obtain current raster tile size values.
| TileLines | Number of lines in a tile RETURNED | |
| TileColumns | Number of columns in a tile RETURNED |
| void RVC::RASTER::MAKEPARMS::GetValueMinMax | ( | ANYRASTVALUE & | min, | |
| ANYRASTVALUE & | max | |||
| ) | const |
Obtain raster value range.
| min | Minimum possible raster value | |
| max | Maximum possible raster value |
| bool RVC::RASTER::MAKEPARMS::IsLossyCompressed | ( | ) | const [inline] |
Is the raster compressed with a lossy compression algorithm?
| bool RVC::RASTER::MAKEPARMS::IsValidCompression | ( | COMPTYPE | CompType | ) | const |
Is the compression type valid for the raster cell type.
| void RVC::RASTER::MAKEPARMS::SetCellType | ( | CELLTYPE | CellType | ) | [inline] |
Set image cell type.
| ERRVALUE RVC::RASTER::MAKEPARMS::SetCompression | ( | COMPTYPE | CompType, | |
| UINT16 | CompQuality, | |||
| bool | FixCellType = false | |||
| ) |
Set raster compression values.
| CompType | Raster compression type | |
| CompQuality | Compression quality for lossy compression | |
| FixCellType | Change cell type if unsupported by compression type |
| void RVC::RASTER::MAKEPARMS::SetImageScale | ( | const IMAGESCALE & | ImageScale | ) | [inline] |
Set image scale information (RVC::RASTER::IMAGESCALE).
| void RVC::RASTER::MAKEPARMS::SetIncludeEmbeddedPyramidTiers | ( | bool | IncludeTiers | ) | [inline] |
Set whether to include embedded pyramid tiers if supported.
Used in JPEG2000 compressed rasters produce only single resolution level. Default is to include embedded pyramid tiers.
| void RVC::RASTER::MAKEPARMS::SetInitialValue | ( | const ANYRASTVALUE & | value | ) | [inline] |
Set initial raster value.
| void RVC::RASTER::MAKEPARMS::SetInverted | ( | ) | [inline] |
Set raster inversion flag.
| void RVC::RASTER::MAKEPARMS::SetNumColumns | ( | INT32 | NumColumns | ) | [inline] |
Set number of columns in a raster.
| void RVC::RASTER::MAKEPARMS::SetNumLines | ( | INT32 | NumLines | ) | [inline] |
Set number of lines in a raster.
| void RVC::RASTER::MAKEPARMS::SetNumUsedBits | ( | UINT16 | UsedBits | ) | [inline] |
Set the number of used bits.
This related to JP2 compression and is dependent on the source raster value range. The number of used bits will be less than or equal to the number of bits in the created raster object.
| void RVC::RASTER::MAKEPARMS::SetNumUsedBits | ( | const RASTER & | SrcRastObj | ) |
Set the number of used bits.
This related to JP2 compression and is dependent on the source raster value range. The number of used bits will be less than or equal to the number of bits in the created raster object.
| void RVC::RASTER::MAKEPARMS::SetPackOrder | ( | PACKORDER | PackOrder | ) | [inline] |
Set raster pack order.
| PackOrder | New raster pack order |
Set raster tile size.
| void RVC::RASTER::MAKEPARMS::SetUsage | ( | USAGE | usage | ) | [inline] |
Set raster usage parameter.
1.6.1