ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
IStaticTriangleGroup Class Referenceabstract

Interface for managing a static group of 3D triangles and associated data. More...

#include <IStaticTriangleGroup.h>

Inheritance diagram for IStaticTriangleGroup:

Public Member Functions

virtual const bool HasUV ()=0
 Checks if the triangle group has UV coordinates.
 
virtual const IndexGroupGetIndexGroup ()=0
 Retrieves the index group for the triangle group.
 
virtual const int GetTriangleCount ()=0
 Retrieves the total number of triangles in the group.
 
virtual const Vector3DGetVertices ()=0
 Retrieves the array of vertices in the triangle group.
 
virtual const int GetVertexCount ()=0
 Retrieves the total number of vertices in the group.
 
virtual Triangle3DGetTriangles ()=0
 Retrieves the array of Triangle3D objects representing the triangles.
 
virtual const Vector2DGetUVVertices ()=0
 Retrieves the array of UV vertices in the triangle group.
 
virtual const IndexGroupGetUVIndexGroup ()=0
 Retrieves the index group for the UV vertices.
 

Detailed Description

Interface for managing a static group of 3D triangles and associated data.

Definition at line 22 of file IStaticTriangleGroup.h.

Member Function Documentation

◆ GetIndexGroup()

virtual const IndexGroup * GetIndexGroup ( )
pure virtual

Retrieves the index group for the triangle group.

Returns
A pointer to the IndexGroup array.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

◆ GetTriangleCount()

virtual const int GetTriangleCount ( )
pure virtual

Retrieves the total number of triangles in the group.

Returns
The number of triangles.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

◆ GetTriangles()

virtual Triangle3D * GetTriangles ( )
pure virtual

Retrieves the array of Triangle3D objects representing the triangles.

Returns
A pointer to the array of Triangle3D objects.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

◆ GetUVIndexGroup()

virtual const IndexGroup * GetUVIndexGroup ( )
pure virtual

Retrieves the index group for the UV vertices.

Returns
A pointer to the IndexGroup array for UV vertices.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

◆ GetUVVertices()

virtual const Vector2D * GetUVVertices ( )
pure virtual

Retrieves the array of UV vertices in the triangle group.

Returns
A pointer to the array of Vector2D UV vertices.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

◆ GetVertexCount()

virtual const int GetVertexCount ( )
pure virtual

Retrieves the total number of vertices in the group.

Returns
The number of vertices.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

◆ GetVertices()

virtual const Vector3D * GetVertices ( )
pure virtual

Retrieves the array of vertices in the triangle group.

Returns
A pointer to the array of Vector3D vertices.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.

Referenced by Object3D::ResetVertices().

◆ HasUV()

virtual const bool HasUV ( )
pure virtual

Checks if the triangle group has UV coordinates.

Returns
True if UV coordinates are present, false otherwise.

Implemented in StaticTriangleGroup< vertexCount, triangleCount >.


The documentation for this class was generated from the following file: