use of org.concord.energy3d.shapes.SizeAnnotation in project energy3d by concord-consortium.
the class HousePart method fetchSizeAnnot.
protected SizeAnnotation fetchSizeAnnot(final int annotCounter, final Node sizeAnnotRoot) {
final SizeAnnotation annot;
if (annotCounter < sizeAnnotRoot.getChildren().size()) {
annot = (SizeAnnotation) sizeAnnotRoot.getChild(annotCounter);
annot.getSceneHints().setCullHint(CullHint.Inherit);
} else {
annot = new SizeAnnotation();
sizeAnnotRoot.attachChild(annot);
}
return annot;
}
Aggregations