gov.nasa.worldwind.ogc.collada.impl.ColladaRenderable Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2012 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.ogc.collada.impl;
import gov.nasa.worldwind.geom.Box;
import gov.nasa.worldwind.render.DrawContext;
/**
* Interface for rendering COLLADA elements.
*
* @author pabercrombie
* @version $Id: ColladaRenderable.java 1696 2013-10-31 18:46:55Z tgaskins $
*/
public interface ColladaRenderable
{
/**
* Returns this renderable's model coordinate extent.
*
* @param tc The traversal context to use when determining the extent.
* @return The model coordinate extent.
*
* @throws IllegalArgumentException if either the traversal context is null.
*/
Box getLocalExtent(ColladaTraversalContext tc);
/**
* Pre-Render this element.
*
* @param tc the current COLLADA traversal context.
* @param dc the current draw context.
*
* @throws IllegalArgumentException if either the traversal context or the draw context is null.
*/
void preRender(ColladaTraversalContext tc, DrawContext dc);
/**
* Render this element.
*
* @param tc the current COLLADA traversal context.
* @param dc the current draw context.
*
* @throws IllegalArgumentException if either the traversal context or the draw context is null.
*/
void render(ColladaTraversalContext tc, DrawContext dc);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy