DoRepType(3D)

NAME
DoRepType - Create a representation type primitive attribute object

SYNOPSIS
C:
DtObject DoRepType(type)
DtRepType type;

FORTRAN:
INTEGER*4 DOREPT(TYPE)
INTEGER*4 TYPE

DESCRIPTION
DoRepType creates a representation type primitive attribute object. The type parameter specifies the primary geometric representation with which subsequent primitive objects will render themselves. Possible values are:

DcPoints <DCPNTS>
    Points

DcWireframe <DCWIRE>
    Outlines of decomposed elements

DcSurface <DCSURF>
    Surfaces

DcOutlines <DCOUTL>
    Polygon outlines

DcSurfaceWireframeEdges <DCSWEG>
    Surfaces with colored edges on decomposed elements

DcSurfaceOutlineEdges <DCSOEG>
    Surfaces with colored edges on polygon outlines

The difference between DcWireframe and DcOutlines is that with DcWireframe the outlines of all elements in the object will be drawn, including any triangles or other elements to which a primitive has been decomposed. With DcOutlines you will only see the outlines of the object as defined by the application.

With DcSurfaceWireframeEdges and DcSurfaceOutlineEdges you get surfaces along with visible outlines. The color of the outlines is determined by the DoSurfaceEdgeColor <DOSEGC> attribute. DcSurfaceWireframeEdges will draw the edges of all the elements of the object after polygon decomposition. DcSurfaceOutlineEdges will draw the edges of the object as defined by the application.

DEFAULTS
The default value for DoRepType is DcWireframe <DCWIRE>.

SEE ALSO
DoInterpType(3D), DoSurfaceEdgeColor(3D)