(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: graphic ::

unpublished interface XPrimitive3D
Usage Restrictions
not published
Description
XPrimitive3D interface This is the basic interface for graphic 3D primitives. They need to be able - to provide a decomposition consisting of simpler graphic primitives - to provide a 3D bound rectangle as a 3D range

Methods' Summary
getDecomposition Retrieve decomposed list of simpler primitives  
getRange Retrieve bound rect of primitive This method calculates the actual bound rect of the area in world coordinates. Note that for view-dependent primitives, the necessary pixel adjustments are taken into account. For that reason the ViewParameters need to be given.  
Methods' Details
getDecomposition
sequence< XPrimitive3D >
getDecomposition( [in] sequence< ::com::sun::star::beans::PropertyValue >  aViewParameters );

Description
Retrieve decomposed list of simpler primitives
Parameter aViewParameters
3D View-specific parameter set. The defined but not mandatory parameters include: double Time Defines the point in time for which the geometry is defined. This may lead to varied results for animated objects. This value is defined in the range [0.0 .. n[, negative values are not allowed. If not given, a value of 0.0 is implied.
getRange
::com::sun::star::geometry::RealRectangle3D
getRange( [in] sequence< ::com::sun::star::beans::PropertyValue >  aViewParameters );

Description
Retrieve bound rect of primitive This method calculates the actual bound rect of the area in world coordinates. Note that for view-dependent primitives, the necessary pixel adjustments are taken into account. For that reason the ViewParameters need to be given.
Parameter aViewParameters
3D View-specific parameter set, same as in getDecomposition.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.