![]() |
RobWorkProject
23.9.11-
|
Representation of the Mathematica Image function. More...
#include <Image.hpp>
Inherits Mathematica::FunctionBase.
Public Types | |
| typedef rw::core::Ptr< Image > | Ptr |
| Smart pointer type. | |
Public Types inherited from Mathematica::FunctionBase | |
| typedef rw::core::Ptr< FunctionBase > | Ptr |
| Smart pointer type. | |
Public Types inherited from Mathematica::Expression | |
| enum | Type { String , Integer , Real , Symbol , Function , Array } |
| Type of expression. More... | |
| typedef rw::core::Ptr< Expression > | Ptr |
| Smart pointer type. | |
| typedef enum rwlibs::mathematica::Mathematica::Expression::Type | Type |
| Type of expression. | |
Public Member Functions | |
| Image (rw::core::Ptr< const rw::sensor::Image > image) | |
| Construct a Image expression from a RobWork image. More... | |
| Image (const Mathematica::Expression &data) | |
| Construct a Image expression. More... | |
| Image (const Mathematica::Expression &data, const rw::core::PropertyMap &options) | |
| Construct a Image expression. More... | |
| virtual | ~Image () |
| Destructor. | |
| virtual std::list< rw::core::Ptr< const Mathematica::Expression > > | getArguments () const |
| Get a list of arguments for this function. More... | |
| virtual Mathematica::Expression::Ptr | clone () const |
| Make a copy of the expression. More... | |
| void | setImageSize (std::size_t width, std::size_t height) |
| Set ImageSize option. More... | |
Public Member Functions inherited from Mathematica::FunctionBase | |
| FunctionBase (const std::string &name) | |
| Construct new function. More... | |
| std::string | getName () const |
| Get the name of the function. More... | |
| Type | getType () const |
| Get the type of expression. More... | |
| virtual void | out (std::ostream &stream) const |
| Print to output stream. More... | |
| virtual void | out (std::ostream &stream, std::size_t indent) const |
| Print function by using indentations. More... | |
Static Public Member Functions | |
| static rw::core::Ptr< rw::sensor::Image > | toRobWorkImage (const Mathematica::Expression &expression) |
| Construct RobWork Image from Mathematica Image expression. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Mathematica::Expression | |
| template<typename Type > | |
| static void | toList (std::list< rw::core::Ptr< Type >> &) |
| Helper function for extracting a list of arguments when given as a variable number of arguments. More... | |
| template<typename Type , typename Exp , typename... T> | |
| static void | toList (std::list< rw::core::Ptr< Type >> &list, const Exp &r, T... t) |
| Helper function for extracting a list of arguments when given as a variable number of arguments. More... | |
Protected Attributes inherited from Mathematica::FunctionBase | |
| std::string | _name |
| Name of the function. | |
Representation of the Mathematica Image function.
| Image | ( | rw::core::Ptr< const rw::sensor::Image > | image | ) |
Construct a Image expression from a RobWork image.
| image | [in] the image. |
| Image | ( | const Mathematica::Expression & | data | ) |
Construct a Image expression.
| data | [in] the data expression (e.g. a variable name, table/list expression, or data array). |
| Image | ( | const Mathematica::Expression & | data, |
| const rw::core::PropertyMap & | options | ||
| ) |
Construct a Image expression.
| data | [in] the data expression (e.g. a variable name, table/list expression, or data array). |
| options | [in] the options to use (such as ColorSpace, ImageSize etc.) |
|
virtual |
|
virtual |
Get a list of arguments for this function.
Implements Mathematica::FunctionBase.
| void setImageSize | ( | std::size_t | width, |
| std::size_t | height | ||
| ) |
Set ImageSize option.
| width | [in] the width. |
| height | [in] the height. |
|
static |
Construct RobWork Image from Mathematica Image expression.
| expression | [in] the expression to parse. |
| rw::core::Exception | if parsing fails. |