Previous Next Up Title Contents Index Functions Index Top Library

QUADRILATERAL MESH WITH DATA

PQMD


CALL SEQUENCE

CALL PQMD	(FFLAG, EFLAG, VFLAG, CTYPE, NCC, NC, NR, FCOLI, FCOLR, FNXA, FNYA, FNZA, FDLEN, FDATA, EDATA, PXA, PYA, PZA, VCOLI, VCOLR, VNXA, VNYA, VNZA, VDLEN, VDATA)

INPUT PARAMETERS

INTEGER FFLAG
Data per facet data flag
(PFNO,PFC,PFN,PFD,PFCN,PFCD,PFND,PFCND)
INTEGER EFLAG
Data per edge data flag (PENO,PEVF)
INTEGER VFLAG
Data per vertex data flag
(PCD,PCDC,PCDN,PCDD,PCDCN,PCDCD,PCDND,PCDCND)
INTEGER CTYPE
Colour type
INTEGER NCC
Number of components of colour value
INTEGER NC,NR
Number of columns, number of rows
INTEGER FCOLI((NP-1)*(NR-1))
Facet colour indices
REAL FCOLR(NCC*(NC-1)*(NR-1))
Facet colour values
REAL FNXA((NC-1)*(NR-1))
REAL FNYA((NC-1)*(NR-1))
REAL FNZA((NC-1)*(NR-1))
Facet normal data (MC)
INTEGER FDLEN
Length of application-specific data list per facet
REAL FDATA (FDLEN*(NC-1)*(NR-1))
Facet application-specific data
INTEGER EDATA (2*NC*NR)
Edge data
REAL PXA(NC*NR)
REAL PYA(NC*NR)
REAL PZA(NC*NR)
Coordinates of points (MC)
INTEGER VCOLI (NC*NR)
Vertex colour indices
REAL VCOLR(NCC*NC*NR)
Vertex colour values
REAL VNXA(NC*NR)
REAL VNYA(NC*NR)
REAL VNZA(NC*NR)
Vertex normal data (MC)
INTEGER VDLEN
Length of application-specific data list per vertex
REAL VDATA (VDLEN*NC*NR)
Vertex application-specific data

PHIGS STATE

(PHOP,*,STOP,*)

EFFECT

This function restricts the 3D quadrilateral mesh with data function to 2D (x, y). The z coordinate is set to 0.

The QUADRILATERAL MESH WITH DATA element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on the edit mode value. Element pointer is updated and points to the QUADRILATERAL MESH WITH DATA structure element. The values specified in the function are associated with the element.

Attributes associated with Quadrilateral Mesh With Data:

INTERIOR STYLE

INTERIOR STYLE INDEX

INTERIOR COLOUR

EDGE FLAG

EDGE TYPE

EDGE WIDTH SCALE FACTOR

EDGE COLOUR

DATA MAPPING METHOD

EXTENSION TO THE PHIGS STANDARD

If used in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)
513
Ignoring function, inconsistent edge flag specification

SEE ALSO

open structure, open pipe (ext), quadrilateral 3 mesh with data, inquire current element content, inquire current element type and size, set data mapping representation


Previous Next Up Title Contents Index Functions Index Top Library