HPS::Parasolid Class Reference

#include <sprk_parasolid.h>

Classes

class  CADModel
 
class  Component
 
class  ExportOptionsKit
 
class  Facet
 
class  FacetTessellationKit
 
class  Factory
 
class  File
 
class  ImportNotifier
 
class  ImportOptionsKit
 
class  Line
 
class  LineTessellationKit
 
class  Viewport
 

Public Types

typedef std::vector< Component, HPS::Allocator< Component > > ComponentArray
 
enum  CompoundBodyBehavior { CompoundBodyBehavior::Split, CompoundBodyBehavior::Keep, CompoundBodyBehavior::Fail }
 
typedef std::vector< double, HPS::Allocator< double > > DoubleArray
 
typedef HPS::IntArray EntityArray
 
enum  Format { Format::Text, Format::Binary, Format::NeutralBinary }
 
enum  Ignore { Ignore::Absolute, Ignore::FeatureToModelRatio, Ignore::FeatureToBodyRatio }
 
enum  MismatchBehavior { MismatchBehavior::Ignore, MismatchBehavior::Fail }
 
typedef int ParasolidEntity
 
enum  TessellationLevel {
  TessellationLevel::ExtraLow, TessellationLevel::Low, TessellationLevel::Medium, TessellationLevel::High,
  TessellationLevel::ExtraHigh, TessellationLevel::Custom
}


 
typedef std::vector< Facet::Tolerance, HPS::Allocator< Facet::Tolerance > > ToleranceArray
 
typedef std::vector< Viewport, HPS::Allocator< Viewport > > ViewportArray
 

Detailed Description

The Parasolid class contains objects and enumerations used for importing and exporting CAD files via Parasolid.

Member Enumeration Documentation

◆ CompoundBodyBehavior

Enumerates the behaviors the Parasolid importer can assume when encountering compound bodies.

Enumerator
Split 

Split compound bodies into simple bodies.

Keep 

Import compound bodies as-is.

Fail 

Fail when encountering a compound body.

◆ Format

Enumerates the formats Parasolid can import.

Enumerator
Text 

Text File.

Binary 

Machine Dependent Binary File.

NeutralBinary 

Machine Independent Binary File.

◆ Ignore

Enumerates the way the Parasolid importer chooses which facets or lines to ignore during tessellation. Corresponds to the PK_face_ignore_t struct.

Enumerator
Absolute 

specify an absolute value

FeatureToModelRatio 

specify ratio of feature to model box

FeatureToBodyRatio 

specify ratio of feature to body box

◆ MismatchBehavior

Enumerates the behaviors the Parasolid importer can assume when encountering attribute mismatches.

Enumerator
Ignore 

Ignore attribute mismatches.

Fail 

Fail on attribute mismatch.

◆ TessellationLevel

Enumerates predefined tessellation levels used to import Parasolid files.

Enumerator
ExtraLow 

Extra Low tessellation setting.

Low 

Low tessellation setting.

Medium 

Medium tessellation setting.

High 

High tessellation setting.

ExtraHigh 

Extra High tessellation setting.

Custom 

Custom tessellation setting. Chord and Angle values will need to be specified.


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