Functions for generating cube shapes.
More...
#include <CubeModel.h>
|
| static void | getTriangleRepresentation (float scalingFactor, int *numberOfCoordinates, float **coordinates) |
| | Compute coordinates of points which make up a cube. More...
|
| |
| static void | getNormals (int *numberOfCoordinates, float **normals) |
| | Create normals for a cube which was created with getTriangleRepresentation() function. More...
|
| |
| static void | getTriangleRepresentation (float scalingFactor, int *numberOfCoordinates, float **coordinates) |
| | Compute coordinates of points which make up a cube. More...
|
| |
| static void | getNormals (int *numberOfCoordinates, float **normals) |
| | Create normals for a cube which was created with getTriangleRepresentation() function. More...
|
| |
| static void | getTriangleRepresentation (float **coordinatesPtrPtr, int *numberOfCoordinatesPtr, int *numberOfPointsPtr, float scalingFactor) |
| | Compute coordinates of points which make up a cube shape. More...
|
| |
| static void | getNormals (float **normalsPtrPtr, int *numberOfCoordinatesPtr) |
| | Create normals for a cube. More...
|
| |
| static void | getTriangleRepresentation (float **coordinatesPtrPtr, int *numberOfCoordinatesPtr, int *numberOfPointsPtr, float scalingFactor) |
| | Compute coordinates of points which make up a cube shape. More...
|
| |
| static void | getTriangleRepresentation (float scalingFactor, int *numberOfPoints, int *numberOfCoordinates, float **coordinates) |
| | Compute coordinates of points which make up a cube. More...
|
| |
| static void | getNormals (int *numberOfCoordinates, float **normals) |
| | Create normals for a cube which was created with getTriangleRepresentation() function. More...
|
| |
| static void | getNormals (float **normalsPtrPtr, int *numberOfCoordinatesPtr) |
| | Create normals for a cube. More...
|
| |
| static void | getTriangleRepresentation (float **coordinatesPtrPtr, int *numberOfCoordinatesPtr, float scalingFactor) |
| | Compute coordinates of points which make up a cube shape. More...
|
| |
| static void | getNormals (float **normalsPtrPtr, int *numberOfCoordinatesPtr) |
| | Create normals for a cube. More...
|
| |
| static void | getTriangleRepresentation (float **coordinatesPtrPtr, int *numberOfCoordinatesPtr, int *numberOfPointsPtr, float scalingFactor) |
| | Compute coordinates of points which make up a cube shape. More...
|
| |
Functions for generating cube shapes.
Definition at line 31 of file CubeModel.h.
| void MaliSDK::CubeModel::getNormals |
( |
float ** |
normalsPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr |
|
) |
| |
|
static |
Create normals for a cube.
- Parameters
-
| normalsPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
Please see header for the specification.
Definition at line 29 of file CubeModel.cpp.
| static void MaliSDK::CubeModel::getNormals |
( |
float ** |
normalsPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr |
|
) |
| |
|
static |
Create normals for a cube.
- Parameters
-
| normalsPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
| static void MaliSDK::CubeModel::getNormals |
( |
float ** |
normalsPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr |
|
) |
| |
|
static |
Create normals for a cube.
- Parameters
-
| normalsPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
| void MaliSDK::CubeModel::getNormals |
( |
int * |
numberOfCoordinates, |
|
|
float ** |
normals |
|
) |
| |
|
static |
Create normals for a cube which was created with getTriangleRepresentation() function.
- Parameters
-
| [out] | numberOfCoordinates | Number of generated coordinates. |
| [out] | normals | Deref will be used to store generated coordinates. Cannot be null. |
Definition at line 356 of file CubeModel.cpp.
| static void MaliSDK::CubeModel::getNormals |
( |
int * |
numberOfCoordinates, |
|
|
float ** |
normals |
|
) |
| |
|
static |
Create normals for a cube which was created with getTriangleRepresentation() function.
- Parameters
-
| [out] | numberOfCoordinates | Number of generated coordinates. |
| [out] | normals | Deref will be used to store generated coordinates. Cannot be null. |
| static void MaliSDK::CubeModel::getNormals |
( |
int * |
numberOfCoordinates, |
|
|
float ** |
normals |
|
) |
| |
|
static |
Create normals for a cube which was created with getTriangleRepresentation() function.
- Parameters
-
| [out] | numberOfCoordinates | Number of generated coordinates. |
| [out] | normals | Deref will be used to store generated coordinates. Cannot be null. |
| void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float |
scalingFactor, |
|
|
int * |
numberOfCoordinates, |
|
|
float ** |
coordinates |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube.
- Parameters
-
| [in] | scalingFactor | Scaling factor indicating size of a cube. |
| [out] | numberOfCoordinates | Number of generated coordinates. |
| [out] | coordinates | Deref will be used to store generated coordinates. Cannot be null. |
Definition at line 29 of file CubeModel.cpp.
| void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float ** |
coordinatesPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr, |
|
|
int * |
numberOfPointsPtr, |
|
|
float |
scalingFactor |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube shape.
- Parameters
-
| coordinatesPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
| numberOfPointsPtr | Number of generated points. |
| scalingFactor | Scaling factor indicating size of a cube. |
Please see header for the specification.
Definition at line 30 of file CubeModel.cpp.
| static void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float |
scalingFactor, |
|
|
int * |
numberOfCoordinates, |
|
|
float ** |
coordinates |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube.
- Parameters
-
| [in] | scalingFactor | Scaling factor indicating size of a cube. |
| [out] | numberOfCoordinates | Number of generated coordinates. |
| [out] | coordinates | Deref will be used to store generated coordinates. Cannot be null. |
| void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float |
scalingFactor, |
|
|
int * |
numberOfPoints, |
|
|
int * |
numberOfCoordinates, |
|
|
float ** |
coordinates |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube.
- Parameters
-
| [in] | scalingFactor | Scaling factor indicating size of a cube. |
| [out] | numberOfPoints | Number of generated points. |
| [out] | numberOfCoordinates | Number of generated coordinates. |
| [out] | coordinates | Deref will be used to store generated coordinates. Cannot be null. |
Definition at line 28 of file CubeModel.cpp.
| void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float ** |
coordinatesPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr, |
|
|
float |
scalingFactor |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube shape.
- Parameters
-
| coordinatesPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
| scalingFactor | Scaling factor indicating size of a cube. |
Please see header for the specification.
Definition at line 110 of file CubeModel.cpp.
| static void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float ** |
coordinatesPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr, |
|
|
int * |
numberOfPointsPtr, |
|
|
float |
scalingFactor |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube shape.
- Parameters
-
| coordinatesPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
| numberOfPointsPtr | Number of generated points. |
| scalingFactor | Scaling factor indicating size of a cube. |
| static void MaliSDK::CubeModel::getTriangleRepresentation |
( |
float ** |
coordinatesPtrPtr, |
|
|
int * |
numberOfCoordinatesPtr, |
|
|
int * |
numberOfPointsPtr, |
|
|
float |
scalingFactor |
|
) |
| |
|
static |
Compute coordinates of points which make up a cube shape.
- Parameters
-
| coordinatesPtrPtr | Deref will be used to store generated coordinates. Cannot be null. |
| numberOfCoordinatesPtr | Number of generated coordinates. |
| numberOfPointsPtr | Number of generated points. |
| scalingFactor | Scaling factor indicating size of a cube. |
| const int MaliSDK::CubeModel::numberOfCubeFaces = 6 |
|
staticprivate |
| const int MaliSDK::CubeModel::numberOfPointCoordinates = 3 |
|
staticprivate |
Number of coordinates for a point in 3D space.
Definition at line 37 of file CubeModel.h.
| const int MaliSDK::CubeModel::numberOfSquareTriangles = 2 |
|
staticprivate |
Number of triangles which make up a square.
Definition at line 39 of file CubeModel.h.
| const int MaliSDK::CubeModel::numberOfTrianglePoints = 3 |
|
staticprivate |
number of points that make up a shape of a triangle.
Definition at line 41 of file CubeModel.h.
The documentation for this class was generated from the following files:
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/common_native/inc/models/CubeModel.h
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/common_native/src/models/CubeModel.cpp