A3DPDF3DArtworkData structure. More...

Data Fields

A3DBool m_bActivatePMICrossHighlight
A3DBool m_bAddPMISemanticInformation
A3DBool m_bChangePMIColor
A3DBool m_bKeepNativeDefaultView
A3DBool m_bUseRuntimeDisplaySettings
A3DPDFEAnimationStyle m_eAnimationStyle
A3DUns32 m_iNumberOfAnimations
A3DPDFAnimation ** m_ppAnimations
A3DPDFRgbColorData m_sPMIColor

Detailed Description

A3DPDF3DArtworkData structure.

This structure is deprecated. Please use A3DPDF3DArtworkData2 instead.

Field Documentation

◆ m_pStream

A3DPDF3DStream* A3DPDF3DArtworkData::m_pStream

Specifies the 3D stream object created from the 3D data.

◆ m_pcJavaScriptFileName

A3DUTF8Char* A3DPDF3DArtworkData::m_pcJavaScriptFileName

A JavaScript file to store on the 3D Annot.

◆ m_bActivatePMICrossHighlight

A3DBool A3DPDF3DArtworkData::m_bActivatePMICrossHighlight

If true, some JavaScript code is generated so that when the user clicks on a markup, the associated surface is highlighted. Only works with Acrobat 11 and later.

◆ m_bAddPMISemanticInformation

A3DBool A3DPDF3DArtworkData::m_bAddPMISemanticInformation

If true, the information on semantic PMI is added as nodes attributes on the model tree.

◆ m_bKeepNativeDefaultView

A3DBool A3DPDF3DArtworkData::m_bKeepNativeDefaultView

If true, if there's a default view in the PRC modelfile: the default view in the resulting PDF will be that one, no matter if other default views are defined at PDF level. In other situations (no default view in the PRC modelfile; or the boolean is false): a default view is defined at the PDF level. A default view at the PDF level means a view programmatically created using A3DPDFViewCreate, or a default view automatically created by HOOPS Publish if no default view is already defined.
This boolean is not used if the 3D stream is created with A3DPDF3DStreamCreateFromFile.

◆ m_bUseRuntimeDisplaySettings

A3DBool A3DPDF3DArtworkData::m_bUseRuntimeDisplaySettings

This boolean controls which display settings (rendering style, background color and lighting) are applied to the 3D annotation when a view is activated.

  • If the boolean is true, all the views have initially the default display settings, then if the end-user manually changes the settings, this change affects all the views except the 'home' view (the view associated to the 'home' icon in Adobe Reader) for which it resets to the default display settings. The default display settings are the ones assigned to the default view: A3DPDF3DAnnotData values if the default view is a native or the automatic view, and A3DPDFViewData if the default view is a Publish view.
  • If the boolean is false, activating a view resets the display settings as predefined programmatically on the view, whatever the user might manually change. The settings have A3DPDF3DAnnotData values and are all the same for native views or the automatic view; and they have A3DPDFViewData values for Publish views, which can be potentially different for each view.

Warning: all the display behaviors might be affected by a bug in Adobe Reader when the toolbar is not displayed. For a full control of display settings, it might be better to always display the toolbar. If not, unexpected rendering might be observed.

◆ m_eAnimationStyle

A3DPDFEAnimationStyle A3DPDF3DArtworkData::m_eAnimationStyle

The animation style.

◆ m_iNumberOfAnimations

A3DUns32 A3DPDF3DArtworkData::m_iNumberOfAnimations

Number of animations.


◆ m_ppAnimations

A3DPDFAnimation** A3DPDF3DArtworkData::m_ppAnimations



◆ m_bChangePMIColor

A3DBool A3DPDF3DArtworkData::m_bChangePMIColor

If this value is true, the color of the markup in the artwork will be set to m_adRGB. If this value is false, the markup keeps the color it has in the CAD file, or the default color if it does not have a defined color.


◆ m_sPMIColor

A3DPDFRgbColorData A3DPDF3DArtworkData::m_sPMIColor

Color of the markup in the artwork if m_bChangePMIColor is set to true.