#include <mesh_attribute_base.h>
A simple wrapper class which contains a data pointer and a reference to the MeshAttribute implementation class. Implements all the arithmetic operators to simplify usage independently of the data type itself.
公共成员函数 |
|
MeshAttribute ()=default | |
MeshAttribute (MeshAttributeClass cls, void *valuePtr) | |
MeshAttribute (MeshAttributeClass cls, const void *valuePtr) | |
MeshAttribute (const MeshAttribute & src , void *valuePtr) | |
Bool | operator== (const MeshAttribute &b) const |
Bool | operator!= (const MeshAttribute &b) const |
Bool | operator< (const MeshAttribute &b) const |
Bool | operator> (const MeshAttribute &b) const |
MeshAttribute | operator+ (const MeshAttribute &b) const |
MeshAttribute | operator- (const MeshAttribute &b) const |
MeshAttribute | operator* (const MeshAttribute &b) const |
MeshAttribute | operator* ( Float value) const |
MeshAttribute | operator/ (const MeshAttribute &b) const |
MeshAttribute | operator/ ( Float value) const |
MeshAttribute | operator+= (const MeshAttribute &b) |
MeshAttribute | operator-= (const MeshAttribute &b) |
MeshAttribute | operator*= (const MeshAttribute &b) |
MeshAttribute | operator*= ( Float value) |
MeshAttribute | operator/= (const MeshAttribute &b) |
MeshAttribute | operator/= ( Float value) |
Public Attributes |
|
MeshAttributeClass | _cls |
void * | _valuePtr |
|
default |
MeshAttribute | ( | MeshAttributeClass | cls , |
void * | valuePtr | ||
) |
MeshAttribute | ( | MeshAttributeClass | cls , |
const void * | valuePtr | ||
) |
MeshAttribute | ( | const MeshAttribute & | src , |
void * | valuePtr | ||
) |
Bool operator== | ( | const MeshAttribute & | b | ) | const |
Bool operator!= | ( | const MeshAttribute & | b | ) | const |
Bool operator< | ( | const MeshAttribute & | b | ) | const |
Bool operator> | ( | const MeshAttribute & | b | ) | const |
MeshAttribute operator+ | ( | const MeshAttribute & | b | ) | const |
MeshAttribute operator- | ( | const MeshAttribute & | b | ) | const |
MeshAttribute operator* | ( | const MeshAttribute & | b | ) | const |
MeshAttribute operator* | ( | Float | value | ) | const |
MeshAttribute operator/ | ( | const MeshAttribute & | b | ) | const |
MeshAttribute operator/ | ( | Float | value | ) | const |
MeshAttribute operator+= | ( | const MeshAttribute & | b | ) |
MeshAttribute operator-= | ( | const MeshAttribute & | b | ) |
MeshAttribute operator*= | ( | const MeshAttribute & | b | ) |
MeshAttribute operator*= | ( | Float | value | ) |
MeshAttribute operator/= | ( | const MeshAttribute & | b | ) |
MeshAttribute operator/= | ( | Float | value | ) |
MeshAttributeClass _cls |
void* _valuePtr |