API Search || Global Search
HPS::ExchangeParasolid::File Class Reference

#include <sprk_exchange_parasolid.h>

Static Public Member Functions

static ImportNotifier Import (char const *in_filename, Exchange::ImportOptionsKit const &in_import_options, Exchange::TranslationOptionsKit const &in_translation_options, Parasolid::FacetTessellationKit const &in_facet_tessellation, Parasolid::LineTessellationKit const &in_line_tessellation)
 
static Exchange::ReloadNotifier Reload (Exchange::Component const &in_component, Exchange::TranslationOptionsKit const &in_translation_options, Parasolid::FacetTessellationKit const &in_facet_tessellation, Parasolid::LineTessellationKit const &in_line_tessellation)
 
static Exchange::ReloadNotifier Reload (Exchange::CADModel const &in_cad_model, Exchange::TranslationOptionsKit const &in_translation_options, Parasolid::FacetTessellationKit const &in_facet_tessellation, Parasolid::LineTessellationKit const &in_line_tessellation)
 
static void Tessellate (Exchange::Component const &in_component, Parasolid::FacetTessellationKit const &in_facet_tessellation, Parasolid::LineTessellationKit const &in_line_tessellation)
 
static void Tessellate (Exchange::CADModel const &in_cad_model, Parasolid::FacetTessellationKit const &in_facet_tessellation, Parasolid::LineTessellationKit const &in_line_tessellation)
 

Detailed Description

The File class provides functions to import CAD files via Exchange and manage the BRep data with Parasolid.

Member Function Documentation

static ImportNotifier HPS::ExchangeParasolid::File::Import ( char const *  in_filename,
Exchange::ImportOptionsKit const &  in_import_options,
Exchange::TranslationOptionsKit const &  in_translation_options,
Parasolid::FacetTessellationKit const &  in_facet_tessellation,
Parasolid::LineTessellationKit const &  in_line_tessellation 
)
static

Performs an asynchronous import of the specified CAD file with the provided options. May throw an IOException prior to starting the asynchronous import. Note that if the import is successful, the CADModel created from this import will own its associated A3DAsmModelFile (see Exchange::CADModel::GetEntityOwnership for more details).

Parameters
in_filenameThe name of the CAD file to import.
in_import_optionsThe options controlling the import of the CAD file.
in_translation_optionsThe options controlling the translation of the CAD data to Parasolid.
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
Returns
An ImportNotfier object that can be used to query the import progress and status.
static Exchange::ReloadNotifier HPS::ExchangeParasolid::File::Reload ( Exchange::Component const &  in_component,
Exchange::TranslationOptionsKit const &  in_translation_options,
Parasolid::FacetTessellationKit const &  in_facet_tessellation,
Parasolid::LineTessellationKit const &  in_line_tessellation 
)
static

Performs an asynchronous reload of the specified Exchange::Component with the provided options. May throw an IOException prior to starting the asynchronous reload. This function differs from the Exchange::Component::Reload function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_translation_optionsThe options controlling the translation of the CAD data to Parasolid.
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
Returns
An Exchange::ReloadNotifier object that can be used to query the reload progress and status.
static Exchange::ReloadNotifier HPS::ExchangeParasolid::File::Reload ( Exchange::CADModel const &  in_cad_model,
Exchange::TranslationOptionsKit const &  in_translation_options,
Parasolid::FacetTessellationKit const &  in_facet_tessellation,
Parasolid::LineTessellationKit const &  in_line_tessellation 
)
static

Performs an asynchronous reload of the specified Exchange::CADModel with the provided options. May throw an IOException prior to starting the asynchronous reload. This function differs from the Exchange::CADModel::Reload function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_translation_optionsThe options controlling the translation of the CAD data to Parasolid.
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
Returns
An Exchange::ReloadNotifier object that can be used to query the reload progress and status.
static void HPS::ExchangeParasolid::File::Tessellate ( Exchange::Component const &  in_component,
Parasolid::FacetTessellationKit const &  in_facet_tessellation,
Parasolid::LineTessellationKit const &  in_line_tessellation 
)
static

Re-tessellate the given Exchange::Component with the provided options. Tessellation will occur for Parasolid bodies under the Exchange component, so calling this function on Component objects below that level will have no effect. If this function is invoked on Component objects above that level, e.g., at the product occurrence level, all Parasolid bodies underneath that Component will be re-tessellated with the provided options. This function differs from the Exchange::Component::Tessellate function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.
static void HPS::ExchangeParasolid::File::Tessellate ( Exchange::CADModel const &  in_cad_model,
Parasolid::FacetTessellationKit const &  in_facet_tessellation,
Parasolid::LineTessellationKit const &  in_line_tessellation 
)
static

Re-tessellate the given Exchange::CADModel with the provided options. Tessellation will occur for Parasolid bodies. This function differs from the Exchange::Component::Tessellate function in that it allows one to specify all Parasolid-related tessellation options, rather than restricting those options to the subset supported by Exchange and Parasolid.

Parameters
in_facet_tessellationThe options controlling the facet tessellation for the Parasolid data.
in_line_tessellationThe options controlling the line tessellation for the Parasolid data.

The documentation for this class was generated from the following file: