:: 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
- 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
- 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
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.