HInputHandlerOptions

class HInputHandlerOptions

HInputHandlerOptions is used to pass data to the HInputHandler. All options are used based on the handler’s needs. Specific HInputHandler subclassed instances should document their own usage of options.

Enumerations

Methods

HInputHandlerOptions::HInputHandlerOptions()

Construct an HInputHandlerOptions object.

HInputHandlerOptions::HInputHandlerOptions(HInputHandlerOptions const *o)

Construct an HInputHandlerOptions object from another HInputHandlerOptions object.

Parameters

o: A pointer to an HInputHandlerOptions object that you want to copy.
HInputHandlerOptions::HInputHandlerOptions(HInputHandlerOptions const &o)

Construct an HInputHandlerOptions object from another HInputHandlerOptions object.

Parameters

o: Pass by reference an HInputHandlerOptions object that you want to copy.
virtual HInputHandlerOptions::~HInputHandlerOptions()

virtual

Variables

HBaseView *HInputHandlerOptions::m_pHBaseView
HBaseView

A pointer to the HBaseView object for this input.

char const *HInputHandlerOptions::m_pImageName
char const

The HOOPS image name to use for a newly loaded image.

char const *HInputHandlerOptions::m_pImageFormat
char const

The HOOPS image format to use for loading an image if not using filename .ext for format.

bool HInputHandlerOptions::m_bLocal
bool

The value is true if the image will have the local attribute.

HStreamFileToolkit *HInputHandlerOptions::m_tk
HStreamFileToolkit

The streamfile toolkit to be used.

bool HInputHandlerOptions::m_bLogging
bool

If true, logging will be enabled in those plugins that support it.

HIOConnector *HInputHandlerOptions::m_pConnector

A pointer to HIOConnector object. The connectivity between HOOPS and kernel will be stored in this.

void *HInputHandlerOptions::m_pExtendedData
void

A pointer to extra data needed by a HInputHandler subclass.

bool HInputHandlerOptions::m_bImportMetadata
bool

DWG and SKP import option: Set to true if you want to import the metadata (xdata) along with the geometry.

char const *HInputHandlerOptions::m_license
char const

A pointer to a license key, intended to be used by 3rd party toolkits which require a license key to be passed in. Currently used by HIO_Exchange and HIO_Publish

bool HInputHandlerOptions::m_bIgnoreOffEntities
bool

DGN,DWG and SketchUp file import option: If true, ignores import of entities whose visibility is off.

double HInputHandlerOptions::m_coneFactor
double

DGN file import option: This is for elements inserted as meshes in HOOPS. Increasing value of this factor increases the number of rows/columns in mesh elements.

double HInputHandlerOptions::m_factorForSmartSolids
double

DGN file import option: This is for smarts/feature solids. This is angle in degree with range from 0 to 360 Increasing the value decreases the tessellation

int HInputHandlerOptions::m_iDGNCellHeaderOption
int

DGN file import option: has three option about how cell header should be imported.

void *HInputHandlerOptions::m_pPRCAsmModelFile
void

PRC import option: Returned to user. Contains Pointer to A3DAsmModelFile entity.

bool HInputHandlerOptions::m_pPRCDeleteModelFile
bool

PRC import option: If true model file is deleted after loading is complete.

HIOConnector *HInputHandlerOptions::m_pPRCPMIConnector

PRC import option: Pointer to connector class. If not null prc PMI entities will be associated to HOOPS keys.

BREP_Topology *HInputHandlerOptions::m_pPRCTopologyManager
BREP_Topology

PRC import option: Pointer to connector class. If not null prc topology entities will be associated to HOOPS keys.

bool HInputHandlerOptions::m_bPRCMergeFaces
bool

PRC import option: If true individual faces will be merged into one shell.

bool HInputHandlerOptions::m_bPRCImportNonBrepFaces
bool
bool HInputHandlerOptions::m_bPRCCreatePRCFileOnly
bool

PRC import option: If true temporary prc file will be created but no parsing and creation of HOOPS entities occurs.

