[cgma-dev] r3118 - cgm/trunk/geom/ACIS_SRC
Tim Tautges
tautges at mcs.anl.gov
Tue Aug 25 10:50:23 CDT 2009
Thanks.
- tim
hongjun at mcs.anl.gov wrote:
> Author: hongjun
> Date: 2009-08-25 09:38:58 -0500 (Tue, 25 Aug 2009)
> New Revision: 3118
>
> Modified:
> cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp
> cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp
> Log:
> o "export_solid_model" and "import_solid_model" functions are added.
> o They are pure virtual functions in GeometryQueryEngine.
> o Dummy implementation for the functions.
>
>
> Modified: cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp
> ===================================================================
> --- cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp 2009-08-24 20:58:43 UTC (rev 3117)
> +++ cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp 2009-08-25 14:38:58 UTC (rev 3118)
> @@ -758,6 +758,14 @@
> return status;
> }
>
> +CubitStatus AcisQueryEngine::export_solid_model( DLIList<TopologyBridge*>& bridge_list,
> + char*& p_buffer,
> + int& n_buffer_size,
> + bool b_export_buffer)
> +{
> + return CUBIT_FAILURE;
> +}
> +
> CubitStatus
> AcisQueryEngine::remove_refinements( ENTITY_LIST& list )
> {
> @@ -967,6 +975,13 @@
> return status;
> }
>
> +CubitStatus AcisQueryEngine::import_solid_model(DLIList<TopologyBridge*> &imported_entities,
> + const char* pBuffer,
> + const int n_buffer_size)
> +{
> + return CUBIT_FAILURE;
> +}
> +
> CubitStatus AcisQueryEngine::restore_entity_list(
> ENTITY_LIST &entity_list,
> DLIList<TopologyBridge*> &bridge_list,
>
> Modified: cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp
> ===================================================================
> --- cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp 2009-08-24 20:58:43 UTC (rev 3117)
> +++ cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp 2009-08-25 14:38:58 UTC (rev 3118)
> @@ -203,6 +203,11 @@
> //- the underlying representation and file type. It returns
> //- CUBIT_SUCCESS if everything goes well.
>
> + virtual CubitStatus export_solid_model( DLIList<TopologyBridge*>& bridge_list,
> + char*& p_buffer,
> + int& n_buffer_size,
> + bool b_export_buffer);
> +
> virtual CubitStatus save_temp_geom_file(DLIList<TopologyBridge*> &ref_entity_list,
> const char *filename,
> const CubitString &cubit_version,
> @@ -252,6 +257,10 @@
> //- the underlying representation and file type. It returns
> //- CUBIT_SUCCESS if everything goes well.
>
> + virtual CubitStatus import_solid_model(DLIList<TopologyBridge*> &imported_entities,
> + const char* pBuffer,
> + const int n_buffer_size);
> +
> CubitStatus restore_entity_list(ENTITY_LIST &entity_list,
> DLIList<TopologyBridge*> &bridge_list,
> CubitBoolean print_results = CUBIT_TRUE,
>
>
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the cgma-dev
mailing list