Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
VLX wrapper of vl::Normal. More...
#include <VLXWrappers.hpp>
Public Member Functions | |
void | importNormal (VLXSerializer &s, const VLXStructure *vlx, Normal *obj) |
virtual ref< Object > | importVLX (VLXSerializer &s, const VLXStructure *vlx) |
void | exportNormal (const Normal *obj, VLXStructure *vlx) |
virtual ref< VLXStructure > | exportVLX (VLXSerializer &s, const Object *obj) |
VLX wrapper of vl::Normal.
Definition at line 3021 of file VLXWrappers.hpp.
void vl::VLXClassWrapper_Normal::importNormal | ( | VLXSerializer & | s, |
const VLXStructure * | vlx, | ||
Normal * | obj | ||
) | [inline] |
Definition at line 3023 of file VLXWrappers.hpp.
References vl::VLXValue::ArrayReal, vl::VLXValue::getArrayReal(), vl::VLXStructure::getValue(), vl::Normal::setValue(), vl::VLXValue::type(), VLX_IMPORT_CHECK_RETURN, and vl::vlx_vec3().
Referenced by importVLX().
virtual ref<Object> vl::VLXClassWrapper_Normal::importVLX | ( | VLXSerializer & | s, |
const VLXStructure * | vlx | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 3030 of file VLXWrappers.hpp.
References vl::ref< T >::get(), importNormal(), and vl::VLXSerializer::registerImportedStructure().
void vl::VLXClassWrapper_Normal::exportNormal | ( | const Normal * | obj, |
VLXStructure * | vlx | ||
) | [inline] |
Definition at line 3039 of file VLXWrappers.hpp.
References vl::Normal::value(), and vl::vlx_toValue().
Referenced by exportVLX().
virtual ref<VLXStructure> vl::VLXClassWrapper_Normal::exportVLX | ( | VLXSerializer & | s, |
const Object * | obj | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 3044 of file VLXWrappers.hpp.
References vl::Object::as(), exportNormal(), vl::VLXSerializer::generateID(), vl::VLXSerializer::registerExportedObject(), VL_CHECK, and vl::vlx_makeTag().