diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03360.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03360.html | 2530 |
1 files changed, 2530 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03360.html b/docs/doxygen/nel/a03360.html new file mode 100644 index 00000000..675aa01e --- /dev/null +++ b/docs/doxygen/nel/a03360.html @@ -0,0 +1,2530 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CSegRemanenceShape class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CSegRemanenceShape Class Reference</h1><code>#include <<a class="el" href="a06361.html">seg_remanence_shape.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CSegRemanenceShape: +<p><center><img src="a03360.png" usemap="#NL3D::CSegRemanenceShape_map" border="0" alt=""></center> +<map name="NL3D::CSegRemanenceShape_map"> +<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="96,112,279,136"> +<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,183,80"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="193,56,376,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="193,0,376,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Shape for the remanence of a segment (sword stroke ..)<p> +NB this doesn't support material with animated texture matrix (texture matrix is used internally)<p> +<dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00065">65</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea0">clip</a> (const std::vector< <a class="el" href="a03082.html">CPlane</a> > &pyramid, const <a class="el" href="a02851.html">CMatrix</a> &worldMatrix)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea1">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &bbox) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CSegRemanenceShapea1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea2">getAnimatedMaterial</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get animated material or NULL if none. <a href="#NL3D_1_1CSegRemanenceShapea2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea4">getCorner</a> (<a class="el" href="a04558.html#a15">uint</a> corner) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea5">getDistMax</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02839.html">CMaterial</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea6">getMaterial</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get material. <a href="#NL3D_1_1CSegRemanenceShapea6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea7">getNumCorners</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea8">getNumSlices</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea10">getRollupRatio</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea11">getSliceTime</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea12">getTextureShifting</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Test whether there is texture shifting at the start of the animation. <a href="#NL3D_1_1CSegRemanenceShapea12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea8">profileSceneRender</a> (<a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea14">setAnimatedMaterial</a> (const std::string &name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Force animated material. This can be called only once. <a href="#NL3D_1_1CSegRemanenceShapea14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea15">setBBox</a> (const <a class="el" href="a02156.html">NLMISC::CAABBox</a> &bbox)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea16">setCorner</a> (<a class="el" href="a04558.html#a15">uint</a> corner, const <a class="el" href="a03128.html">NLMISC::CVector</a> &<a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea11">setDistMax</a> (float distMax)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea18">setMaterial</a> (const <a class="el" href="a02839.html">CMaterial</a> &mat)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea19">setNumCorners</a> (<a class="el" href="a04558.html#a15">uint</a> numCorners)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea20">setNumSlices</a> (<a class="el" href="a04558.html#a11">uint32</a> numSlices)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea21">setRollupRatio</a> (float ratio)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea22">setSliceTime</a> (float sliceTime)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea23">setTextureShifting</a> (bool on=true)</td></tr> + +<tr><td colspan="2"><div class="groupHeader"></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_0">CSegRemanenceShape</a> (const <a class="el" href="a03360.html">CSegRemanenceShape</a> &other)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_1">CSegRemanenceShape</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_2">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a03360.html">CSegRemanenceShape</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03360.html">CSegRemanenceShape</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_3">operator=</a> (const <a class="el" href="a03360.html">CSegRemanenceShape</a> &other)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_4">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_5">~CSegRemanenceShape</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez893_0">getDefaultPos</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez893_1">getDefaultRotQuat</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez893_2">getDefaultScale</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo * </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">from IShape</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_0">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &scene)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_1">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_2">getNumTriangles</a> (float distance)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_3">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Default to -1. <a href="#NL3D_1_1IShapep0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03128.html">CVector</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapey0">TCornerVect</a></td></tr> + +<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaped0">copyFromOther</a> (const <a class="el" href="a03360.html">CSegRemanenceShape</a> &other)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaped1">setupMaterial</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaped2">setupVBnPB</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02846.html">CMaterialBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02157.html">NLMISC::CAABBoxExt</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">For clipping. <a href="#NL3D_1_1CSegRemanenceShaper1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapey0">TCornerVect</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper3">_DefaultPos</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper4">_DefaultRotQuat</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper5">_DefaultScale</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03105.html">CPrimitiveBlock</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper10">_PB</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper11">_RollUpRatio</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper12">_SliceTime</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper13">_TextureShifting</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html">CVertexBuffer</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper14">_VB</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapey0" doxytag="NL3D::CSegRemanenceShape::TCornerVect" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03128.html">CVector</a>> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapey0">NL3D::CSegRemanenceShape::TCornerVect</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00165">165</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez891_1" doxytag="NL3D::CSegRemanenceShape::CSegRemanenceShape" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CSegRemanenceShape::CSegRemanenceShape </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +default ctor : a seg from (0, 0, 0) to (0, 0, 1) A default bbox is set (from (-3, -3, -3) to (3, 3, 3)) +<p> +Definition at line <a class="el" href="a06360.html#l00041">41</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a05385.html#l00181">NLMISC::CAABBoxExt::setCenter()</a>, <a class="el" href="a05385.html#l00182">NLMISC::CAABBoxExt::setHalfSize()</a>, and <a class="el" href="a06360.html#l00116">setNumCorners()</a>. +<p> +<div class="fragment"><pre>00041 : <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a>(<span class="keyword">true</span>), +00042 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a>(<span class="keyword">true</span>), +00043 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper13">_TextureShifting</a>(<span class="keyword">true</span>), +00044 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a>(8), +00045 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper12">_SliceTime</a>(0.05f), +00046 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper11">_RollUpRatio</a>(1.f), +00047 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>(NULL) +00048 { +00049 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a>.<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1910_1">setCenter</a>(NLMISC::CVector::Null); +00050 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a>.<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1910_2">setHalfSize</a>(<a class="code" href="a03128.html">NLMISC::CVector</a>(3, 3, 3)); +00051 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShapea19">setNumCorners</a>(2); +00052 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez891_5" doxytag="NL3D::CSegRemanenceShape::~CSegRemanenceShape" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CSegRemanenceShape::~<a class="el" href="a03360.html">CSegRemanenceShape</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00282">282</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00181">_AnimatedMat</a>. +<p> +<div class="fragment"><pre>00283 { +00284 <span class="keyword">delete</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>; +00285 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez891_0" doxytag="NL3D::CSegRemanenceShape::CSegRemanenceShape" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CSegRemanenceShape::CSegRemanenceShape </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03360.html">CSegRemanenceShape</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>other</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00265">265</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06360.html#l00288">copyFromOther()</a>. +<p> +<div class="fragment"><pre>00265 : <a class="code" href="a02539.html#NL3D_1_1IShapea7">IShape</a>(other), <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>(NULL) +00266 { +00267 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaped0">copyFromOther</a>(other); +00268 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea0" doxytag="NL3D::CSegRemanenceShape::clip" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CSegRemanenceShape::clip </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::vector< <a class="el" href="a03082.html">CPlane</a> > & </td> + <td class="mdname" nowrap> <em>pyramid</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02851.html">CMatrix</a> & </td> + <td class="mdname" nowrap> <em>worldMatrix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +clip this shape with a pyramid. the pyramid is given in world space.The world matrix of the object is given. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>pyramid</em> </td><td>the clipping polytope, planes are normalized. </td></tr> + <tr><td valign=top><em>worldMatrix</em> </td><td>the world matrix of the instance. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the object is visible, false otherwise. The default behavior is to return true (never clipped).</dd></dl> + +<p> +Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea0">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a06360.html#l00312">312</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a05504.html#l00088">NLMISC::CBSphere::applyTransform()</a>, <a class="el" href="a05505.html#l00048">NLMISC::CBSphere::Center</a>, <a class="el" href="a05385.html#l00199">NLMISC::CAABBoxExt::getCenter()</a>, <a class="el" href="a05385.html#l00204">NLMISC::CAABBoxExt::getRadius()</a>, <a class="el" href="a05505.html#l00049">NLMISC::CBSphere::Radius</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00313 { +00314 <span class="comment">// Speed Clip: clip just the sphere.</span> +00315 <a class="code" href="a02291.html">NLMISC::CBSphere</a> localSphere(<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a>.<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1912_1">getCenter</a>(), <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a>.<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1912_5">getRadius</a>()); +00316 <a class="code" href="a02291.html">NLMISC::CBSphere</a> worldSphere; +00317 +00318 <span class="comment">// transform the sphere in WorldMatrix (with nearly good scale info).</span> +00319 localSphere.<a class="code" href="a02291.html#NLMISC_1_1CBSpherez1929_0">applyTransform</a>(worldMatrix, worldSphere); +00320 +00321 <span class="comment">// if out of only plane, entirely out.</span> +00322 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<(<a class="code" href="a04558.html#a14">sint</a>)pyramid.size();i++) +00323 { +00324 <span class="comment">// We are sure that pyramid has normalized plane normals.</span> +00325 <span class="comment">// if SpherMax OUT return false.</span> +00326 <span class="keywordtype">float</span> d= pyramid[i]*worldSphere.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo0">Center</a>; +00327 <span class="keywordflow">if</span>(d>worldSphere.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo1">Radius</a>) +00328 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00329 } +00330 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00331 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaped0" doxytag="NL3D::CSegRemanenceShape::copyFromOther" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::copyFromOther </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03360.html">CSegRemanenceShape</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>other</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00288">288</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00181">_AnimatedMat</a>, <a class="el" href="a06361.html#l00180">_BBox</a>, <a class="el" href="a06361.html#l00174">_Corners</a>, <a class="el" href="a06361.html#l00167">_GeomTouched</a>, <a class="el" href="a06361.html#l00176">_Mat</a>, <a class="el" href="a06361.html#l00168">_MatTouched</a>, <a class="el" href="a06361.html#l00171">_NumSlices</a>, <a class="el" href="a06361.html#l00178">_PB</a>, <a class="el" href="a06361.html#l00173">_RollUpRatio</a>, <a class="el" href="a06361.html#l00172">_SliceTime</a>, <a class="el" href="a06361.html#l00169">_TextureShifting</a>, and <a class="el" href="a06361.html#l00177">_VB</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00265">CSegRemanenceShape()</a>, and <a class="el" href="a06360.html#l00271">operator=()</a>. +<p> +<div class="fragment"><pre>00289 { +00290 <span class="keywordflow">if</span> (&other == <span class="keyword">this</span>) <span class="keywordflow">return</span>; +00291 CMaterialBase *otherAnimatedMat = other._AnimatedMat != NULL ? <span class="keyword">new</span> CMaterialBase(*other._AnimatedMat) +00292 : NULL; +00293 <span class="keyword">delete</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>; +00294 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a> = otherAnimatedMat; +00295 +00296 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a> = other._GeomTouched; +00297 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a> = other._MatTouched; +00298 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper13">_TextureShifting</a> = other._TextureShifting; +00299 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a> = other._NumSlices; +00300 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper12">_SliceTime</a> = other._SliceTime; +00301 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a> = other._Corners; +00302 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a> = other._Mat; +00303 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper14">_VB</a> = other._VB; +00304 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper10">_PB</a> = other._PB; +00305 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a> = other._BBox; +00306 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper11">_RollUpRatio</a> = other._RollUpRatio; +00307 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez895_0" doxytag="NL3D::CSegRemanenceShape::createInstance" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02537.html">CTransformShape</a> * NL3D::CSegRemanenceShape::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>scene</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +create an instance of this shape. The instance may be a <a class="el" href="a02537.html">CTransformShape</a>, or a specialized version of it. The default behavior is to createModel() a <a class="el" href="a02537.html">CTransformShape</a>, and just assign to it the Shape. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>scene</em> </td><td>the scene used to createModel(). </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the specialized instance for this shape.</dd></dl> + +<p> +Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea1">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a06360.html#l00150">150</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00181">_AnimatedMat</a>, <a class="el" href="a05442.html#l00279">NL3D::CAnimatedValueQuat</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable< CQuat >::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable< CVector >::getValue()</a>, <a class="el" href="a06358.html#l00424">NL3D::CSegRemanence::setAnimatedMaterial()</a>, <a class="el" href="a06568.html#l00522">NL3D::CTransform::setLoadBalancingGroup()</a>, <a class="el" href="a05437.html#l00182">NL3D::CAnimatedMaterial::setMaterial()</a>, <a class="el" href="a06358.html#l00501">NL3D::CSegRemanence::setSliceTime()</a>, <a class="el" href="a06358.html#l00284">NL3D::CSegRemanence::setupFromShape()</a>, and <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>. +<p> +<div class="fragment"><pre>00151 { +00152 CSegRemanence *sr = NLMISC::safe_cast<CSegRemanence *>(scene.createModel(NL3D::SegRemanenceShapeId) ); +00153 sr->Shape = <span class="keyword">this</span>; +00154 CAnimatedMaterial *aniMat = NULL; +00155 <span class="keywordflow">if</span> (<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>) +00156 { +00157 aniMat = <span class="keyword">new</span> CAnimatedMaterial(_AnimatedMat); +00158 aniMat->setMaterial(&_Mat); +00159 } +00160 sr->setAnimatedMaterial(aniMat); +00161 sr->setupFromShape(); +00162 <span class="comment">// SegRemanence are added to the "Fx" Load Balancing Group.</span> +00163 sr->setLoadBalancingGroup(<span class="stringliteral">"Fx"</span>); +00164 +00165 sr->ITransformable::setPos( ((CAnimatedValueVector&)<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper3">_DefaultPos</a>.getValue()).Value ); +00166 sr->ITransformable::setRotQuat( ((CAnimatedValueQuat&)<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper4">_DefaultRotQuat</a>.getValue()).Value ); +00167 sr->ITransformable::setScale( ((CAnimatedValueVector&)<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper5">_DefaultScale</a>.getValue()).Value ); +00168 +00169 sr->setSliceTime(_SliceTime); +00170 +00171 <span class="keywordflow">return</span> sr; +00172 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez895_1" doxytag="NL3D::CSegRemanenceShape::flushTextures" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::flushTextures </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> & </td> + <td class="mdname" nowrap> <em>driver</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>selectedTexture</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +flush textures used by this shape. +<p> +Implements <a class="el" href="a02539.html#NL3D_1_1IShapea2">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a06360.html#l00144">144</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a05968.html#l00355">NL3D::CMaterial::flushTextures()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00145 { +00146 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.flushTextures(driver, selectedTexture); +00147 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea1" doxytag="NL3D::CSegRemanenceShape::getAABBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CSegRemanenceShape::getAABBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +from <a class="el" href="a02539.html">IShape</a> +<p> + +<p> +Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea3">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a06361.html#l00127">127</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +References <a class="el" href="a05385.html#l00206">NLMISC::CAABBoxExt::getAABBox()</a>. +<p> +<div class="fragment"><pre>00127 { bbox = <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a>.<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1912_0">getAABBox</a>(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea2" doxytag="NL3D::CSegRemanenceShape::getAnimatedMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02846.html">CMaterialBase</a>* NL3D::CSegRemanenceShape::getAnimatedMaterial </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get animated material or NULL if none. +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00132">132</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +References <a class="el" href="a06361.html#l00181">_AnimatedMat</a>. +<p> +<div class="fragment"><pre>00132 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CSegRemanenceShape::getClassName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual std::string NLMISC::IClassable::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>. +<p> +Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea4" doxytag="NL3D::CSegRemanenceShape::getCorner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CSegRemanenceShape::getCorner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>corner</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00109">109</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00174">_Corners</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00326">NL3D::CSegRemanence::samplePos()</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <a class="code" href="a04199.html#a6">nlassert</a>(corner < <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.size()); +00112 <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>[corner]; +00113 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez893_0" doxytag="NL3D::CSegRemanenceShape::getDefaultPos" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CSegRemanenceShape::getDefaultPos </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00148">148</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00443">NL3D::CSegRemanence::getDefaultTrack()</a>. +<p> +<div class="fragment"><pre>00148 {<span class="keywordflow">return</span> &<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper3">_DefaultPos</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez893_1" doxytag="NL3D::CSegRemanenceShape::getDefaultRotQuat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03548.html">CTrackDefaultQuat</a>* NL3D::CSegRemanenceShape::getDefaultRotQuat </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00149">149</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00443">NL3D::CSegRemanence::getDefaultTrack()</a>. +<p> +<div class="fragment"><pre>00149 {<span class="keywordflow">return</span> &<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper4">_DefaultRotQuat</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez893_2" doxytag="NL3D::CSegRemanenceShape::getDefaultScale" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CSegRemanenceShape::getDefaultScale </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00150">150</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00443">NL3D::CSegRemanence::getDefaultTrack()</a>. +<p> +<div class="fragment"><pre>00150 {<span class="keywordflow">return</span> &<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper5">_DefaultScale</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea5" doxytag="NL3D::CSegRemanenceShape::getDistMax" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::IShape::getDistMax </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the DistMax where the shape is no more displayed. Default is to return -1, meaning DistMax = infinite. +<p> +Definition at line <a class="el" href="a06377.html#l00112">112</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00112 {<span class="keywordflow">return</span> <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea6" doxytag="NL3D::CSegRemanenceShape::getMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02839.html">CMaterial</a>& NL3D::CSegRemanenceShape::getMaterial </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get material. +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00090">90</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00415">NL3D::CSegRemanence::updateOpacityFromShape()</a>. +<p> +<div class="fragment"><pre>00090 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea7" doxytag="NL3D::CSegRemanenceShape::getNumCorners" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CSegRemanenceShape::getNumCorners </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00108">108</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +References <a class="el" href="a06361.html#l00174">_Corners</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00284">NL3D::CSegRemanence::setupFromShape()</a>. +<p> +<div class="fragment"><pre>00108 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.size(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea8" doxytag="NL3D::CSegRemanenceShape::getNumSlices" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CSegRemanenceShape::getNumSlices </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00097">97</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +References <a class="el" href="a06361.html#l00171">_NumSlices</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00141">NL3D::CSegRemanence::render()</a>, and <a class="el" href="a06358.html#l00284">NL3D::CSegRemanence::setupFromShape()</a>. +<p> +<div class="fragment"><pre>00097 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez895_2" doxytag="NL3D::CSegRemanenceShape::getNumTriangles" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CSegRemanenceShape::getNumTriangles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distance</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get an approximation of the number of triangles this instance will render for a fixed distance. return 0 if do not support degradation. +<p> +Implements <a class="el" href="a02539.html#NL3D_1_1IShapez900_0">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a06360.html#l00176">176</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00171">_NumSlices</a>. +<p> +<div class="fragment"><pre>00177 { +00178 <span class="keywordflow">return</span> (<span class="keywordtype">float</span>) (<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a> * 2); +00179 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CSegRemanenceShape::getRefCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a14">sint</a>& NLMISC::CRefCount::getRefCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>; +00073 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea10" doxytag="NL3D::CSegRemanenceShape::getRollupRatio" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CSegRemanenceShape::getRollupRatio </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00141">141</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +References <a class="el" href="a06361.html#l00173">_RollUpRatio</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00141">NL3D::CSegRemanence::render()</a>. +<p> +<div class="fragment"><pre>00141 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper11">_RollUpRatio</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea11" doxytag="NL3D::CSegRemanenceShape::getSliceTime" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CSegRemanenceShape::getSliceTime </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00099">99</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +<div class="fragment"><pre>00099 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper12">_SliceTime</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea12" doxytag="NL3D::CSegRemanenceShape::getTextureShifting" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CSegRemanenceShape::getTextureShifting </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test whether there is texture shifting at the start of the animation. +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00124">124</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +References <a class="el" href="a06361.html#l00169">_TextureShifting</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00386">NL3D::CSegRemanence::restart()</a>. +<p> +<div class="fragment"><pre>00124 { <span class="keywordflow">return</span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper13">_TextureShifting</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez891_2" doxytag="NL3D::CSegRemanenceShape::NLMISC_DECLARE_CLASS" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CSegRemanenceShape::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03360.html">CSegRemanenceShape</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez891_3" doxytag="NL3D::CSegRemanenceShape::operator=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03360.html">CSegRemanenceShape</a> & NL3D::CSegRemanenceShape::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03360.html">CSegRemanenceShape</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>other</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00271">271</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06360.html#l00288">copyFromOther()</a>. +<p> +<div class="fragment"><pre>00272 { +00273 <span class="keywordflow">if</span> (&other != <span class="keyword">this</span>) +00274 { +00275 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaped0">copyFromOther</a>(other); +00276 (<a class="code" href="a02539.html#NL3D_1_1IShapea7">IShape</a> &) *<span class="keyword">this</span> = (<a class="code" href="a02539.html#NL3D_1_1IShapea7">IShape</a> &) other; <span class="comment">// copy base part </span> +00277 } +00278 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00279 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea8" doxytag="NL3D::CSegRemanenceShape::profileSceneRender" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::IShape::profileSceneRender </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> * </td> + <td class="mdname" nowrap> <em>rdrTrav</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> * </td> + <td class="mdname" nowrap> <em>trans</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>opaquePass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Profiling. Called in RenderPass if Current Frame profiled. No-Op by default Informations must be added in rdrTrav->Scene +<p> +Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz405_5">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_5">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_5">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_4">NL3D::CMeshMultiLod</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00123">123</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00123 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez895_3" doxytag="NL3D::CSegRemanenceShape::render" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::render </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> * </td> + <td class="mdname" nowrap> <em>drv</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> * </td> + <td class="mdname" nowrap> <em>trans</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>opaquePass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_3">render()</a> this shape in a driver, with the specified TransformShape information. CTransfromShape call this method in the render traversal. if opaquePass render the opaque materials else render the transparent materials. +<p> +Implements <a class="el" href="a02539.html#NL3D_1_1IShapea9">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="a06360.html#l00125">125</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00178">_PB</a>, <a class="el" href="a05969.html#l00278">NL3D::CMaterial::getBlend()</a>, <a class="el" href="a06359.html#l00089">NL3D::CSegRemanence::isStarted()</a>, <a class="el" href="a06358.html#l00141">NL3D::CSegRemanence::render()</a>, <a class="el" href="a06360.html#l00243">setupMaterial()</a>, and <a class="el" href="a06360.html#l00183">setupVBnPB()</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <span class="keywordflow">if</span> ((!opaquePass && <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.getBlend()) +00128 || (opaquePass && !<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.getBlend()) +00129 ) +00130 { +00131 CSegRemanence *sr = NLMISC::safe_cast<CSegRemanence *>(trans); +00132 <span class="preprocessor"> #ifndef DEBUG_SEG_REMANENCE_DISPLAY</span> +00133 <span class="preprocessor"></span> <span class="keywordflow">if</span> (!sr->isStarted()) <span class="keywordflow">return</span>; +00134 <span class="preprocessor"> #endif</span> +00135 <span class="preprocessor"></span> <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaped2">setupVBnPB</a>(); +00136 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaped1">setupMaterial</a>(); +00137 <span class="comment">// </span> +00138 sr->render(drv, _VB, _PB, _Mat); +00139 } +00140 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapez891_4" doxytag="NL3D::CSegRemanenceShape::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">NLMISC::IStreamable</a>. +<p> +Definition at line <a class="el" href="a06360.html#l00055">55</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00056 { +00057 <span class="comment">// version 2 : added default tracks</span> +00058 <span class="comment">// version 1 : rollup ratio</span> +00059 <span class="comment">// version 0 : base version</span> +00060 +00061 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(2); +00062 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_NumSlices); +00063 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_SliceTime); +00064 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Corners); +00065 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Mat); +00066 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_BBox); +00067 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_TextureShifting); +00068 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_7">serialPtr</a>(_AnimatedMat); +00069 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00070 { +00071 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a> = <span class="keyword">true</span>; +00072 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a> = <span class="keyword">true</span>; +00073 } +00074 <span class="keywordflow">if</span> (ver >= 1) +00075 { +00076 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_RollUpRatio); +00077 } +00078 <span class="keywordflow">if</span> (ver >= 2) +00079 { +00080 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultPos); +00081 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultRotQuat); +00082 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultScale); +00083 } +00084 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea14" doxytag="NL3D::CSegRemanenceShape::setAnimatedMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setAnimatedMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Force animated material. This can be called only once. +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00254">254</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00181">_AnimatedMat</a>, <a class="el" href="a05438.html#l00068">NL3D::CMaterialBase::Name</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00255 { +00256 <a class="code" href="a04199.html#a6">nlassert</a>(!name.empty()); +00257 <a class="code" href="a04199.html#a6">nlassert</a>(_AnimatedMat == NULL); +00258 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a> = <span class="keyword">new</span> CMaterialBase; +00259 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">_AnimatedMat</a>->Name = name; +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea15" doxytag="NL3D::CSegRemanenceShape::setBBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setBBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02156.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set this shape bounding box NB: ideally the bbox should be computed per model, but practically, a fixed bbox suffice. +<p> +Definition at line <a class="el" href="a06360.html#l00216">216</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +<div class="fragment"><pre>00217 { +00218 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">_BBox</a> = bbox; +00219 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea16" doxytag="NL3D::CSegRemanenceShape::setCorner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setCorner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>corner</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00094">94</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00174">_Corners</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00095 { +00096 <a class="code" href="a04199.html#a6">nlassert</a>(corner < <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.size()); +00097 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>[corner] = <a class="code" href="a04223.html#a658">value</a>; +00098 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea11" doxytag="NL3D::CSegRemanenceShape::setDistMax" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IShape::setDistMax </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting <0 means -1 and so means DistMax = infinite. +<p> +Definition at line <a class="el" href="a06376.html#l00066">66</a> of file <a class="el" href="a06376.html">shape.cpp</a>. +<p> +Referenced by <a class="el" href="a05714.html#l00039">NL3D::CFlareShape::CFlareShape()</a>. +<p> +<div class="fragment"><pre>00067 { +00068 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= distMax; +00069 <span class="comment">// normalize infinite setup.</span> +00070 <span class="keywordflow">if</span>(distMax<0) +00071 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= -1; +00072 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea18" doxytag="NL3D::CSegRemanenceShape::setMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02839.html">CMaterial</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mat</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set material. A double sided material is forced +<p> +Definition at line <a class="el" href="a06360.html#l00222">222</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00168">_MatTouched</a>. +<p> +<div class="fragment"><pre>00223 { +00224 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a> = mat; +00225 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a> = <span class="keyword">true</span>; +00226 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea19" doxytag="NL3D::CSegRemanenceShape::setNumCorners" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setNumCorners </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>numCorners</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the number of corners. By default it is 2 so you get a segment NB this invalidate previous calls to setCorner NB numCorners must be >= 2 +<p> +Definition at line <a class="el" href="a06360.html#l00116">116</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00174">_Corners</a>, <a class="el" href="a06361.html#l00167">_GeomTouched</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00041">CSegRemanenceShape()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <a class="code" href="a04199.html#a6">nlassert</a>(numCorners >= 2); +00119 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.resize(numCorners); +00120 std::fill(<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.begin(), <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.end(), <a class="code" href="a03128.html#NLMISC_1_1CVectors3">NLMISC::CVector::Null</a>); +00121 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a> = <span class="keyword">true</span>; +00122 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea20" doxytag="NL3D::CSegRemanenceShape::setNumSlices" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setNumSlices </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>numSlices</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the number of slices used to draw the remanence Should be >= 2 +<p> +Definition at line <a class="el" href="a06360.html#l00101">101</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00167">_GeomTouched</a>, <a class="el" href="a06361.html#l00171">_NumSlices</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <a class="code" href="a04199.html#a6">nlassert</a>(numSlices >= 2); +00104 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a> = numSlices; +00105 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a> = <span class="keyword">true</span>; +00106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea21" doxytag="NL3D::CSegRemanenceShape::setRollupRatio" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setRollupRatio </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>ratio</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +When stop() is called, the fx doesn't disappear, it must rollup (a texture shifting is performed). This set the speed of rollup. 1 means it takes sliceTime * numSlice to unroll 0.5 means it takes 2 * sliceTime * numSlice to unroll and so on NB ratio must be > 0 +<p> +Definition at line <a class="el" href="a06360.html#l00236">236</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00173">_RollUpRatio</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00237 { +00238 <a class="code" href="a04199.html#a6">nlassert</a>(ratio > 0); +00239 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper11">_RollUpRatio</a> = ratio; +00240 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea22" doxytag="NL3D::CSegRemanenceShape::setSliceTime" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setSliceTime </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>sliceTime</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00087">87</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00088 { +00089 <a class="code" href="a04199.html#a6">nlassert</a>(sliceTime > 0); +00090 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper12">_SliceTime</a> = sliceTime; +00091 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShapea23" doxytag="NL3D::CSegRemanenceShape::setTextureShifting" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setTextureShifting </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>on</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Enable texture shifting on the u coordinates at the start of the animation, so that the texture will 'unroll' until it is completly visible NB this apply on all texture stages, and clamps the U coordinates. NB the default is on +<p> +Definition at line <a class="el" href="a06360.html#l00229">229</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00168">_MatTouched</a>, and <a class="el" href="a06361.html#l00169">_TextureShifting</a>. +<p> +<div class="fragment"><pre>00230 { +00231 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper13">_TextureShifting</a> = on; +00232 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a> = <span class="keyword">true</span>; +00233 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaped1" doxytag="NL3D::CSegRemanenceShape::setupMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setupMaterial </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00243">243</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00168">_MatTouched</a>, <a class="el" href="a05641.html#l00337">NL3D::CMaterial::enableUserTexMat()</a>, <a class="el" href="a05641.html#l00046">NL3D::CMaterial::getTexture()</a>, <a class="el" href="a05641.html#l00071">NL3D::CMaterial::setDoubleSided()</a>, <a class="el" href="a05641.html#l00127">NL3D::CMaterial::setLighting()</a>, and <a class="el" href="a06506.html#l00202">NL3D::ITexture::setWrapS()</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00125">render()</a>. +<p> +<div class="fragment"><pre>00244 { +00245 <span class="keywordflow">if</span> (!<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a>) <span class="keywordflow">return</span>; +00246 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.enableUserTexMat(0); +00247 <span class="keywordflow">if</span> (<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.getTexture(0)) <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.getTexture(0)->setWrapS(ITexture::Clamp); +00248 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.setDoubleSided(<span class="keyword">true</span>); +00249 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">_Mat</a>.setLighting(<span class="keyword">false</span>); <span class="comment">// lighting not supported (the vb has no normals anyway..)</span> +00250 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">_MatTouched</a> = <span class="keyword">false</span>; +00251 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaped2" doxytag="NL3D::CSegRemanenceShape::setupVBnPB" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CSegRemanenceShape::setupVBnPB </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06360.html#l00183">183</a> of file <a class="el" href="a06360.html">seg_remanence_shape.cpp</a>. +<p> +References <a class="el" href="a06361.html#l00174">_Corners</a>, <a class="el" href="a06361.html#l00167">_GeomTouched</a>, <a class="el" href="a06361.html#l00171">_NumSlices</a>, <a class="el" href="a06361.html#l00178">_PB</a>, <a class="el" href="a06197.html#l00114">NL3D::CPrimitiveBlock::setNumTri()</a>, <a class="el" href="a06710.html#l00409">NL3D::CVertexBuffer::setNumVertices()</a>, <a class="el" href="a06711.html#l00600">NL3D::CVertexBuffer::setTexCoord()</a>, <a class="el" href="a06197.html#l00122">NL3D::CPrimitiveBlock::setTri()</a>, <a class="el" href="a06710.html#l00169">NL3D::CVertexBuffer::setVertexFormat()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00125">render()</a>. +<p> +<div class="fragment"><pre>00184 { +00185 <span class="keywordflow">if</span> (!<a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a>) <span class="keywordflow">return</span>; +00186 +00187 <a class="code" href="a04558.html#a15">uint</a> numCorners = <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">_Corners</a>.size(); +00188 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper14">_VB</a>.setVertexFormat(CVertexBuffer::PositionFlag | CVertexBuffer::TexCoord0Flag); +00189 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper14">_VB</a>.setNumVertices(numCorners * (_NumSlices + 1)); +00190 <a class="code" href="a04558.html#a15">uint</a> k, <a class="code" href="a05373.html#a2">l</a>; +00191 +00192 <span class="comment">// set tex coords</span> +00193 <span class="keywordflow">for</span>(<a class="code" href="a05373.html#a2">l</a> = 0; <a class="code" href="a05373.html#a2">l</a> < numCorners; ++<a class="code" href="a05373.html#a2">l</a>) +00194 { +00195 <span class="keywordflow">for</span>(k = 0; k <= <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">_NumSlices</a>; ++k) +00196 { +00197 +00198 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper14">_VB</a>.setTexCoord((_NumSlices + 1) * l + k, 0, (<span class="keywordtype">float</span>) k / _NumSlices, (<span class="keywordtype">float</span>) l / (numCorners - 1)); +00199 } +00200 } +00201 <span class="comment">// create primitive block</span> +00202 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper10">_PB</a>.setNumTri(2 * (numCorners - 1) * _NumSlices); +00203 <span class="comment">//</span> +00204 <span class="keywordflow">for</span>(<a class="code" href="a05373.html#a2">l</a> = 0; <a class="code" href="a05373.html#a2">l</a> < numCorners - 1; ++<a class="code" href="a05373.html#a2">l</a>) +00205 { +00206 <span class="keywordflow">for</span>(k = 0; k < _NumSlices; ++k) +00207 { +00208 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper10">_PB</a>.setTri(2 * (l * _NumSlices + k), (_NumSlices + 1) * l + k, (_NumSlices + 1) * (l + 1) + k + 1, (_NumSlices + 1) * (l + 1) + k); +00209 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper10">_PB</a>.setTri(2 * (l * _NumSlices + k) + 1, (_NumSlices + 1) * l + k, (_NumSlices + 1) * l + k + 1, (_NumSlices + 1) * (l + 1) + k + 1); +00210 } +00211 } +00212 <a class="code" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">_GeomTouched</a> = <span class="keyword">false</span>; +00213 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapez904_0" doxytag="NL3D::CSegRemanenceShape::supportMeshBlockRendering" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02879.html">IMeshGeom</a>* NL3D::IShape::supportMeshBlockRendering </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> * </td> + <td class="mdname" nowrap> <em>trans</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>polygonCount</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return !NULL if this shape can support MeshBlock rendering for a special instance. NB: Mesh Block render cannot occurs if the Mesh is Skinned/MeshMorphed. NB: Mesh Block render can occurs only in Opaque pass NB: Mesh block render can occurs only for <a class="el" href="a02858.html">CMeshBase</a> meshes. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>trans</em> </td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr> + <tr><td valign=top><em>polygonCount</em> </td><td>the number of polygons to render for the meshGeom returned </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the meshgeom to render per block if OK, else NULL (default)</dd></dl> + +<p> +Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz409_0">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz497_0">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz529_0">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz539_0">NL3D::CMeshMultiLod</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00158">158</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00158 {<span class="keywordflow">return</span> NULL;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapez902_0" doxytag="NL3D::CSegRemanenceShape::useLightingLocalAttenuation" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::IShape::useLightingLocalAttenuation </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells if the shape wants LocalAttenuation for RealTime lighting. Default is false +<p> +Reimplemented in <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">NL3D::CMeshBase</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00142">142</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00142 {<span class="keywordflow">return</span> <span class="keyword">false</span>;} +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CSegRemanenceShape::CPtrInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend struct CPtrInfo<code> [friend, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper0" doxytag="NL3D::CSegRemanenceShape::_AnimatedMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02846.html">CMaterialBase</a>* <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper0">NL3D::CSegRemanenceShape::_AnimatedMat</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00181">181</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06360.html#l00150">createInstance()</a>, <a class="el" href="a06361.html#l00132">getAnimatedMaterial()</a>, <a class="el" href="a06360.html#l00254">setAnimatedMaterial()</a>, and <a class="el" href="a06360.html#l00282">~CSegRemanenceShape()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper1" doxytag="NL3D::CSegRemanenceShape::_BBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02157.html">NLMISC::CAABBoxExt</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper1">NL3D::CSegRemanenceShape::_BBox</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For clipping. +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00180">180</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper2" doxytag="NL3D::CSegRemanenceShape::_Corners" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapey0">TCornerVect</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper2">NL3D::CSegRemanenceShape::_Corners</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00174">174</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06360.html#l00109">getCorner()</a>, <a class="el" href="a06361.html#l00108">getNumCorners()</a>, <a class="el" href="a06360.html#l00094">setCorner()</a>, <a class="el" href="a06360.html#l00116">setNumCorners()</a>, and <a class="el" href="a06360.html#l00183">setupVBnPB()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper3" doxytag="NL3D::CSegRemanenceShape::_DefaultPos" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper3">NL3D::CSegRemanenceShape::_DefaultPos</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00183">183</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper4" doxytag="NL3D::CSegRemanenceShape::_DefaultRotQuat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03548.html">CTrackDefaultQuat</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper4">NL3D::CSegRemanenceShape::_DefaultRotQuat</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00184">184</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper5" doxytag="NL3D::CSegRemanenceShape::_DefaultScale" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper5">NL3D::CSegRemanenceShape::_DefaultScale</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00185">185</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CSegRemanenceShape::_DistMax" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02539.html#NL3D_1_1IShapep0">NL3D::IShape::_DistMax</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Default to -1. +<p> + +<p> +Definition at line <a class="el" href="a06377.html#l00165">165</a> of file <a class="el" href="a06377.html">shape.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper6" doxytag="NL3D::CSegRemanenceShape::_GeomTouched" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper6">NL3D::CSegRemanenceShape::_GeomTouched</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00167">167</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06360.html#l00116">setNumCorners()</a>, <a class="el" href="a06360.html#l00101">setNumSlices()</a>, and <a class="el" href="a06360.html#l00183">setupVBnPB()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper7" doxytag="NL3D::CSegRemanenceShape::_Mat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02839.html">CMaterial</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper7">NL3D::CSegRemanenceShape::_Mat</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00176">176</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper8" doxytag="NL3D::CSegRemanenceShape::_MatTouched" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper8">NL3D::CSegRemanenceShape::_MatTouched</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00168">168</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06360.html#l00222">setMaterial()</a>, <a class="el" href="a06360.html#l00229">setTextureShifting()</a>, and <a class="el" href="a06360.html#l00243">setupMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper9" doxytag="NL3D::CSegRemanenceShape::_NumSlices" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper9">NL3D::CSegRemanenceShape::_NumSlices</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00171">171</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06361.html#l00097">getNumSlices()</a>, <a class="el" href="a06360.html#l00176">getNumTriangles()</a>, <a class="el" href="a06360.html#l00101">setNumSlices()</a>, and <a class="el" href="a06360.html#l00183">setupVBnPB()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper10" doxytag="NL3D::CSegRemanenceShape::_PB" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03105.html">CPrimitiveBlock</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper10">NL3D::CSegRemanenceShape::_PB</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00178">178</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06360.html#l00125">render()</a>, and <a class="el" href="a06360.html#l00183">setupVBnPB()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper11" doxytag="NL3D::CSegRemanenceShape::_RollUpRatio" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper11">NL3D::CSegRemanenceShape::_RollUpRatio</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00173">173</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06361.html#l00141">getRollupRatio()</a>, and <a class="el" href="a06360.html#l00236">setRollupRatio()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper12" doxytag="NL3D::CSegRemanenceShape::_SliceTime" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper12">NL3D::CSegRemanenceShape::_SliceTime</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00172">172</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper13" doxytag="NL3D::CSegRemanenceShape::_TextureShifting" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper13">NL3D::CSegRemanenceShape::_TextureShifting</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00169">169</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>, <a class="el" href="a06361.html#l00124">getTextureShifting()</a>, and <a class="el" href="a06360.html#l00229">setTextureShifting()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CSegRemanenceShaper14" doxytag="NL3D::CSegRemanenceShape::_VB" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03692.html">CVertexBuffer</a> <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShaper14">NL3D::CSegRemanenceShape::_VB</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06361.html#l00177">177</a> of file <a class="el" href="a06361.html">seg_remanence_shape.h</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00288">copyFromOther()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CSegRemanenceShape::crefs" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CSegRemanenceShape::NullPtrInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CSegRemanenceShape::pinfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06361.html">seg_remanence_shape.h</a><li><a class="el" href="a06360.html">seg_remanence_shape.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:42:45 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |