Module to define a 3D Artwork to add in a 3D Annotation. More...

Data Structures

struct  A3DPDF3DArtworkData
 A3DPDF3DArtworkData structure. More...
 
struct  A3DPDF3DArtworkData2
 A3DPDF3DArtworkData2 structure. More...
 

Functions

A3DStatus A3DPDF3DArtworkCreate (A3DPDFDocument *pDoc, const A3DPDF3DArtworkData *p3DArtworkData, A3DPDF3DArtwork **pp3DArtwork)
 Function to create the 3D Artwork of the 3D Annot. More...
 
A3DStatus A3DPDF3DArtworkCreate2 (A3DPDFDocument *pDoc, const A3DPDF3DArtworkData2 *p3DArtworkData, A3DPDF3DArtwork **pp3DArtwork)
 Function to create the 3D Artwork of the 3D Annot. More...
 
A3DStatus A3DPDF3DArtworkGetBoundingSphere (A3DPDF3DArtwork *p3DArtwork, A3DDouble *pdRadius, A3DVector3dData *pCenter)
 Get the bounding sphere of the default view of the 3D Artwork. More...
 

Detailed Description

Module to define a 3D Artwork to add in a 3D Annotation.

This module describes the functions and structures that allow you to define 3D data in the page.

Function Documentation

◆ A3DPDF3DArtworkCreate()

A3DStatus A3DPDF3DArtworkCreate ( A3DPDFDocument pDoc,
const A3DPDF3DArtworkData p3DArtworkData,
A3DPDF3DArtwork **  pp3DArtwork 
)

Function to create the 3D Artwork of the 3D Annot.

Deprecated:
This function is deprecated. Please use A3DPDF3DArtworkCreate2 instead.

The 3D Artwork object is primarily created with this function, and it should be stored on the 3D Annot through the structure A3DPDF3DAnnotData.

Parameters
[in,out]pDocThe Document object to work with.
[in]p3DArtworkDataThe 3D Artwork parameters.
[out]pp3DArtworkThe 3D Artwork object created.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_SUCCESS
Version
4.1

◆ A3DPDF3DArtworkCreate2()

A3DStatus A3DPDF3DArtworkCreate2 ( A3DPDFDocument pDoc,
const A3DPDF3DArtworkData2 p3DArtworkData,
A3DPDF3DArtwork **  pp3DArtwork 
)

Function to create the 3D Artwork of the 3D Annot.

The 3D Artwork object is primarily created with this function, and it should be stored on the 3D Annot through the structure A3DPDF3DAnnotData.

Parameters
[in,out]pDocThe Document object to work with.
[in]p3DArtworkDataThe 3D Artwork parameters.
[out]pp3DArtworkThe 3D Artwork object created.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_SUCCESS
Version
8.1

◆ A3DPDF3DArtworkGetBoundingSphere()

A3DStatus A3DPDF3DArtworkGetBoundingSphere ( A3DPDF3DArtwork p3DArtwork,
A3DDouble pdRadius,
A3DVector3dData pCenter 
)

Get the bounding sphere of the default view of the 3D Artwork.

Parameters
[in]p3DArtworkThe 3D Artwork object to work with
[out]pdRadiusThe radius of the bounding sphere.
[out]pCenterThe center of the bounding sphere.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_SUCCESS
Version
5.1