|
[1 introduction] [2 overview] [3 reference] [4 GUI] IndexE3dRPolyGroup_Area E3dPolyGroup_CountTriangles E3dPolyGroup_Copy E3dPolyGroup_Invert E3dPolyGroup_HasSelectedPolygons E3dMeshPolyGroup_NumOfSelectedEdges E3dPolyGroup_NumOfSelectedPolygons E3dPolyGroup_GetMarkedPolygonIndices E3dPolyGroup_DeletePolygon E3dPolyGroup_DeletePolygonsByIndex E3dPolyGroup_AddPolygon E3dPolyGroup_AddPolygons E3dPolyGroup_FreePolygons E3dPolyGroup_FreeTriangleStrips E3dPolyGroup_VertexAttributeAdd E3dPolyGroup_VertexAttributeDel E3dMeshPolyGroup_Area E3dMeshPolyGroup_UpdateForDisplay E3dMeshPolyGroup_CollectVertexAttributes E3dRPolyGroup_AreaCalculate surface area of an E3dRPolyGroupSyntax Argument Description This function computes the surface area of an E3dRPolyGroup. Return value None. E3dPolyGroup_CountTrianglesGet renderable triangles for a PolyGroupSyntax Arguments Description Returns the total number of triangles of the Polygons in PPolyGroup. If PTriangleStartIndices is not NULL, for eacn Polygon it returns the PolyGroup-global index of the first triangle. For example, if PPolyGroup has a pentagon that was triangulated to 3 triangles, and 2 quads (2 triangles each), PTriangleStartIndices will contain: 0, 3, 5, 7 Return value None. E3dPolyGroup_CopyClone a PolyGroupSyntax Argument Description Creates and exact copy of PSrcPolyGroup. If PDstPolyGroup is NULL, a new PolyGroup will be created and returned. If PFlags has the flag E3dCopyMATERIALS set, the Material of the PolyGroup will be cloned as well, otherwise the Material will be shared between the original PolyGroup and the clone. PFlags accepted flags: ECopyNAME Copy the name of PSrcPolyGroup E3dCopyPOLYGONS Copy Polygons E3dCopyEDGES Copy Edges (indices into to the Mesh Edge array) E3dCopyCOMPONENTS Copy PolyGroup component objects (not yet implemented) Return value Pointer to the new PolyGroup structure, or NULL in case of an error. See also E3dPolyGroup_InvertInvert Polygons of a Mesh (turn the Mesh "inside-out")Syntax Arguments Description Reverses the vertex order of each Polygon of PPolyGroup. Return value E_SUCCESS if all went well, or an error code E3dPolyGroup_HasSelectedPolygonsTell whether a PolyonGroup has selected PolygonsSyntax Argument Description This function returns TRUE if there are selected Polygons in the given PolyGroup. This may be faster than E3dPolyGroup_NumOfSelectedPolygons. Return value TRUE if there are selected Polygons in PPolyGroup, otherwise FALSE. E3dMeshPolyGroup_NumOfSelectedEdgesCount selected Edges in a PolyonGroupSyntax Argument Description Returns the number of selected Edges in the given PolyGroup. Return value The number of selected Edges. E3dPolyGroup_NumOfSelectedPolygonsCount selected Polygons in a PolyonGroupSyntax Argument Description Returns the number of selected Polygons in the given PolyGroup. Return value The number of selected Polygons. E3dPolyGroup_GetMarkedPolygonIndicesCount selected Polygons in a PolyonGroupSyntax Argument Description This function returns the number of selected Polygons in the given PolyGroup. Return value The number of selected Polygons. E3dPolyGroup_DeletePolygonRemove a Polygon from a PolyonGroupSyntax Arguments Description Removes the PPolygon from the given PolyGroup by first copying the unselected Polygons into a new array and replacing the old array with this array. Return value The index of the Polygon that was removed, or -1 in case of an error E3dPolyGroup_DeletePolygonsByIndexRemove Polygons from a PolyonGroupSyntax Arguments Description This function removes the Polygons listed by index, from the given PolyGroup by first copying the Polygons not listed into a new array and replacing the old array with this array. Return value The number of Polygons removed. E3dPolyGroup_AddPolygonAdd one Polygon to a PolyGroupSyntax Arguments Description Adds a new Polygon to the given PolyGroup and initializes this Polygon. Return value A pointer to the new Polygon, or NULL in case of an error. See also E3dPolyGroup_AddPolygonsAdd n Polygons to a PolyGroupSyntax Arguments Description Adds PCount new Polygons to PPolyGroup. Return value Pointer to the first new Polygon E3dPolyGroup_FreePolygonsFree the Polygons of a PolyGroupSyntax Argument Description Frees all Polygons in the specified PolyGroup. Return value None. See also E3dPolyGroup_FreeTriangleStripsFree the TriangleStrips of a PolyGroupSyntax Argument Description Frees the triangle strips in the specified PolyGroup. Return value None. See also E3dPolyGroup_VertexAttributeAddAdd a new attribute to the VertexNodes of a PolyGroup's primitivesSyntax Arguments Description Adds a vertex attribute, such as normals, or texture coordinates, to a PolyGroup. PIndex = -1 means: do not check whether this component already exists. PSemantic is a string, such as E3dVtxAttribute_Normal, E3dVtxAttribute_Color, E3dVtxAttribute_ST etc. Return value E_SUCCESS if all went well, or an error code See also E3dPolyGroup_VertexAttributeDelRemove a component from the VertexNodes of a PolyGroup's primitivesSyntax Arguments Description Removes a vertex attribute, such as normals, or texture coordinates, from a PolyGroup. PSemantic is a string, such as E3dVtxAttribute_Normal, E3dVtxAttribute_Color, E3dVtxAttribute_ST etc. Return value E_SUCCESS if all went well, or an error code See also E3dMeshPolyGroup_AreaCalculate surface area of a PolyGroupSyntax Arguments Description This function computes the surface area of a PolyGroup. Return value None. See also E3dMeshPolyGroup_UpdateForDisplayEUNUSED_CODEUSED_CODE D_CODE ODE Update a PolyGroup of a Mesh for drawing Syntax Arguments Description This function updates the given PolyGroup of the given Mesh for drawing. This is a platform-independent procedure that ensures that the given Mesh will be drawn correctly after changes to its components. Calling this function for a Geometry after change, with only the necessary flags set, helps EQUINOX-3D greatly improve performance by only updating things that really changed. For example, if the position of a few Vertices changed in a Mesh, use the E3dUpdateMeshSHAPE flag. Return value None. E3dMeshPolyGroup_CollectVertexAttributesCollect VertexNode components of a PolyGrouplect VertexNode components of a PolyGroup t VertexNode components of a PolyGroup ertexNode components of a PolyGroup exNode components of a PolyGroup ode components of a PolyGroup components of a PolyGroup mponents of a PolyGroup nents of a PolyGroup ts of a PolyGroup of a PolyGroup a PolyGroup olyGroup Group up // E3dNOTE: Could we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? E3dNOTE: Could we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? NOTE: Could we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? E: Could we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? Could we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? ld we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? we unify this function with E3dPolyGroup_GLCreateVertexArrayExt? unify this function with E3dPolyGroup_GLCreateVertexArrayExt? fy this function with E3dPolyGroup_GLCreateVertexArrayExt? this function with E3dPolyGroup_GLCreateVertexArrayExt? s function with E3dPolyGroup_GLCreateVertexArrayExt? unction with E3dPolyGroup_GLCreateVertexArrayExt? tion with E3dPolyGroup_GLCreateVertexArrayExt? n with E3dPolyGroup_GLCreateVertexArrayExt? ith E3dPolyGroup_GLCreateVertexArrayExt? E3dPolyGroup_GLCreateVertexArrayExt? dPolyGroup_GLCreateVertexArrayExt? lyGroup_GLCreateVertexArrayExt? roup_GLCreateVertexArrayExt? p_GLCreateVertexArrayExt? LCreateVertexArrayExt? eateVertexArrayExt? eVertexArrayExt? rtexArrayExt? xArrayExt? rayExt? Ext? ? / This function only supports TextureMappers / ST sets on the PolyGroup (not on the Mesh). Syntax Arguments Description Collects VertexNode data into an array for serialization (e.g. into a file), or potentially for building GPU vertex arrays. Return value E_SUCCESS, if successful, or an error code. Also: An array of E3dCoord, E3dST or other values in PBufferRet, the byte stride in PStrideRet and a list of indices in PIndicesRet, if PIndicesRet is not NULL. |