int PEXOCCTMCoordQuadrilateralMesh(
PEXOCC context,
PEXTMCoordData *tm_coord_data,
PEXPointer facet_data,
unsigned int col_count,
unsigned int row_count,
PEXPointer vertices
)
- context
- An OC context returned by a successful
PEXCreateOCC
call.
- tm_coord_data
- A pointer
to parameterization data for this primitive. (See
Description
in
PEXOCCTMCoordFillAreaSet).
- facet_attributes (OCC)
- A mask indicating the facet attributes provided
(PEXGANone, PEXGAColor, PEXGANormal or
PEXGAFloatData).
- surface_vertex_attributes (OCC)
- A mask indicating the vertex attributes provided
(PEXGANone, PEXGAColor, PEXGANormal,
PEXGAEdges, PEXGA2D or
PEXGAFloatData).
- color_type (OCC)
- The type of color data
provided (PEXColorTypeIndexed,
PEXColorTypeRGB, PEXColorTypeCIE,
PEXColorTypeHSV, PEXColorTypeHLS,
PEXColorTypeRGB8, PEXColorTypeRGB16,
PEXColorTypeRGBA, PEXColorTypeRGBA8 or
PEXColorTypeRGBA16).
- facet_fp_data_count (OCC)
- The number of
optional floating-point numbers for each
facet.
- surface_vertex_fp_data_count (OCC)
- The number of floating-point data values defined with
each vertex.
- facet_data
- A pointer to the facet data.
See Data Formats.
- col_count
- The number of columns in the
vertex array.
- row_count
- The number of rows in the vertex array.
- vertices
- A pointer to the vertex data
interpreted as a two-dimensional (row-major) array of
vertices defining the quadrilateral mesh
See Data Formats.
- data_model (OCC)
- Specifies the data model
used to represent the geometric data.
- data_model_specs (OCC)
Offset and size data
for the
PEXDataStride
or PEXDataUnpacked data
models.
<Same as for
PEXOCCTMCoordFillAreaSet.>
Invoke PEXOCCTMCoordQuadrilateralMesh to compute a
projection of texture coordinates onto a quadrilateral mesh
and store them in the specified vertex data
fields.
<The rest of the
description is identical to the description for
PEXOCCTMCoordFillAreaSet.>
None.
For a list of related topics and for a list of all texture
mapping functions, see Texture Mapping.