All Frameworks  Class Hierarchy  This Framework  Indexes

VisualizationBase Global Function CATReadCgr


extern CAT3DRep * CATReadCgr(char* iFileName,
CATSettingCgr iSettingCgr,
CATVizCGRAccessMode ioMode= CATVizCGRAccessModeMemory)
This Function is the interface with the Cgr file. Role: Reads a Cgr file and returns its graphic data as a pointer to a CAT3DRep.
Returns:
If everything is OK, the function returns a valid pointer to a CAT3DRep, else, it returns a NULL pointer.
Parameters:
iFileName
The cgr file name to read.
iSettingCgr
do not use. Set this parameter to the USE_LODS_TEXTURE_EDGE value.
ioMode
Defines the method used for writing the CGR. The default value is set to CATVizCGRAccessModeMemory.

This object is included in the file: CATReadWriteCgr.h

Copyright © 2003, Dassault Systèmes. All rights reserved.