|
#include <RobotAPI/libraries/aron/core/type/variant/ndarray/Image.h>
Public Member Functions | |
std::string | getFullName () const override |
get the full name of this specific type More... | |
image::PixelType | getPixelType () const |
Get the pixel type. More... | |
std::string | getShortName () const override |
get a short name of this specific type More... | |
Image (const Path &path={}) | |
Image (const type::dto::Image &, const Path &path) | |
void | setPixelType (const image::PixelType type) const |
type::dto::ImagePtr | toImageDTO () const |
Public Member Functions inherited from NDArrayVariant< type::dto::Image, Image > | |
size_t | childrenSize () const override |
std::vector< VariantPtr > | getChildren () const override |
get all child elements More... | |
std::string | getDefaultValue () const |
VariantPtr | navigateAbsolute (const Path &path) const override |
naviate absolute More... | |
void | setDefaultValue (const std::string &v) |
virtual | ~NDArrayVariant ()=default |
Public Member Functions inherited from SpecializedVariantBase< type::dto::Image, Image > | |
type::Maybe | getMaybe () const override |
get the maybe type More... | |
VariantPtr | navigateRelative (const Path &path) const override |
navigate relative More... | |
operator type::dto::Image () | |
bool | operator== (const Image &other) const |
bool | operator== (const Variant &other) const override |
void | setMaybe (const type::Maybe m) override |
set the maybetype of this type More... | |
SpecializedVariantBase (const type::Descriptor &descriptor, const Path &path) | |
SpecializedVariantBase (const type::dto::Image &o, const type::Descriptor &descriptor, const Path &path) | |
type::dto::GenericTypePtr | toAronDTO () const override |
convert this variant to a dto object. More... | |
virtual | ~SpecializedVariantBase ()=default |
Public Member Functions inherited from Variant | |
virtual size_t | childrenSize () const =0 |
virtual std::vector< VariantPtr > | getChildren () const =0 |
get all child elements More... | |
type::Descriptor | getDescriptor () const |
virtual type::Maybe | getMaybe () const =0 |
get the maybe type More... | |
Path | getPath () const |
bool | operator== (const VariantPtr &other) const |
std::string | pathToString () const |
virtual type::dto::GenericTypePtr | toAronDTO () const =0 |
convert this variant to a dto object. More... | |
Variant (const type::Descriptor &descriptor, const Path &path=Path()) | |
virtual | ~Variant ()=default |
Static Public Attributes | |
static const std::map< image::PixelType, std::string > | Pixeltype2String |
static const std::map< std::string, image::PixelType > | String2Pixeltype |
Additional Inherited Members | |
Public Types inherited from Variant | |
using | PointerType = VariantPtr |
Static Public Member Functions inherited from SpecializedVariantBase< type::dto::Image, Image > | |
static const Image & | DynamicCast (const Variant &n) |
static std::shared_ptr< Image > | DynamicCast (const VariantPtr &n) |
static Image & | DynamicCast (Variant &n) |
static std::shared_ptr< Image > | DynamicCastAndCheck (const VariantPtr &n) |
Static Public Member Functions inherited from Variant | |
static VariantPtr | FromAronDTO (const type::dto::GenericType &, const Path &=Path()) |
create a variant object from an dto object More... | |
Protected Attributes inherited from SpecializedVariantBase< type::dto::Image, Image > | |
type::dto::Image ::PointerType | aron |
Protected Attributes inherited from Variant | |
const type::Descriptor | descriptor |
const Path | path |
The Image class.
It represents the image type. The code generation manages, which code will be generated for this type object, e.g. c++ generates opencv code.
|
overridevirtual |
image::PixelType getPixelType | ( | ) | const |
|
overridevirtual |
|
static |
|
static |