|
HDK
|
#include <MaterialXRender/Export.h>#include <MaterialXFormat/File.h>#include <MaterialXCore/Types.h>
Include dependency graph for Image.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Image |
Typedefs | |
| using | ImagePtr = shared_ptr< Image > |
| A shared pointer to an image. More... | |
| using | ConstImagePtr = shared_ptr< const Image > |
| A shared pointer to a const image. More... | |
| using | ImageMap = std::unordered_map< string, ImagePtr > |
| A map from strings to images. More... | |
| using | ImageVec = std::vector< ImagePtr > |
| A vector of images. More... | |
| using | ImagePair = std::pair< ImagePtr, ImagePtr > |
| A pair of images. More... | |
| using | ImageBufferDeallocator = std::function< void(void *)> |
| A function to perform image buffer deallocation. More... | |
| using | UnsignedIntPair = std::pair< unsigned int, unsigned int > |
| A pair of unsigned integers. More... | |
Functions | |
| MX_RENDER_API ImagePtr | createUniformImage (unsigned int width, unsigned int height, unsigned int channelCount, Image::BaseType baseType, const Color4 &color) |
| Create a uniform-color image with the given properties. More... | |
| MX_RENDER_API ImagePtr | createImageStrip (const vector< ImagePtr > &imageVec) |
| Create a horizontal image strip from a vector of images with identical resolutions and formats. More... | |
| MX_RENDER_API UnsignedIntPair | getMaxDimensions (const vector< ImagePtr > &imageVec) |
| Compute the maximum width and height of all images in the given vector. More... | |
| using ConstImagePtr = shared_ptr<const Image> |
| using ImageBufferDeallocator = std::function<void(void*)> |
| using UnsignedIntPair = std::pair<unsigned int, unsigned int> |
| MX_RENDER_API ImagePtr createImageStrip | ( | const vector< ImagePtr > & | imageVec | ) |
Create a horizontal image strip from a vector of images with identical resolutions and formats.
| MX_RENDER_API ImagePtr createUniformImage | ( | unsigned int | width, |
| unsigned int | height, | ||
| unsigned int | channelCount, | ||
| Image::BaseType | baseType, | ||
| const Color4 & | color | ||
| ) |
Create a uniform-color image with the given properties.
| MX_RENDER_API UnsignedIntPair getMaxDimensions | ( | const vector< ImagePtr > & | imageVec | ) |
Compute the maximum width and height of all images in the given vector.