A DtPropRecord contains the information to recreate a prop.
More...
|
| | DtPropRecord () |
| | CTOR. More...
|
| |
| | ~DtPropRecord () |
| | DTOR. More...
|
| |
| | DtPropRecord (const DtPropRecord &orig) |
| | Copy CTOR. More...
|
| |
| bool | operator== (const DtPropRecord &orig) const |
| |
| bool | operator!= (const DtPropRecord &orig) const |
| |
| DtPropRecord & | operator= (const DtPropRecord &orig) |
| | Assignment OP. More...
|
| |
| void | setName (const std::string &name) |
| | Set the name of the prop. More...
|
| |
| const std::string & | name () const |
| | Get the name of the prop. More...
|
| |
| void | setPosition (double x, double y, double z) |
| | Set position. More...
|
| |
| void | getPosition (double &xOut, double &yOut, double &zOut) const |
| | Get position. More...
|
| |
| void | setOrientation (double x, double y, double z, double w) |
| | Set orientation (as quaternion). More...
|
| |
| void | getOrientation (double &xOut, double &yOut, double &zOut, double &wOut) const |
| | Get orientation (as quaternion). More...
|
| |
| void | setPropType (const std::string &propType) |
| | Set the prop type of this record. More...
|
| |
| const std::string & | propType () const |
| | Return the prop type of this record. More...
|
| |
| void | setModelDefOrNodeAddress (const std::string &modelDefOrNodeAddress) |
| | Set the model definition or node address of this record. More...
|
| |
| const std::string & | modelDefOrNodeAddress () const |
| | Return the model definition or node address of this record. More...
|
| |
| void | setIsModelDef (bool bIsModelDef) |
| | Set whether modelDefOrNodeAddress() returns a model definition or node address. True is model def, false is node address. More...
|
| |
| bool | isModelDef () const |
| | Return whether modelDefOrNodeAddress() returns a model definition or node address. True is model def, false is node address. More...
|
| |
| void | setColor (float r, float g, float b, float alpha) |
| | Set color. More...
|
| |
| void | getColor (float &r, float &g, float &b, float &alpha) const |
| | Get color. More...
|
| |
| void | setIsVisible (bool flag) |
| | Set isVisible. More...
|
| |
| bool | isVisible () const |
| | Get isVisible. More...
|
| |
|
| template<class Archive > |
| void | serialize (Archive &ar, const unsigned int version) |
| | When the class Archive corresponds to an output archive, the & operator is defined similar to <<. More...
|
| |
A DtPropRecord contains the information to recreate a prop.
| makArchives::DtPropRecord::DtPropRecord |
( |
| ) |
|
| makArchives::DtPropRecord::~DtPropRecord |
( |
| ) |
|
| makArchives::DtPropRecord::DtPropRecord |
( |
const DtPropRecord & |
orig | ) |
|
| void makArchives::DtPropRecord::setName |
( |
const std::string & |
name | ) |
|
Set the name of the prop.
| const std::string& makArchives::DtPropRecord::name |
( |
| ) |
const |
Get the name of the prop.
| void makArchives::DtPropRecord::getPosition |
( |
double & |
xOut, |
|
|
double & |
yOut, |
|
|
double & |
zOut |
|
) |
| const |
Set orientation (as quaternion).
Get orientation (as quaternion).
| void makArchives::DtPropRecord::setPropType |
( |
const std::string & |
propType | ) |
|
Set the prop type of this record.
| const std::string& makArchives::DtPropRecord::propType |
( |
| ) |
const |
Return the prop type of this record.
| void makArchives::DtPropRecord::setModelDefOrNodeAddress |
( |
const std::string & |
modelDefOrNodeAddress | ) |
|
Set the model definition or node address of this record.
| const std::string& makArchives::DtPropRecord::modelDefOrNodeAddress |
( |
| ) |
const |
Return the model definition or node address of this record.
| void makArchives::DtPropRecord::setIsModelDef |
( |
bool |
bIsModelDef | ) |
|
Set whether modelDefOrNodeAddress() returns a model definition or node address. True is model def, false is node address.
| bool makArchives::DtPropRecord::isModelDef |
( |
| ) |
const |
Return whether modelDefOrNodeAddress() returns a model definition or node address. True is model def, false is node address.
| void makArchives::DtPropRecord::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
alpha |
|
) |
| |
| void makArchives::DtPropRecord::getColor |
( |
float & |
r, |
|
|
float & |
g, |
|
|
float & |
b, |
|
|
float & |
alpha |
|
) |
| const |
| void makArchives::DtPropRecord::setIsVisible |
( |
bool |
flag | ) |
|
| bool makArchives::DtPropRecord::isVisible |
( |
| ) |
const |
template<class Archive >
| void makArchives::DtPropRecord::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprotected |
When the class Archive corresponds to an output archive, the & operator is defined similar to <<.
Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.
| friend class boost::serialization::access |
|
friend |
Serialization/Deserialization //.
| std::string makArchives::DtPropRecord::myName |
|
protected |
| double makArchives::DtPropRecord::myPosX |
|
protected |
| double makArchives::DtPropRecord::myPosY |
|
protected |
| double makArchives::DtPropRecord::myPosZ |
|
protected |
| double makArchives::DtPropRecord::myOrientationX |
|
protected |
| double makArchives::DtPropRecord::myOrientationY |
|
protected |
| double makArchives::DtPropRecord::myOrientationZ |
|
protected |
| double makArchives::DtPropRecord::myOrientationW |
|
protected |
| std::string makArchives::DtPropRecord::myPropType |
|
protected |
| std::string makArchives::DtPropRecord::myModelDefOrNodeAddress |
|
protected |
| bool makArchives::DtPropRecord::myIsModelDefFlag |
|
protected |
| float makArchives::DtPropRecord::myColorR |
|
protected |
| float makArchives::DtPropRecord::myColorG |
|
protected |
| float makArchives::DtPropRecord::myColorB |
|
protected |
| float makArchives::DtPropRecord::myColorA |
|
protected |
| bool makArchives::DtPropRecord::myIsVisible |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-10-branch/include/makArchives/DtPropRecord.h