HIOUtilityPDF
-
class
HIOUtilityPDF The
HIOUtilityPDFclass provides support for output of 2d and 3d pdf files.Inherits from: HOutputHandler
Methods
-
HIOUtilityPDF::HIOUtilityPDF() Constructs an
HIOUtilityPDFobject.
-
HIOUtilityPDF::~HIOUtilityPDF()
-
char const *
HIOUtilityPDF::GetOutputName() Returns
A character pointer denoting the name of the handler.
-
void
HIOUtilityPDF::RegisterOutputHandlerTypes() This method registers the “pdf” extension to this handler as an output handler.
-
char const *
HIOUtilityPDF::GetOutputTypesString() Returns
The string of the type of output this handler creates which is “pdf”.
-
HOutputHandlerStyle
HIOUtilityPDF::GetOutputStyle() Returns
The type of output style which is HOutputHandlerStyleHardcopy.
-
char const *
HIOUtilityPDF::GetOutputDefaultHSRA() Returns
The default HSRA for theHIOUtilityPDFinstance.
-
bool
HIOUtilityPDF::Has3dSupport() This method checks if there’s a u3d handler registered. If there is, then we can output a 3d pdf file.
Returns
True if this handler can output 3d pdf file or false if it cannot.
-
HFileOutputResult
HIOUtilityPDF::FileOutputByKey(__wchar_t const *filename, HC_KEY key, HOutputHandlerOptions *options) This method exports the HOOPS segment tree under the given key to a pdf file.
Parameters
filename: The name of the file to output.
key: The HOOPS segment key to output model data from.
options: Pass a pointer to HPDFOptions with information to specify the dimensions of the output as well as if you want a 3D or 2D output.
Returns
The #HFileOutputResult result of the output operation.
-
HFileOutputResult
HIOUtilityPDF::FileOutputByKey(char const *filename, HC_KEY key, HOutputHandlerOptions *options)
-
HFileOutputResult
HIOUtilityPDF::FileOutputByKey2D(__wchar_t const *filename, HC_KEY key, HOutputHandlerOptions *options) protected
This method exports the HOOPS segment tree under the given key to a 2D pdf file.
Parameters
filename: The name of the file to output.
key: The HOOPS segment key to output model data from.
options: Pass a pointer to HPDFOptions with information to specify the dimensions of the output as well as if you want a 3D or 2D output.
Returns
The #HFileOutputResult result of the output operation.
-
HFileOutputResult
HIOUtilityPDF::FileOutputByKey2D(char const *filename, HC_KEY key, HOutputHandlerOptions *options) protected