81 const double& a_lengthX,
82 const double& a_lengthY,
83 const cVector3d& a_pos = cVector3d(0,0,0),
85 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
89 const double& a_lengthX,
90 const double& a_lengthY,
91 const cVector3d& a_pos = cVector3d(0,0,0),
93 const cColorf& a_colorTopLeft = cColorf(1.0, 1.0, 1.0, 1.0),
94 const cColorf& a_colorTopRight = cColorf(1.0, 1.0, 1.0, 1.0),
95 const cColorf& a_colorBottomLeft = cColorf(1.0, 1.0, 1.0, 1.0),
96 const cColorf& a_colorBottomRight = cColorf(1.0, 1.0, 1.0, 1.0));
100 const double& a_lengthX,
101 const double& a_lengthY,
102 const unsigned int a_numSidesX = 10,
103 const unsigned int a_numSidesY = 10,
104 const cVector3d& a_pos = cVector3d(0,0,0),
106 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
110 const double& a_radiusX,
111 const double& a_radiusY,
112 const unsigned int a_numSlices = 36,
113 const cVector3d& a_pos = cVector3d(0,0,0),
115 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
119 const double& a_lengthX,
120 const double& a_lengthY,
121 const double& a_radiusCorners = 0,
122 const int& a_numSegmentsPerCorner = 8,
123 const cVector3d& a_pos = cVector3d(0,0,0),
125 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
129 const double& a_lengthX,
130 const double& a_lengthY,
131 const double& a_cornerTopLeftRadius = 0,
132 const double& a_cornerTopRightRadius = 0,
133 const double& a_cornerBottomLeftRadius = 0,
134 const double& a_cornerBottomRightRadius = 0,
135 const int& a_numSegmentsPerCorner = 8,
136 const cVector3d& a_pos = cVector3d(0,0,0),
138 const cColorf& a_colorTopLeft = cColorf(0.5f, 0.5f, 0.5f, 1.0f),
139 const cColorf& a_colorTopRight = cColorf(0.5f, 0.5f, 0.5f, 1.0f),
140 const cColorf& a_colorBottomLeft = cColorf(0.3f, 0.3f, 0.3f, 1.0f),
141 const cColorf& a_colorBottomRight = cColorf(0.3f, 0.3f, 0.3f, 1.0f));
145 const double& a_lengthX,
146 const double& a_lengthY,
147 const double& a_lengthZ,
148 const cVector3d& a_pos = cVector3d(0,0,0),
150 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
154 const double& a_size,
155 const cVector3d& a_pos = cVector3d(0,0,0),
157 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
161 const double& a_height,
162 const double& a_radius,
163 const unsigned int a_numSides = 32,
164 const unsigned int a_numHeightSegments = 1,
165 const unsigned int a_numRings = 1,
166 const bool a_includeTop =
true,
167 const bool a_includeBottom =
true,
168 const cVector3d& a_pos = cVector3d(0,0,0),
170 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
174 const double& a_height,
175 const double& a_innerRadius,
176 const double& a_outerRadius,
177 const unsigned int a_numSides = 32,
178 const unsigned int a_numHeightSegments = 1,
179 const cVector3d& a_pos = cVector3d(0,0,0),
181 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
185 const double& a_radius,
186 const unsigned int a_numSlices = 32,
187 const unsigned int a_numStacks = 32,
188 const cVector3d& a_pos = cVector3d(0,0,0),
190 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
194 const double& a_radiusX,
195 const double& a_radiusY,
196 const double& a_radiusZ,
197 const unsigned int a_numSlices = 32,
198 const unsigned int a_numStacks = 32,
199 const cVector3d& a_pos = cVector3d(0,0,0),
201 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
205 const double& a_innerRadius,
206 const double& a_outerRadius,
207 const unsigned int a_numSides = 32,
208 const unsigned int a_numRings = 32,
209 const cVector3d& a_pos = cVector3d(0,0,0),
211 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
215 const double& a_innerRadius0,
216 const double& a_innerRadius1,
217 const double& a_outerRadius,
218 const double& a_coverageAngleDEG = 360,
219 const bool a_includeExtremityFaces =
true,
220 const unsigned int a_numSides = 32,
221 const unsigned int a_numRings = 32,
222 const cVector3d& a_pos = cVector3d(0,0,0),
224 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
228 const double& a_height,
229 const double& a_radiusBottom,
230 const double& a_radiusTop = 0.0,
231 const unsigned int a_numSides = 32,
232 const unsigned int a_numHeightSegments = 1,
233 const unsigned int a_numRings = 1,
234 const bool a_includeBottom =
true,
235 const bool a_includeTop =
true,
236 const cVector3d& a_pos = cVector3d(0,0,0),
238 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
242 const double& a_height,
243 const double& a_baseSize,
244 const bool a_includeBottom =
true,
245 const cVector3d& a_pos = cVector3d(0,0,0),
247 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
251 const double& a_length = 0.4,
252 const double& a_radiusShaft = 0.01,
253 const double& a_lengthTip = 0.1,
254 const double& a_radiusTip = 0.03,
255 const bool a_includeTipsAtBothExtremities =
false,
256 const unsigned int a_numSides = 32,
257 const cVector3d& a_direction = cVector3d(0,0,1),
258 const cVector3d& a_pos = cVector3d(0,0,0),
259 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
263 const double& a_innerRadius0 = 0.05,
264 const double& a_innerRadius1 = 0.05,
265 const double& a_outerRadius = 0.3,
266 const double& a_lengthTip = 0.2,
267 const double& a_radiusTip = 0.1,
268 const double& a_coverageAngleDEG = 270,
269 const bool a_includeTipsAtBothExtremities =
false,
270 const unsigned int a_numSides = 32,
271 const unsigned int a_numRings = 32,
272 const cVector3d& a_direction = cVector3d(0,0,1),
273 const cVector3d& a_pos = cVector3d(0,0,0),
274 const cColorf& a_color = cColorf(1.0, 1.0, 1.0, 1.0));
void cCreateCylinder(cMesh *a_mesh, const double &a_height, const double &a_radius, const unsigned int a_numSides, const unsigned int a_numHeightSegments, const unsigned int a_numRings, const bool a_includeTop, const bool a_includeBottom, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a cylinder.
Definition: CPrimitives.cpp:637
void cCreateRingSection(cMesh *a_mesh, const double &a_innerRadius0, const double &a_innerRadius1, const double &a_outerRadius, const double &a_coverageAngleDEG, const bool a_includeExtremityFaces, const unsigned int a_numSides, const unsigned int a_numRings, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a ring section.
Definition: CPrimitives.cpp:1246
void cCreateBox(cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const double &a_lengthZ, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a box.
Definition: CPrimitives.cpp:553
void cCreateEllipsoid(cMesh *a_mesh, const double &a_radiusX, const double &a_radiusY, const double &a_radiusZ, const unsigned int a_numSlices, const unsigned int a_numStacks, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates an ellipsoid.
Definition: CPrimitives.cpp:1081
void cCreateRing(cMesh *a_mesh, const double &a_innerRadius, const double &a_outerRadius, const unsigned int a_numSides, const unsigned int a_numRings, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a ring.
Definition: CPrimitives.cpp:1167
Implements a class to model polygonal meshes.
void cCreateMap(cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const unsigned int a_numSidesX, const unsigned int a_numSidesY, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a height map. Similar to a map, but with more triangles.
Definition: CPrimitives.cpp:183
void cCreateCircularArrow(cMesh *a_mesh, const double &a_innerRadius0, const double &a_innerRadius1, const double &a_outerRadius, const double &a_lengthTip, const double &a_radiusTip, const double &a_coverageAngleDeg, const bool a_includeTipsAtBothExtremities, const unsigned int a_numSides, const unsigned int a_numRings, const cVector3d &a_direction, const cVector3d &a_pos, const cColorf &a_color)
This function creates an circular arrow.
Definition: CPrimitives.cpp:2421
void cCreatePanel(cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const double &a_radiusCorners, const int &a_numSegmentsPerCorner, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a panel with optional rounded corners.
Definition: CPrimitives.cpp:329
void cCreatePlane(cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a plane.
Definition: CPrimitives.cpp:68
void cCreatePipe(cMesh *a_mesh, const double &a_height, const double &a_innerRadius, const double &a_outerRadius, const unsigned int a_numSides, const unsigned int a_numHeightSegments, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a pipe.
Definition: CPrimitives.cpp:873
void cCreateArrow(cMesh *a_mesh, const double &a_length, const double &a_radiusShaft, const double &a_lengthTip, const double &a_radiusTip, const bool a_includeTipsAtBothExtremities, const unsigned int a_numSides, const cVector3d &a_direction, const cVector3d &a_pos, const cColorf &a_color)
This function creates an arrow.
Definition: CPrimitives.cpp:2285
void cCreateCone(cMesh *a_mesh, const double &a_height, const double &a_radiusBottom, const double &a_radiusTop, const unsigned int a_numSides, const unsigned int a_numHeightSegments, const unsigned int a_numRings, const bool a_includeBottom, const bool a_includeTop, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a cone.
Definition: CPrimitives.cpp:683
void cCreateDisk(cMesh *a_mesh, const double &a_radiusX, const double &a_radiusY, const unsigned int a_numSlices, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a disk.
Definition: CPrimitives.cpp:257
cMatrix3d cIdentity3d(void)
This function return a 3x3 identity matrix.
Definition: CMaths.h:1045
void cCreateSphere(cMesh *a_mesh, const double &a_radius, const unsigned int a_numSlices, const unsigned int a_numStacks, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a sphere.
Definition: CPrimitives.cpp:1045
void cCreatePanel2(cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const double &a_cornerTopLeftRadius, const double &a_cornerTopRightRadius, const double &a_cornerBottomLeftRadius, const double &a_cornerBottomRightRadius, const int &a_numSegmentsPerCorner, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_colorTopLeft, const cColorf &a_colorTopRight, const cColorf &a_colorBottomLeft, const cColorf &a_colorBottomRight)
This function creates a panel with optional rounded corners.
Definition: CPrimitives.cpp:376
void cCreateTeaPot(cMesh *a_mesh, const double &a_size, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a tea pot.
Definition: CPrimitives.cpp:1450
Definition: CAudioBuffer.cpp:56
void cCreateSquarePyramid(cMesh *a_mesh, const double &a_height, const double &a_baseSize, const bool a_includeBottom, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_color)
This function creates a pyramid.
Definition: CPrimitives.cpp:1372
void cCreatePlane2(cMesh *a_mesh, const double &a_lengthX, const double &a_lengthY, const cVector3d &a_pos, const cMatrix3d &a_rot, const cColorf &a_colorTopLeft, const cColorf &a_colorTopRight, const cColorf &a_colorBottomLeft, const cColorf &a_colorBottomRight)
This function creates a plane.
Definition: CPrimitives.cpp:104