Interface ProjectionDecorator3D<T extends Projection>
- All Known Implementing Classes:
Continuous3DProjectionDecorator
,Grid3DProjectionDecorator
public interface ProjectionDecorator3D<T extends Projection>
Interface for classes that will decorate projection visualizations. Decorating
a projection refers to such things as adding grid lines for a grid projection,
bounding boxes, etc.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionGets the projection that this decorator decorates.void
Initializes the decorator.void
setProjection
(T projection) Sets the that this decorator decorates.void
update()
Updates the decorator.
-
Method Details
-
init
Initializes the decorator. Implementors should add the decorating shapes to the parent branch group.- Parameters:
display
-parent
- the parent to which the decoration should be added
-
update
void update()Updates the decorator. The intention is that this would only do something if the decoration has changed from that created in init. -
setProjection
Sets the that this decorator decorates.- Parameters:
projection
-
-
getProjection
T getProjection()Gets the projection that this decorator decorates.- Returns:
- the projection that this decorator decorates.
-