|
Maya 1.0
|
This class implements a geometric instance linked to several frames. More...
#include <maya.h>
Public Member Functions | |
| MayaInstanceSet () | |
| Empty. | |
| MayaInstanceSet (const QString &) | |
| Create an instance set. | |
| MayaInstanceSet (const MayaInstance &) | |
| Create an instance set. | |
| MayaInstanceSet (const QString &, const QString &) | |
| Create an instance set. | |
| MayaInstanceSet (const QString &, const FrameScaled &) | |
| Create an instance set. | |
| MayaInstanceSet (const QString &, const QString &, const FrameScaled &) | |
| Create an instance set. | |
| ~MayaInstanceSet () | |
| Empty. | |
| void | Append (const FrameScaled &) |
| Adds a frame to the list of instances. | |
| void | Rotate (const Vector &) |
| Rotates a set of geometrical objects. | |
| void | Translate (const Vector &) |
| Translates a set of objects. | |
| void | Scale (const Vector &) |
| Scales a set of objects. | |
| void | Clear () |
| Clear the instance set. | |
| void | Remove (int) |
| Remove the i-th element. | |
| FrameScaled | GetFrameScaled (int) const |
| Get the i-th frame. | |
| QVector< FrameScaled > | GetFrameScaleds () const |
| Get the set of frames. | |
| int | count () const |
| Get the number of frames. | |
| QString | GetText (int=0, bool=false) const |
| Get the text information. | |
| QString | ExportVueScript (int, int) |
| Export instances in Vue Software format. | |
| void | exportSceneJson (QTextStream &out) const |
| Export scene instance to JSON. | |
Public Member Functions inherited from MayaInstance | |
| MayaInstance () | |
| Creates an empty instance. | |
| MayaInstance (const QString &) | |
| Creates a instance. | |
| MayaInstance (const QString &, const QString &) | |
| Creates an instance. | |
| ~MayaInstance () | |
| Empty. | |
| void | SetName (const QString &) |
| Set the address. | |
| void | SetAddress (const QString &) |
| Set the address. | |
| QString | GetName () const |
| Get name. | |
| QString | GetAddress () const |
| Get the address. | |
Protected Attributes | |
| QVector< FrameScaled > | frames |
| Array of frames | |
Protected Attributes inherited from MayaInstance | |
| QString | name |
| Signature of the object, implemented as the name of the corresponding mesh file. | |
| QString | address |
| Location of the object. | |
This class implements a geometric instance linked to several frames.
|
inline |
Create an instance set.
| name | The name of the set. |
References MayaInstance::MayaInstance(), and MayaInstance::name.
|
inline |
Create an instance set.
| i | Input instance. |
References MayaInstance::GetAddress(), MayaInstance::GetName(), and MayaInstance::MayaInstance().
|
inline |
Create an instance set.
| name | The name of the set. |
| address | Directory. |
References MayaInstance::address, MayaInstance::MayaInstance(), and MayaInstance::name.
|
inline |
Create an instance set.
| name | The name of the set. |
| frame | The frame. |
References frames, MayaInstance::MayaInstance(), and MayaInstance::name.
|
inline |
Create an instance set.
| name | The name of the set. |
| address | Directory. |
| frame | The frame. |
References MayaInstance::address, frames, MayaInstance::MayaInstance(), and MayaInstance::name.
| void MayaInstanceSet::Append | ( | const FrameScaled & | frame | ) |
|
inline |
| QString MayaInstanceSet::GetText | ( | int | spaces = 0, |
| bool | html = false ) const |
Get the text information.
| spaces | Spacing for indenting the text. |
| html | Flag to specify syntax highlighting. |
References frames, and MayaInstance::GetName().
|
inline |
| void MayaInstanceSet::Rotate | ( | const Vector & | r | ) |
Rotates a set of geometrical objects.
This function simply updates the frame of the object.
| r | Rotation vector in Euler coordinates. |
References frames.
| void MayaInstanceSet::Scale | ( | const Vector & | s | ) |