SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN Class Reference
Filter to convert between signed terrain and RGBA values.
More...
#include <spatmod/imagefilterconvertterrain.h>
List of all members.
Public Member Functions |
| | FILTER_CONVERT_TERRAIN (STAGE *pPreviousStage, bool TakeOwnership, const SPATMOD::IMAGE::FORMAT::SPEC &ImgFormat, bool bConvertTerrainToRGBA, double Scale=1.0, INT64 PrescaleOffset=0, INT64 PostscaleOffset=0) |
| | FILTER_CONVERT_TERRAIN (STAGE *pPreviousStage, bool TakeOwnership, const SPATMOD::IMAGE::TILESET::IMGFORMAT &ImgFormat, bool bConvertTerrainToRGBA, double Scale=1.0, INT64 PrescaleOffset=0, INT64 PostscaleOffset=0) |
| virtual | ~FILTER_CONVERT_TERRAIN () |
Static Public Member Functions |
| static void | ReadPixelRange (const SPATMOD::IMAGE::TILESET::IMGFORMAT &ImgFormat, const BUFFER &Buffer, double &MinValue, double &MaxValue, double Scale=1.0, INT64 PrescaleOffset=0, INT64 PostscaleOffset=0) |
| static void | ReadPixelRange (const SPATMOD::IMAGE::FORMAT::SPEC &ImgFormat, const BUFFER &Buffer, double &MinValue, double &MaxValue, double Scale=1.0, INT64 PrescaleOffset=0, INT64 PostscaleOffset=0) |
| static void | WritePixelRange (BUFFER &Buffer, INT32 MinValue, INT32 MaxValue) |
| static void | WriteScaleOffset (BUFFER &Buffer, INT32 ScaleNumerator, INT32 ScaleDenominator, INT64 PrescaleOffset=0, INT64 PostscaleOffset=0) |
| static void | WriteScaleOffset (BUFFER &Buffer, double Scale, INT64 PrescaleOffset=0, INT64 PostscaleOffset=0) |
| static void | WriteType (BUFFER &Buffer, INT32 Type) |
Detailed Description
Filter to convert between signed terrain and RGBA values.
Constructor & Destructor Documentation
| SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::FILTER_CONVERT_TERRAIN |
( |
STAGE * |
pPreviousStage, |
|
|
bool |
TakeOwnership, |
|
|
const SPATMOD::IMAGE::TILESET::IMGFORMAT & |
ImgFormat, |
|
|
bool |
bConvertTerrainToRGBA, |
|
|
double |
Scale = 1.0, |
|
|
INT64 |
PrescaleOffset = 0, |
|
|
INT64 |
PostscaleOffset = 0 | |
|
) |
| | |
- Parameters:
-
| pPreviousStage | Pointer to previous stage |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed |
| ImgFormat | ImgFormat of terrain |
| bConvertTerrainToRGBA | True to convert to RGBA from signed terrain values, false to convert to terrain from RGBA |
| SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::FILTER_CONVERT_TERRAIN |
( |
STAGE * |
pPreviousStage, |
|
|
bool |
TakeOwnership, |
|
|
const SPATMOD::IMAGE::FORMAT::SPEC & |
ImgFormat, |
|
|
bool |
bConvertTerrainToRGBA, |
|
|
double |
Scale = 1.0, |
|
|
INT64 |
PrescaleOffset = 0, |
|
|
INT64 |
PostscaleOffset = 0 | |
|
) |
| | |
- Parameters:
-
| pPreviousStage | Pointer to previous stage |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed |
| ImgFormat | ImgFormat of terrain |
| bConvertTerrainToRGBA | True to convert to RGBA from signed terrain values, false to convert to terrain from RGBA |
| virtual SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::~FILTER_CONVERT_TERRAIN |
( |
|
) |
[virtual] |
Member Function Documentation
| static void SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::ReadPixelRange |
( |
const SPATMOD::IMAGE::TILESET::IMGFORMAT & |
ImgFormat, |
|
|
const BUFFER & |
Buffer, |
|
|
double & |
MinValue, |
|
|
double & |
MaxValue, |
|
|
double |
Scale = 1.0, |
|
|
INT64 |
PrescaleOffset = 0, |
|
|
INT64 |
PostscaleOffset = 0 | |
|
) |
| | [static] |
| static void SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::ReadPixelRange |
( |
const SPATMOD::IMAGE::FORMAT::SPEC & |
ImgFormat, |
|
|
const BUFFER & |
Buffer, |
|
|
double & |
MinValue, |
|
|
double & |
MaxValue, |
|
|
double |
Scale = 1.0, |
|
|
INT64 |
PrescaleOffset = 0, |
|
|
INT64 |
PostscaleOffset = 0 | |
|
) |
| | [static] |
| static void SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::WritePixelRange |
( |
BUFFER & |
Buffer, |
|
|
INT32 |
MinValue, |
|
|
INT32 |
MaxValue | |
|
) |
| | [static] |
| static void SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::WriteScaleOffset |
( |
BUFFER & |
Buffer, |
|
|
INT32 |
ScaleNumerator, |
|
|
INT32 |
ScaleDenominator, |
|
|
INT64 |
PrescaleOffset = 0, |
|
|
INT64 |
PostscaleOffset = 0 | |
|
) |
| | [static] |
| static void SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::WriteScaleOffset |
( |
BUFFER & |
Buffer, |
|
|
double |
Scale, |
|
|
INT64 |
PrescaleOffset = 0, |
|
|
INT64 |
PostscaleOffset = 0 | |
|
) |
| | [static] |
| static void SPATMOD::IMAGE::FILTER_CONVERT_TERRAIN::WriteType |
( |
BUFFER & |
Buffer, |
|
|
INT32 |
Type | |
|
) |
| | [static] |
The documentation for this class was generated from the following file: