|
static OdTrVisTexturePtr | createTexture (OdTrVisTexture::Format fmt, OdUInt32 nWidth, OdUInt32 nHeight, OdUInt32 nAlign=4) |
|
static OdTrVisTexturePtr | convert (OdTrVisTexture::Format fmt, const OdTrVisTexture *pTexture, OdUInt32 nNewAlign=0, const OdTrVisTexture *pPalette=NULL) |
|
static OdTrVisTexturePtr | convert (OdTrVisTexture *pTextureTo, const OdTrVisTexture *pTextureFrom, Resampler method=kNearest) |
|
static void | negateTexture (OdTrVisTexture *pTexture) |
|
static OdTrVisTexturePtr | negate (const OdTrVisTexture *pTexture) |
|
static void | grayscaleTexture (OdTrVisTexture *pTexture, OdUInt32 nApplyComponent=7) |
|
static OdTrVisTexturePtr | grayscale (const OdTrVisTexture *pTexture, OdUInt32 nApplyComponent=7) |
|
static void | blurTexture (OdTrVisTexture *pTexture, OdUInt32 nSizeKernel=3, float fKernelMultiplier=1.0f) |
|
static OdTrVisTexturePtr | blur (const OdTrVisTexture *pTexture, OdUInt32 nSizeKernel=3, float fKernelMultiplier=1.0f) |
|
static void | sphereMapTexture (OdTrVisTexture *pTexture, const OdTrVisTexture *pRightTexture, const OdTrVisTexture *pLeftTexture, const OdTrVisTexture *pTopTexture, const OdTrVisTexture *pBottomTexture, const OdTrVisTexture *pFrontTexture, const OdTrVisTexture *pBackTexture, int antiAliasLevel=1, bool bSineCorrection=false) |
|
static OdTrVisTexturePtr | sphereMap (const OdTrVisTexture *pRightTexture, const OdTrVisTexture *pLeftTexture, const OdTrVisTexture *pTopTexture, const OdTrVisTexture *pBottomTexture, const OdTrVisTexture *pFrontTexture, const OdTrVisTexture *pBackTexture, int antiAliasLevel=1, bool bSineCorrection=false) |
|
static void | remapTextureChannels (OdTrVisTexture *pTexture, const ChannelMapping &redMap=ChannelMapping(1.0f), const ChannelMapping &greenMap=ChannelMapping(0.0f, 1.0f), const ChannelMapping &blueMap=ChannelMapping(0.0f, 0.0f, 1.0f), const ChannelMapping &alphaMap=ChannelMapping(0.0f, 0.0f, 0.0f, 1.0f)) |
|
static OdTrVisTexturePtr | mapChannels (const OdTrVisTexture *pTexture, const ChannelMapping &redMap=ChannelMapping(1.0f), const ChannelMapping &greenMap=ChannelMapping(0.0f, 1.0f), const ChannelMapping &blueMap=ChannelMapping(0.0f, 0.0f, 1.0f), const ChannelMapping &alphaMap=ChannelMapping(0.0f, 0.0f, 0.0f, 1.0f)) |
|
static OdTrVisTexturePtr | clone (const OdTrVisTexture *pTexture) |
|
static OdTrVisTexturePtr | resample (Resampler method, OdUInt32 newWidth, OdUInt32 newHeight, const OdTrVisTexture *pTexture) |
|
static OdTrVisTexturePtr | convertAndResample (OdTrVisTexture::Format fmt, Resampler method, OdUInt32 newWidth, OdUInt32 newHeight, const OdTrVisTexture *pTexture, OdUInt32 nNewAlign=0, const OdTrVisTexture *pPalette=NULL) |
|
static OdTrVisTexturePtr | resamplePow2 (Resampler method, bool bRequirePow2, const OdTrVisTexture *pTexture, OdUInt32 nMaxSize) |
|
static OdTrVisTexturePtr | createTextureFrom (OdTrVisTexture::Format fmt, OdUInt32 nWidth, OdUInt32 nHeight, OdUInt32 nAlign, OdTrVisTexture::Format bufferFmt, OdUInt32 bufferWidth, OdUInt32 bufferHeight, OdUInt32 bufferAlign, const void *buffer, Resampler method, const OdTrVisTexture *pPalette=NULL) |
|
static OdTrVisTexturePtr | createPow2TextureFrom (OdTrVisTexture::Format fmt, bool bRequirePow2, OdUInt32 nMaxSize, OdUInt32 nAlign, OdTrVisTexture::Format bufferFmt, OdUInt32 bufferWidth, OdUInt32 bufferHeight, OdUInt32 bufferAlign, const void *buffer, Resampler method, const OdTrVisTexture *pPalette=NULL) |
|
static OdTrVisTexturePtr | createTextureFrom (OdTrVisTexture::Format fmt, OdUInt32 nWidth, OdUInt32 nHeight, OdUInt32 nAlign, const void *buffer, const OdTrVisTexture *pPalette=NULL, bool bOwnExistBuffer=false) |
|
static bool | pow2ResampleDimensions (OdUInt32 &nResultWidth, OdUInt32 &nResultHeight, OdUInt32 nInWidth, OdUInt32 nInHeight, bool bRequirePow2, OdUInt32 nMaxSize) |
|
static bool | save (const OdTrVisTexture *pTexture, const OdString &fileName) |
|
This class manage Texture operations
Definition at line 215 of file TrVisTexture.h.