|
|
| MayaGpuSet () |
| | Empty.
|
| |
| | MayaGpuSet (const MayaGeometrySet &) |
| | Create a set of geometric instances on the GPU.
|
| |
|
void | InitInstances () |
| | Initialize the instances.
|
| |
| void | InitVAO (GpuParameter &) |
| | Initialize vertex array object.
|
| |
|
void | RefreshFrames () |
| | Refresh frames Instances.
|
| |
|
bool | isWireframe () const |
| | Check if the set should be rendered as wireframe.
|
| |
| void | Render (GpuParameter &) |
| | Render all instances of an object (Shaders are used).
|
| |
|
void | RenderBBox () |
| | Render the bounding box.
|
| |
|
void | RenderBBox (Camera c, int width, int height) |
| | Render the bounding box.
|
| |
| void | SetSubroutine (GpuParameter &) const |
| | Define the shading program.
|
| |
| void | Append (const FrameScaled &) |
| | Add an instance to the set.
|
| |
|
void | ClearFrames () |
| | Clear all frames.
|
| |
|
int | count () const |
| | Get the number of frames in the set.
|
| |
| FrameScaled | GetFrameScaled (int) const |
| | Get the number i-th frame in the set.
|
| |
|
MayaStatistics | GetStatistics () const |
| | Compute statistics.
|
| |
|
void | DeleteBuffers () |
| | Delete buffers on the GPU.
|
| |
| | MayaGpu () |
| | Empty.
|
| |
| | MayaGpu (const MayaGeometry &) |
| | Creates an instance.
|
| |
|
| ~MayaGpu () |
| | Destry a Maya Gpu instance.
|
| |
|
void | RenderBBox () |
| | Renders the bounding box of the instance.
|
| |
|
void | RenderBBox (Camera c, int width, int height) |
| | Renders the bounding box of the instance.
|
| |
| void | SetName (const QString &) |
| | Set the name of the object.
|
| |
| void | SetMaterial (const MayaMaterial &) |
| | Set material.
|
| |
|
void | InitMaterial () |
| | Initialize the material of the object.
|
| |
|
void | InitTexture () |
| | Initialize the texture.
|
| |
|
QString | GetName () const |
| | Get the name of the object.
|
| |
|
Box | getBox () |
| | Get the bounding box of the object.
|
| |
|
MayaStatistics | GetStatistics () const |
| | Compute statistics.
|
| |
|
|
QVector< FrameScaled > | frames |
| | Array of frames
|
| |
|
GLuint | buffer_instances_position = 0 |
| | Buffer of array of positions.
|
| |
|
GLuint | buffer_instances_rotation = 0 |
| | Buffer of array of rotations.
|
| |
|
GLuint | buffer_instances_scale = 0 |
| | Buffer of array of scales.
|
| |
|
QString | name |
| | Signature of the object, implemented as the name of the corresponding mesh file.
|
| |
|
MayaStatistics | statistics |
| | Statistics of the object, which are derived from the arguments of the constructor.
|
| |
|
MayaMaterial | mat |
| | Material structure of the Object.
|
| |
|
GLuint | buffer_vertex |
| | Buffer of vertex.
|
| |
|
GLuint | buffer_normal |
| | Buffer of normal.
|
| |
|
GLuint | buffer_color |
| | Buffer of color.
|
| |
|
GLuint | buffer_UVmap |
| | Buffer of UVMaps.
|
| |
|
GLuint | buffer_index |
| | Buffer of indexes.
|
| |
|
MayaGpuMaterial | material |
| | Material data.
|
| |
|
GLuint | buffer_material |
| | Uniform material buffer.
|
| |
|
GLuint | buffer_texture |
| | Buffer of texture.
|
| |
|
int | nv |
| | Number of vertices.
|
| |
|
int | nt |
| | Number of triangles.
|
| |
|
Box | bbox |
| | Bounding box.
|
| |
|
MayaSimpleRenderer * | boxRenderer |
| | Renderer used to draw the bounding box.
|
| |
This class implements a geometric instance linked to a set of frames.