PEXSetOCCValueMask - Setup OC Context Value Mask


Synopsis

 
     void PEXSetOCCValueMask(
          unsigned long *mask,
          unsigned int attr
      )
 

Arguments

mask
The address of the value mask - a single unsigned long.

attr
A single OC Context Value bitmask constant.

Description

Invoke the PEXSetOCCValueMask function to set up the bitmask for the OC Context values. See the list below for the symbols to use in creating the bitmask.

This function only sets the bit corresponding to the attr in the mask; all other bits in the mask remain unchanged. To set multiple bits in the mask, invoke this function multiple times using different values in the attr argument.

OCC Value Bitmask Names

 
The bits for the mask are named:              PEXOCCValues member names:
 PEXOCCMDisplay                                display
 PEXOCCMRenderer                               renderer
 PEXOCCMStructure                              structure
 PEXOCCMReqType                                req_type
 PEXOCCMShapeHint                              shape_hint
 PEXOCCMIgnoreEdges                            ignore_edges
 PEXOCCMContourHint                            contour_hint
 PEXOCCMContoursAllOne                         contours_all_one
 PEXOCCMFacetAttributes                        facet_attributes
 PEXOCCMLineVertexAttributes                   line_vertex_attributes
 PEXOCCMMarkerVertexAttributes                 marker_vertex_attributes
 PEXOCCMSurfaceVertexAttributes                surface_vertex_attributes
 PEXOCCMEdgeAttributes                         edge_attributes
 PEXOCCMFacetFPDataCount                       facet_fp_data_count
 PEXOCCMLineVertexFPDataCount                  line_vertex_fp_data_count
 PEXOCCMMarkerVertexFPDataCount                marker_vertex_fp_data_count
 PEXOCCMSurfaceVertexFPDataCount               surface_vertex_fp_data_count
 PEXOCCMColorType                              color_type
 PEXOCCMEncodingState                          encoding_state
 PEXOCCMDataModel                              data_model
 PEXOCCMDataModelSpecs                         data_model_specs
 PEXOCCMAll5_2                                 all members defined for PEXlib 5.2
 

Errors

None.

See Also

For an overview, see Bitmask/Value Interface.