LibreOffice
LibreOffice 24.2 SDK API Reference
|
XPrimitive3D interface. More...
import"XPrimitive3D.idl";
Public Member Functions | |
sequence< XPrimitive3D > | getDecomposition ([in] sequence< ::com::sun::star::beans::PropertyValue > aViewParameters) |
Retrieve decomposed list of simpler primitives. More... | |
::com::sun::star::geometry::RealRectangle3D | getRange ([in] sequence< ::com::sun::star::beans::PropertyValue > aViewParameters) |
Retrieve bound rect of primitive. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
XPrimitive3D interface.
This is the basic interface for graphic 3D primitives. They need to be able
sequence< XPrimitive3D > getDecomposition | ( | [in] sequence< ::com::sun::star::beans::PropertyValue > | aViewParameters | ) |
Retrieve decomposed list of simpler primitives.
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.
::com::sun::star::geometry::RealRectangle3D getRange | ( | [in] sequence< ::com::sun::star::beans::PropertyValue > | aViewParameters | ) |
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.
aViewParameters | 3D View-specific parameter set, same as in getDecomposition. |