bool HInputHandlerOptions::m_bPRCInstanceShells
bool
bool HInputHandlerOptions::m_bPRCCalculatePhysicalProperties
bool
void (*HInputHandlerOptions::m_pPRCMultiModelSelectionCallback)(char const *in_container, int in_num_configs, char const *in_configs[], int &out_config_selection)
void(

PRC import option: Function pointer for interactive multi-model loading.

bool HInputHandlerOptions::m_bPRCStoreUserAttributes
bool

PRC import option: If true all prc user attributes will be converted as user option.

void (*HInputHandlerOptions::m_pPRCDeleteModelCallback)(void *&pPRCAsmModelFile)
void(

PRC import option: Function pointer to delete model.

bool HInputHandlerOptions::m_bPRCImportHiddenObjects
bool

PRC import option: If true, hidden objects will be imported though not visible. If false, hidden objects will be skipped over and not imported.

bool HInputHandlerOptions::m_bPRCLoadAsDrawings
bool

PRC import option: When loading a DWG or DXF file through HIOUtilityExchange, set this option to true to import it as a drawing, false to import it as a 3D model.

float HInputHandlerOptions::m_PRCModelUnits
float

PRC import option: Used to specify the model units of an already loaded model, so that other models can be scaled appropriately when loaded in the same scene.

bool HInputHandlerOptions::m_bPRCExtractLargeTranslations
bool

PRC import option: If set to true, large translation matrices set at the top of the model will be stripped out to avoid visual artifacts due to precision loss. The extracted translation, if any, will be stored on the model segment as a user option with name “extracted translation = (x, y, z)”. By default, this option is set to false.

HC_KEY HInputHandlerOptions::m_PRCReferenceSegmentKey
HC_KEY

PRC import option: If this model is being loaded with the intent of it being merged with another, previously loaded model, and if m_bPRCExtractLargeTranslations is set to true, m_PRCReferenceSegment should contain the key of the segment of the previously loaded model. Doing so will guarantee that relative transformations between the two models are taken into account when large translations are extracted.

bool HInputHandlerOptions::m_bDGNRebaselineModel
bool

DGN file import option: if true then whole model is rebased with use of model extents to compensate for the floating point precision loss

bool HInputHandlerOptions::m_bDGNImportAllModels
bool

DGN file import option: if true then all the models are imported in the DGN file else only current model is imported.

bool HInputHandlerOptions::m_bDisableDWFDrawOrder
bool

DWF file import option: If true, Draw order will be ignored, depth range setting will not be added in entity segments. Segment optimization works better this way.

bool HInputHandlerOptions::m_bImportThumbnail
bool

DWF file import option: if true then Thumbnail are imported in the DWF file.

bool HInputHandlerOptions::m_bDWFRebaselineModel
bool

DWF file import option: if true then whole model is rebased with use of model extents to compensate for the floating point precision loss

bool HInputHandlerOptions::m_bOptimizeSegmentTree
bool

SKP file import option: if true then model is optimized using Optimize_Segment_Tree API. Can be set to true if scene graph structure is not important

bool HInputHandlerOptions::m_bForceRenderedModeColors
bool

Rhino file import option: if true then Exchange will force rendered mode colors instead of shading mode colors when importing Rhino files.

bool HInputHandlerOptions::m_bLegacyOptimize
bool

DGN file import option: If true, then user options for entities remain at the segment level. If false, then user options for entities will be moved onto geometry. A setting of false is recommended as it allows for a more optimal scene graph.

bool HInputHandlerOptions::m_bDwgSkipUnreferencedBlocks
bool

DWG file import option: If true, entities of type AcDbBlockTableRecord, which are not referenced by other AcDbBlockTableRecords will not be imported. AcDbBlockTableRecord entities which are Layouts will always be imported. A setting of false will provide the user with a complete representation of the file Block Table. A setting of true will improve the import time of DWG files containing unreferenced block table records. This setting defaults to false.

double HInputHandlerOptions::m_z_separation
double
double HInputHandlerOptions::m_depth_range
double

For 2D files (DWF only as of this time), the drawing can be layered either by using depth range or by offsetting the z values. To separate the layers by z value, make sure z > 0. To use depth range, make sure depth range > 0.

bool HInputHandlerOptions::m_bOOCAutoUpdate
bool

OOC import option: Determines whether or not the view for the OOC model should automatically update when new points are loaded into memory.

bool HInputHandlerOptions::m_bOOCAutoCleanup
bool

OOC import option: Determines whether or not the view for the OOC model should automatically cleanup the OOC data when the view is destroyed.

int HInputHandlerOptions::m_attributePrecisionMode
int

The manner in which precision in attributes (such as matrices) is handled.

bool HInputHandlerOptions::m_generatedDouble
bool

The manner in which precision in geometry is handled.

returned to caller. true if the importer generated any double-precision data

bool HInputHandlerOptions::m_bIsTestingSettings
bool

Testing settings. true if you want to activate testings settings.