Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:48:57

0001 #pragma once
0002 /**
0003 CSGImport.h 
0004 ==============
0005 
0006 See::
0007 
0008     sysrap/tests/stree_load_test.sh 
0009     CSG/tests/CSGFoundry_importTree_Test.sh
0010 
0011 
0012 CAUTION : SOME PARALLEL DEV NEEDS REVIEW, CONSOLIDATION::
0013 
0014     CSG_stree_Convert.h
0015     CSG_stree_Convert_test.cc
0016     CSG_stree_Convert_test.sh
0017 
0018 
0019 **/
0020 
0021 #include <string>
0022 #include "plog/Severity.h"
0023 
0024 struct stree ; 
0025 struct snode ; 
0026 struct sn ; 
0027 
0028 struct CSGFoundry ; 
0029 struct CSGSolid ; 
0030 struct CSGPrim ; 
0031 struct CSGNode ; 
0032 
0033 #include "CSG_API_EXPORT.hh"
0034 
0035 
0036 struct CSG_API CSGImport  // HMM: maybe CSGCreate is a better name ? 
0037 {
0038     static const plog::Severity LEVEL ; 
0039     static const int LVID ; 
0040     static const int NDID ; 
0041 
0042     CSGFoundry*  fd ; 
0043     const stree* st ; 
0044 
0045     CSGImport( CSGFoundry* fd );  
0046  
0047     void import(); 
0048     void importNames(); 
0049     void importSolid(); 
0050     void importInst(); 
0051 
0052     CSGSolid* importSolidRemainder_OLD(int ridx, const char* rlabel); 
0053 
0054     CSGSolid* importSolidGlobal(       int ridx, char ridx_type );
0055     CSGSolid* importSolidFactor(       int ridx, char ridx_type ); 
0056 
0057     CSGPrim*  importPrim( int primIdx, const snode& node ); 
0058     CSGNode*  importNode( int nodeOffset, int partIdx, const snode& node, const sn* nd); 
0059     CSGNode*  importListnode(int nodeOffset, int partIdx, const snode& node, const sn* nd); 
0060 
0061 }; 
0062 
0063 
0064