Overview

Sample Code

Programming Guide

API Reference

Support

HPS::Exchange Class Reference

#include <sprk_exchange.h>

Classes

class  CADModel
 
class  Capture
 
class  CommonMeasurementOperator
 
class  Component
 
class  Configuration
 
class  ExportACISOptionsKit
 
class  ExportIGESOptionsKit
 
class  ExportJTOptionsKit
 
class  ExportNotifier
 
class  ExportParasolidOptionsKit
 
class  ExportPRCOptionsKit
 
class  ExportSTEPOptionsKit
 
class  ExportSTLOptionsKit
 
class  ExportU3DOptionsKit
 
class  ExportXMLOptionsKit
 
class  Factory
 
class  File
 
class  Filter
 
class  ImportNotifier
 
class  ImportOptionsKit
 
class  JT
 
class  MeasurementOperator
 
class  ModelFileImportOptionsKit
 
class  PRC
 
class  ProductOccurrence
 
class  ProE
 
class  ReloadNotifier
 
class  Sheet
 
class  STEP
 
class  Tessellation
 
class  TessellationOptionsKit
 
class  Translation
 
class  TranslationNotifier
 
class  TranslationOptionsKit
 
class  U3D
 

Public Types

enum  AnnotationCaptureFitting { AnnotationCaptureFitting::PMIOnly, AnnotationCaptureFitting::ModelAndPMI }
 
enum  BRepMode { BRepMode::TessellationOnly, BRepMode::BRepOnly, BRepMode::BRepAndTessellation }
 
typedef std::vector
< Configuration,
HPS::Allocator< Configuration > > 
ConfigurationArray
 
typedef HPS::IntArray ParasolidEntityArray
 
typedef std::vector< Sheet,
HPS::Allocator< Sheet > > 
SheetArray
 
enum  Units {
  Units::Unknown, Units::Point, Units::Inch, Units::Millimeter,
  Units::Centimeter, Units::Pica, Units::Foot, Units::Yard,
  Units::Meter, Units::Kilometer, Units::Mile
}
 

Detailed Description

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

Member Enumeration Documentation

Enumerates the type of data in the scene to use to generate cameras for annotation captures.

Enumerator
PMIOnly 

Use only the bounds of the PMI referenced by the annotation capture to compute the camera.

ModelAndPMI 

Use the bounds of the model and the PMI referenced by the annotation capture to compute the camera.

Enumerates the ways in which to import BRep and tessellation data for files imported via Exchange.

Enumerator
TessellationOnly 

Only tessellation data will be requested from Exchange, which will tessellate items as necessary or extract existing tessellations as appropriate. No BRep data will be available for the file if this mode is used. (kA3DReadTessOnly)

BRepOnly 

Only BRep data will be requested from Exchange, and each representation item will be tessellated individually as necessary. This can potentially lead to a lower peak memory level at the expense of a potentially longer import. (kA3DReadGeomOnly)

BRepAndTessellation 

BRep and tessellation data will be requested from Exchange, which will perform the tessellations in one shot rather than on demand. This can potentially lead to a higher peak memory level with the benefit of a potentially faster import. (kA3DReadGeomAndTess)

enum HPS::Exchange::Units
strong

Enumerates the units for files imported via Exchange.

Enumerator
Unknown 

Unknown unit type (kA3DUnitUnknown).

Point 

Point (1/72 of an inch) units (kA3DUnitPoint).

Inch 

Inch units (kA3DUnitInch).

Millimeter 

Millimeter units (kA3DUnitMillimeter).

Centimeter 

Centimeter units (kA3DUnitCentimeter).

Pica 

Pica (1/72 of a foot) units (kA3DUnitPicas).

Foot 

Foot units (kA3DUnitFoot).

Yard 

Yard units (kA3DUnitYard).

Meter 

Meter units (kA3DUnitMeter).

Kilometer 

Kilometer units (kA3DUnitKilometer).

Mile 

Mile units (kA3DUnitMile).


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