Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface OverrideRenderable

All Superinterfaces:
CascadeRenderable, java.lang.Comparable, Renderable
All Known Implementing Classes:
AppearanceOverride

public interface OverrideRenderable
extends CascadeRenderable

Renderable object that applies some visual effect down the children cullables of the scene graph and can be overriden.

This interface is a close sibling to EffectRenderable, of which it shares many common traits, but differs in several distinct ways. Firstly the effects renderables have a fixed override pattern - classes lower down the scene graph of the same time always override the parent. This interface is configurable by the end user to allow either top down or bottom up overrides. Secondly, the effects renderable adds additional rendering properties to the basic appearance. This class overrides the appearance directly with a new appearance.

Version:
$Revision: 2.2 $
Author:
Justin Couch

Method Summary
 AppearanceRenderable getAppearanceRenderable()
          Fetch the renderable that represents the visual appearance modifiers of the leaf nodes.
 boolean overrideLower()
          Check which direction has preference for the appearance handling.
 boolean useLocalOnlyAppearance()
          Check to see if this is a local appearance only or it should accumulate the leaf node colours/textures.
 
Methods inherited from interface org.j3d.aviatrix3d.rendering.CascadeRenderable
isEnabled
 
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable
equals
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

overrideLower

boolean overrideLower()
Check which direction has preference for the appearance handling. If this is true then this instance will override those lower down the scene graph. If false, then those lower on the tree override this instance.

Returns:
true if this overrides instances lower

getAppearanceRenderable

AppearanceRenderable getAppearanceRenderable()
Fetch the renderable that represents the visual appearance modifiers of the leaf nodes. If no renderable is returned then it is treated as though it is not enabled, and ignored by the culling.

Returns:
The current appearance renderable or null if none

useLocalOnlyAppearance

boolean useLocalOnlyAppearance()
Check to see if this is a local appearance only or it should accumulate the leaf node colours/textures.

Returns:
true if we should only use the appearance node details from here

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org