HIOManager.h
Go to the documentation of this file.
85 #define HIORegisterInputType(type,input_object) HIOManager::GetCurrentHIOManager()->RegisterInputHandler(type, input_object);
90 #define HIORegisterOutputType(type,output_object) HIOManager::GetCurrentHIOManager()->RegisterOutputHandler(type, output_object);
183 virtual bool GetHoopsEntities(void * pKernelEntity, vlist_s *ret_HoopsKeysList, HC_KEY modelKey);
524 OPT_CELLHEADER
547 void (*m_pPRCMultiModelSelectionCallback) (char const * in_container, int in_num_configs, char const * in_configs[],
616 For 2D files (DWF only as of this time), the drawing can be layered either by using depth range or by offsetting
617 the z values. To separate the layers by z value, make sure z > 0. To use depth range, make sure depth range > 0.
646 FORCE_DOUBLE
720 virtual HFileInputResult FileInputByKey(const char * filename, HC_KEY key, HInputHandlerOptions * options);
721 virtual HFileInputResult FileInputByKey(const __wchar_t * filename, HC_KEY key, HInputHandlerOptions * options);
732 virtual HFileInputResult FileInputByKey(const unsigned short * filename, HC_KEY key, HInputHandlerOptions * options);
744 virtual HFileInputResult FileInputToImageKey(const char * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options);
745 virtual HFileInputResult FileInputToImageKey(const __wchar_t * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options);
757 virtual HFileInputResult FileInputToImageKey(const unsigned short * filename, HC_KEY * image_key, HC_KEY segment_key, HInputHandlerOptions * options);
803 HIOPercentNoticeCallback * SetInputPercentProgressNoticeCallback(HIOPercentNoticeCallback *percent_notice_callback);
1314 virtual HFileOutputResult FileOutputByKey(const char * filename, HC_KEY key, HOutputHandlerOptions * options);
1315 virtual HFileOutputResult FileOutputByKey(const __wchar_t * filename, HC_KEY key, HOutputHandlerOptions * options);
1324 virtual HFileOutputResult FileOutputByKey(const unsigned short * filename, HC_KEY key, HOutputHandlerOptions * options);
1335 virtual HFileOutputResult FileOutputFromImageKey(const char * filename, HC_KEY image_key, HOutputHandlerOptions * options);
1336 virtual HFileOutputResult FileOutputFromImageKey(const __wchar_t * filename, HC_KEY image_key, HOutputHandlerOptions * options);
1398 HIOPercentNoticeCallback * SetOutputPercentProgressNoticeCallback(HIOPercentNoticeCallback *percent_notice_callback);
1483 virtual HOutputHandler * RegisterOutputHandler(const char * file_type, HOutputHandler * handler);
1495 virtual HIOConnector * RegisterConnector(const char * file_type, HIO_CREATE_FREE_FUNCTION Create, HIO_FREE_CONNECTOR_FUNCTION Free);
int PaperDpi() const
Indicates the DPI used for paper. This is set from the options dialog.
Definition: HIOManager.h:1081
Definition: HIOManager.h:1456
size_t LineFuseThreshold() const
Definition: HIOManager.h:1032
HBaseView * m_pHBaseView
A pointer to the HBaseView object for this output.
Definition: HIOManager.h:943
float PaperWidth() const
Width for output sizing in inches.
Definition: HIOManager.h:1008
bool m_bDGNRebaselineModel
DGN file import option: if true then whole model is rebased with use of model extents to compensate f...
Definition: HIOManager.h:573
Definition: HIOManager.h:877
bool m_bPRCExtractLargeTranslations
PRC import option: If set to true, large translation matrices set at the top of the model will be str...
Definition: HIOManager.h:565
Definition: HIOManager.h:99
void WindowFrame(bool const tf)
Determines if a window frame is drawn or not.
Definition: HIOManager.h:1062
void HSRAOptions(char const *const tf)
HOOPS HSRAOption string .
Definition: HIOManager.h:975
bool m_pPRCDeleteModelFile
PRC import option: If true model file is deleted after loading is complete.
Definition: HIOManager.h:531
void(* m_pPRCDeleteModelCallback)(void *&pPRCAsmModelFile)
PRC import option: Function pointer to delete model.
Definition: HIOManager.h:552
bool m_bPRCImportHiddenObjects
PRC import option: If true, hidden objects will be imported though not visible. If false...
Definition: HIOManager.h:554
char const * m_pPDFResourceDirectory
Definition: HIOManager.h:1189
struct vlist_s * owned_output_handlers
A list of default HOutputHandlers created by the manager.
Definition: HIOManager.h:1624
bool m_bLogging
If true, logging will be enabled in those plugins that support it.
Definition: HIOManager.h:486
The HBhvBehaviorManager class stores and manages all animation related data.
Definition: HBhvBehaviorManager.h:237
HCamera * Camera() const
A pointer to the HCamera object for this output.
Definition: HIOManager.h:959
void StlNormals(bool const tf)
Determines if we generate and output face normals when writing to STL file format.
Definition: HIOManager.h:1145
bool m_bDWFRebaselineModel
DWF file import option: if true then whole model is rebased with use of model extents to compensate f...
Definition: HIOManager.h:589
Definition: HUtility.h:2357
MVO_POINTER_SIZED_INT m_iPrcNameUserDataIndex
Definition: HIOManager.h:1225
const char * m_license
A pointer to a license key, intended to be used by 3rd party toolkits which require a license key to ...
Definition: HIOManager.h:498
struct vhash_s * mhash_Hoops2Kernel
A hash map between HOOPS Keys and kernel entities.
Definition: HIOManager.h:214
const char * m_pImageName
The HOOPS image name to use for a newly loaded image.
Definition: HIOManager.h:474
Definition: HIOManager.h:148
HInputHandler an abstract base class for model and image input.
Definition: HIOManager.h:671
bool m_bAVIShowCompressionDialog
Definition: HIOManager.h:1232
bool m_bDGNImportAllModels
DGN file import option: if true then all the models are imported in the DGN file else only current mo...
Definition: HIOManager.h:576
BREP_Topology * m_pPRCTopologyManager
PRC import option: Pointer to connector class. If not null prc topology entities will be associated t...
Definition: HIOManager.h:536
void * m_pOOCNodeDeltas
OOC import option: Pointer to node deltas. If not null, importer will use it to selectively reject po...
Definition: HIOManager.h:628
Specifies an HOutputHandler for a hardcopy output type.
Definition: HIOManager.h:867
HIOConnector * m_pConnector
A pointer to HIOConnector object. The connectivity between HOOPS and kernel will be stored in this...
Definition: HIOManager.h:489
HBhvBehaviorManager * m_pBehaviorManager
A pointer to the behavior manager.
Definition: HIOManager.h:1181
float m_PRCModelUnits
PRC import option: Used to specify the model units of an already loaded model, so that other models c...
Definition: HIOManager.h:560
Definition: HIOManager.h:122
void(* m_pPRCMultiModelSelectionCallback)(char const *in_container, int in_num_configs, char const *in_configs[], int &out_config_selection)
PRC import option: Function pointer for interactive multi-model loading.
Definition: HIOManager.h:547
void PaperWidth(float const f)
Width for output sizing in inches.
Definition: HIOManager.h:1010
bool m_bOOCAutoCleanup
OOC import option: Determines whether or not the view for the OOC model should automatically cleanup ...
Definition: HIOManager.h:634
void ConserveMemory(bool const tf)
This option has been deprecated and has no effect.
Definition: HIOManager.h:1051
data is converted to float if it appears safe, otherwise it is retained as double ...
Definition: HIOManager.h:644
struct vhash_s * input_handlers
A hash of HInputHandlers.
Definition: HIOManager.h:1612
HOutputHandler an abstract base class for model and image output.
Definition: HIOManager.h:1269
H_OUTPUT_TYPE OutputType() const
The output type.
Definition: HIOManager.h:1122
Specifies using an iso view (looking at the origin from (1, 1, 1))
Definition: HIOManager.h:236
Specifies an HOutputHandler for a MVO style html file.
Definition: HIOManager.h:868
void OutputType(H_OUTPUT_TYPE ot)
The output type.
Definition: HIOManager.h:1124
bool WindowFrame() const
Determines if a window frame is drawn or not.
Definition: HIOManager.h:1060
int ImageDpi() const
Indicates the DPI used for images. This is calculated with info from HC_Show_Device_Info.
Definition: HIOManager.h:1074
bool m_bPRCLoadAsDrawings
PRC import option: When loading a DWG or DXF file through HIOUtilityExchange, set this option to true...
Definition: HIOManager.h:557
indicates that cell header entity will be imported as single segment
Definition: HIOManager.h:522
const char * m_pImageFormat
The HOOPS image format to use for loading an image if not using filename .ext for format...
Definition: HIOManager.h:477
int m_attributePrecisionMode
The manner in which precision in attributes (such as matrices) is handled.
Definition: HIOManager.h:650
void PaperHeight(float const f)
Height for output sizing in inches.
Definition: HIOManager.h:1017
indicates that cell header will have as many segments as its children
Definition: HIOManager.h:523
struct vhash_s * connector_procs
A hash of HIOConnector Create/Free functions.
Definition: HIOManager.h:1618
void * m_pExtendedData
A pointer to extra data needed by a HInputHandler subclass.
Definition: HIOManager.h:492
float WindowHeight() const
Height for output sizing in inches.
Definition: HIOManager.h:1001
HOutputHandlerOptions(const HOutputHandlerOptions &o)
Definition: HIOManager.h:930
double m_factorForSmartSolids
Definition: HIOManager.h:511
HC_KEY m_PRCReferenceSegmentKey
PRC import option: If this model is being loaded with the intent of it being merged with another...
Definition: HIOManager.h:570
bool m_bPRCStoreUserAttributes
PRC import option: If true all prc user attributes will be converted as user option.
Definition: HIOManager.h:550
void UseSubscreen(bool const tf)
Determines if HOOPS is calculating a subscreen to match the output to the size of the view window...
Definition: HIOManager.h:1069
float WindowWidth() const
Width for output sizing in inches.
Definition: HIOManager.h:994
char const * m_pHTMLTemplateFile
Definition: HIOManager.h:1249
HBaseView * View() const
A pointer to the HBaseView object for this output.
Definition: HIOManager.h:945
HPoint const * WindowColor() const
Set the color of the window. The RGB color stored in xyz of HPoint.
Definition: HIOManager.h:980
bool m_bPRCCreatePRCFileOnly
PRC import option: If true temporary prc file will be created but no parsing and creation of HOOPS en...
Definition: HIOManager.h:542
HInputHandlerOptions(HInputHandlerOptions const *o)
Definition: HIOManager.h:326
struct vlist_s * loaded_input_handlers
A list of dynamically loaded HInputHandlers libraries.
Definition: HIOManager.h:1627
void Model(HBaseModel *const m)
A pointer to the HBaseModel object for this output.
Definition: HIOManager.h:954
bool UseSubscreen() const
Determines if HOOPS is calculating a subscreen to match the output to the size of the view window...
Definition: HIOManager.h:1067
HInputHandlerOptions(const HInputHandlerOptions &o)
Definition: HIOManager.h:401
The HBaseModel class is used to store and manage model information.
Definition: HBaseModel.h:47
Definition: HIOManager.h:908
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
Specifies using a top view (looking down the positive Z-axis at the XY-plane)
Definition: HIOManager.h:235
bool m_bForceRenderedModeColors
Rhino file import option: if true then Exchange will force rendered mode colors instead of shading mo...
Definition: HIOManager.h:595
void WindowColor(HPoint const *const tf)
Set the color of the window. The RGB color stored in xyz of HPoint.
Definition: HIOManager.h:982
bool m_bPrcRemoveAttributes
Definition: HIOManager.h:1219
struct vhash_s * output_handlers
A hash of HOutputHandlers.
Definition: HIOManager.h:1615
HC_KEY Key() const
The HC_Key for this output.
Definition: HIOManager.h:966
int m_Version
The file format version desired for writing.
Definition: HIOManager.h:1115
bool StlNormals() const
Determines if we generate and output face normals when writing to STL file format.
Definition: HIOManager.h:1143
bool m_bOOCAutoUpdate
OOC import option: Determines whether or not the view for the OOC model should automatically update w...
Definition: HIOManager.h:631
bool m_bDwgSkipUnreferencedBlocks
Definition: HIOManager.h:613
void WindowWidth(float const f)
Width for output sizing in inches.
Definition: HIOManager.h:996
bool Ascii() const
Some file formats, support binary and ascii such as STL. Set this to true for ascii output...
Definition: HIOManager.h:1136
float PaperHeight() const
Height for output sizing in inches.
Definition: HIOManager.h:1015
void UseWindowColor(bool const tf)
If set to true, the background color of the view is used.
Definition: HIOManager.h:989
void * m_pPRCAsmModelFile
PRC import option: Returned to user. Contains Pointer to A3DAsmModelFile entity.
Definition: HIOManager.h:528
bool ConserveMemory() const
This option has been deprecated and has no effect.
Definition: HIOManager.h:1049
HPrcBrepCompression m_ePrcBrepCompression
Definition: HIOManager.h:1213
bool ForceGrayscale() const
Specifies black and white output.
Definition: HIOManager.h:1022
HBaseModel * Model() const
A pointer to the HBaseModel object for this output.
Definition: HIOManager.h:952
void Output3d(bool const tf)
Some file formats, such as PDF and DWF, support 2d and/or 3d output. Set this to TRUE for 3d output...
Definition: HIOManager.h:1131
bool m_bPrcCompressTessellation
Definition: HIOManager.h:1229
data is kept in the format from the file
Definition: HIOManager.h:643
Definition: HIOManager.h:246
bool m_bOptimizeSegmentTree
SKP file import option: if true then model is optimized using Optimize_Segment_Tree API...
Definition: HIOManager.h:592
bool m_generatedDouble
The manner in which precision in geometry is handled.
Definition: HIOManager.h:656
void SetInputOps(unsigned long ops)
This sets the HInputOp.
Definition: HIOManager.h:841
struct vlist_s * loaded_output_handlers
A list of dynamically loaded HOutputHandlers libraries.
Definition: HIOManager.h:1630
void PaperDpi(int const dpi)
Indicates the DPI used for paper. This is set from the options dialog.
Definition: HIOManager.h:1083
HStreamFileToolkit * m_tk
The streamfile toolkit to be used.
Definition: HIOManager.h:483
struct vlist_s * owned_input_handlers
A list of default HInputHandlers created by the manager.
Definition: HIOManager.h:1621
bool m_bImportMetadata
DWG and SKP import option: Set to true if you want to import the metadata (xdata) along with the geom...
Definition: HIOManager.h:495
void SetOutputOps(unsigned long ops)
This sets the HOutputOp.
Definition: HIOManager.h:1434
bool UseWindowColor() const
If set to true, the background color of the view is used.
Definition: HIOManager.h:987
struct vhash_s * mhash_Kernel2Hoops
A hash map between kernel entities and HOOPS Keys.
Definition: HIOManager.h:217
bool Output3d() const
Some file formats, such as PDF and DWF, support 2d and/or 3d output. Set this to TRUE for 3d output...
Definition: HIOManager.h:1129
int m_iDGNCellHeaderOption
DGN file import option: has three option about how cell header should be imported.
Definition: HIOManager.h:514
bool m_bIsTestingSettings
Testing settings. true if you want to activate testings settings.
Definition: HIOManager.h:659
Specifies using the active viewport in the DWG file if present (if no active viewport is present...
Definition: HIOManager.h:237
struct vhash_s * created_connectors
A list of created HIOConnectors.
Definition: HIOManager.h:1633
HIOConnector * m_pPRCPMIConnector
PRC import option: Pointer to connector class. If not null prc PMI entities will be associated to HOO...
Definition: HIOManager.h:534
void WindowHeight(float const f)
Height for output sizing in inches.
Definition: HIOManager.h:1003
HOutputHandlerOptions(HOutputHandlerOptions const *o)
Definition: HIOManager.h:923
bool m_bPRCMergeFaces
PRC import option: If true individual faces will be merged into one shell.
Definition: HIOManager.h:538
bool FastPrint() const
This option has been deprecated. Specifies printing method.
Definition: HIOManager.h:1042
HBaseView * m_pHBaseView
A pointer to the HBaseView object for this input.
Definition: HIOManager.h:471
char const * HSRAOptions() const
HOOPS HSRAOption string .
Definition: HIOManager.h:973
bool m_bHTMLIncludeMeasurementInformation
Definition: HIOManager.h:1252
bool m_bImportThumbnail
DWF file import option: if true then Thumbnail are imported in the DWF file.
Definition: HIOManager.h:586
void View(HBaseView *const v)
A pointer to the HBaseView object for this output.
Definition: HIOManager.h:947
Specifies using the view determined by the camera in the scene segment.
Definition: HIOManager.h:238
bool m_bLocal
The value is true if the image will have the local attribute.
Definition: HIOManager.h:480