org.ogre4j
Interface ITangentSpaceCalc

All Superinterfaces:
INativeObject
All Known Implementing Classes:
TangentSpaceCalc

public interface ITangentSpaceCalc
extends INativeObject


Nested Class Summary
static interface ITangentSpaceCalc.IIndexDataList
           
static interface ITangentSpaceCalc.IIndexRemap
           
static interface ITangentSpaceCalc.IIndexRemapList
           
static interface ITangentSpaceCalc.IOpTypeList
           
static interface ITangentSpaceCalc.IResult
           
static interface ITangentSpaceCalc.IVertexInfo
           
static interface ITangentSpaceCalc.IVertexInfoArray
           
static interface ITangentSpaceCalc.IVertexSplit
           
static interface ITangentSpaceCalc.IVertexSplits
           
 
Method Summary
 void addIndexData(IIndexData i_in, RenderOperation.OperationType opType)
          Add a set of index data that references the vertex data.
 void build(ITangentSpaceCalc.IResult returnValue, VertexElementSemantic targetSemantic, int sourceTexCoordSet, int index)
          Build a tangent space basis from the provided data.
 void clear()
           
 boolean getSplitMirrored()
          Gets whether or not to split vertices when a mirrored tangent space transition is detected.
 boolean getSplitRotated()
          Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex.
 boolean getStoreParityInW()
          Gets whether to store tangent space parity in the W of a 4-component tangent or not.
 void setSplitMirrored(boolean split)
          Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix parity differs).
 void setSplitRotated(boolean split)
          Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex.
 void setStoreParityInW(boolean enabled)
          Sets whether to store tangent space parity in the W of a 4-component tangent or not.
 void setVertexData(IVertexData v_in)
          Set the incoming vertex data (which will be modified)
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

clear

void clear()

setVertexData

void setVertexData(IVertexData v_in)
Set the incoming vertex data (which will be modified)


addIndexData

void addIndexData(IIndexData i_in,
                  RenderOperation.OperationType opType)
Add a set of index data that references the vertex data. This might be modified if there are vertex splits.


setStoreParityInW

void setStoreParityInW(boolean enabled)
Sets whether to store tangent space parity in the W of a 4-component tangent or not.


getStoreParityInW

boolean getStoreParityInW()
Gets whether to store tangent space parity in the W of a 4-component tangent or not.


setSplitMirrored

void setSplitMirrored(boolean split)
Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix parity differs).


getSplitMirrored

boolean getSplitMirrored()
Gets whether or not to split vertices when a mirrored tangent space transition is detected.


setSplitRotated

void setSplitRotated(boolean split)
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex.


getSplitRotated

boolean getSplitRotated()
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex.


build

void build(ITangentSpaceCalc.IResult returnValue,
           VertexElementSemantic targetSemantic,
           int sourceTexCoordSet,
           int index)
Build a tangent space basis from the provided data.



Copyright © 2007 netAllied GmbH. All Rights Reserved.