OpenSceneGraph/doc/doc++/osgSim/SphereSegment.html
Robert Osfield ed10594139 Updated docs
2004-08-06 06:53:36 +00:00

528 lines
25 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGSIM_EXPORT osgSim::SphereSegment</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGSIM_EXPORT <A HREF="#DOC.DOCU">osgSim::SphereSegment</A></H2></H2><BLOCKQUOTE> A SphereSegment is a Geode to represent an portion of a sphere (potentially the whole sphere).</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::Geode,M,CSphereSegment,MSphereSegment.html">
<param name=before value="M,M">
<param name=after value="Md_,M">
<param name=indent value="0,1">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Classes</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.20.1">DrawMask</A></B>
<DD><I> DrawMask represents a bit field, the values of which may be OR'ed together to specify which parts of the sphere segment should be drawn.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.20.34">BoundaryAngle</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.20.35">SideOrientation</A></B>
</DL></P>
<P><DL>
<DT><H3>Public Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3 <B><A HREF="#DOC.2.20.40">_centre</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.20.41">_radius</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.20.42">_azMin</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.20.43">_azMax</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.20.44">_elevMin</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.20.45">_elevMax</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.20.46">_density</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A> <B><A HREF="#DOC.2.20.47">_drawMask</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.48">_surfaceColor</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.49">_spokeColor</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.50">_edgeLineColor</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.51">_planeColor</A></B>
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.20.2">SphereSegment</A></B>()
<DD><I>Default constructor.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.20.3">SphereSegment</A></B>(const osg::Vec3&amp; centre, float radius, float azMin, float azMax, float elevMin, float elevMax, int density)
<DD><I> Construct by angle ranges.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.20.4">SphereSegment</A></B>(const osg::Vec3&amp; centre, float radius, const osg::Vec3&amp; vec, float azRange, float elevRange, int density)
<DD><I> Construct by vector.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.20.5">SphereSegment</A></B>(const <!1><A HREF="SphereSegment.html#DOC.2.20.5">SphereSegment</A>&amp; rhs, const osg::CopyOp&amp; co)
<DD><I>Copy constructor </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.6">setCentre</A></B>(const osg::Vec3&amp; c)
<DD><I>Set the centre point of the SphereSegment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec3&amp; <B><A HREF="#DOC.2.20.7">getCentre</A></B>() const
<DD><I>Get the centre point of the SphereSegment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.8">setRadius</A></B>(float r)
<DD><I>Set the radius of the SphereSegment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.20.9">getRadius</A></B>() const
<DD><I>Get the radius of the SphereSegment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.10">setArea</A></B>(const osg::Vec3&amp; v, float azRange, float elevRange)
<DD><I>Set the area of the sphere segment</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.11">getArea</A></B>(osg::Vec3&amp; v, float&amp; azRange, float&amp; elevRange) const
<DD><I>Get the area of the sphere segment</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.12">setArea</A></B>(float azMin, float azMax, float elevMin, float elevMax)
<DD><I>Set the area of the sphere segment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.13">getArea</A></B>(float &amp;azMin, float &amp;azMax, float &amp;elevMin, float &amp;elevMax) const
<DD><I>Get the area of the sphere segment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.14">setDensity</A></B>(int d)
<DD><I>Set the density of the sphere segment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.20.15">getDensity</A></B>() const
<DD><I>Get the density of the sphere segment </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.16">setDrawMask</A></B>(<!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A> dm)
<DD><I> Specify the DrawMask.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A> <B><A HREF="#DOC.2.20.17">getDrawMask</A></B>() const
<DD><I>Get the DrawMask </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.18">setSurfaceColor</A></B>(const osg::Vec4&amp; c)
<DD><I>Set the color of the surface.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.19">getSurfaceColor</A></B>() const
<DD><I>Get the color of the surface.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.20">setSpokeColor</A></B>(const osg::Vec4&amp; c)
<DD><I>Set the color of the spokes.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.21">getSpokeColor</A></B>() const
<DD><I>Get the color of the spokes.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.22">setEdgeLineColor</A></B>(const osg::Vec4&amp; c)
<DD><I>Set the color of the edge line.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.23">getEdgeLineColor</A></B>() const
<DD><I>Get the color of the edge line.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.24">setSideColor</A></B>(const osg::Vec4&amp; c)
<DD><I>Set the color of the planes.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.2.20.25">getSideColor</A></B>() const
<DD><I>Get the color of the planes.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.26">setAllColors</A></B>(const osg::Vec4&amp; c)
<DD><I>Set color of all components.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.20.27">META_Node</A></B>(<!1><A HREF="osgSim.html">osgSim</A>, <!1><A HREF="SphereSegment.html">SphereSegment</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.28">dirtyAllDrawableDisplayLists</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.29">dirtyAllDrawableBounds</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.20.30">Surface_computeBound</A></B>(osg::BoundingBox&amp;) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.31">Surface_drawImplementation</A></B>(osg::State&amp;) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.20.32">EdgeLine_computeBound</A></B>(osg::BoundingBox&amp;) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.33">EdgeLine_drawImplementation</A></B>(osg::State&amp;) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.20.36">Side_computeBound</A></B>(osg::BoundingBox&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.35">SideOrientation</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.37">Side_drawImplementation</A></B>(osg::State&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.35">SideOrientation</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.20.38">Spoke_computeBound</A></B>(osg::BoundingBox&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.20.39">Spoke_drawImplementation</A></B>(osg::State&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
A SphereSegment is a Geode to represent an portion of a sphere (potentially
the whole sphere). The sphere is aligned such that the line through the
sphere's poles is parallel to the z axis. The sphere segment
may be rendered various components switched on or off:
<P>- The specified area of the sphere surface.
<P>- An edge line around the boundary of the specified area
of the sphere surface.
<P>- Four <i>spokes</i>, where a spoke is the line from
the sphere's centre to a corner of the rendered area.
<P>- Four planar areas, where the planar areas are formed
between the spokes.
<P>Caveats:
<P>- It's worth noting that the line through the sphere's poles is
parallel to the z axis. This has implications when specifying the
area to be rendered, and specifying areas where the centre of
the rendered area <i>is</i> the Z axis may lead to unexpected
geometry.
<P>- It's possible to render the whole sphere by specifying elevation
and azimuth ranges round the full 360 degrees. When doing
so you may consider switching the planes, spokes, and edge lines
off, to avoid rendering artefacts, e.g. the upper and lower
planes will be coincident.
</BLOCKQUOTE>
<DL>
<A NAME="DrawMask"></A>
<A NAME="DOC.2.20.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum DrawMask</B></TT>
<DD>
DrawMask represents a bit field, the values of which may be OR'ed together
to specify which parts of the sphere segment should be drawn. E.g.
\code
sphereSegment->setDrawMask(SphereSegment::DrawMask(SphereSegment::SURFACE|SphereSegment::SPOKES));
\endcode
<DL><DT><DD></DL><P><DL>
<A NAME="SURFACE"></A>
<A NAME="DOC.2.20.1.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SURFACE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SPOKES"></A>
<A NAME="DOC.2.20.1.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SPOKES</B></TT>
<DD>< Draw the specified area on the sphere's surface
<DL><DT><DD></DL><P>
<A NAME="EDGELINE"></A>
<A NAME="DOC.2.20.1.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> EDGELINE</B></TT>
<DD>< Draw the spokes from the sphere's centre to the surface's corners
<DL><DT><DD></DL><P>
<A NAME="SIDES"></A>
<A NAME="DOC.2.20.1.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SIDES</B></TT>
<DD>< Draw the line round the edge of the area on the sphere's surface
<DL><DT><DD></DL><P>
<A NAME="ALL"></A>
<A NAME="DOC.2.20.1.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ALL</B></TT>
<DD>< Draw the planes from the sphere's centre to the edge of the sphere's surface
<DL><DT><DD></DL><P></DL>
<A NAME="SphereSegment"></A>
<A NAME="DOC.2.20.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SphereSegment()</B></TT>
<DD>Default constructor.
<DL><DT><DD></DL><P>
<A NAME="SphereSegment"></A>
<A NAME="DOC.2.20.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SphereSegment(const osg::Vec3&amp; centre, float radius, float azMin, float azMax, float elevMin, float elevMax, int density)</B></TT>
<DD>
Construct by angle ranges. Note that the azimuth 'zero' is the Y axis; specifying
an azimuth range from azMin -osg::PI/2.0f to azMax osg::PI/2.0f will cover the
'top half' of the circle in the XY plane. The elev angles are 'out' of the 'zero'
XY plane with +ve angles above the plane, and -ve angles below.
<DL><DT><DT><B>Parameters:</B><DD><B>centre</B> - sphere centre
<BR><B>radius</B> - radius of sphere
<BR><B>azMin</B> - azimuth minimum
<BR><B>azMin</B> - azimuth maximum
<BR><B>elevMin</B> - elevation minimum
<BR><B>elevMax</B> - elevation maximum
<BR><B>density</B> - number of units to divide the azimuth and elevation ranges into<BR><DD></DL><P>
<A NAME="SphereSegment"></A>
<A NAME="DOC.2.20.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SphereSegment(const osg::Vec3&amp; centre, float radius, const osg::Vec3&amp; vec, float azRange, float elevRange, int density)</B></TT>
<DD>
Construct by vector.
<DL><DT><DT><B>Parameters:</B><DD><B>centre</B> - sphere centre
<BR><B>radius</B> - radius of sphere
<BR><B>vec</B> - vector pointing from sphere centre to centre point
of rendered area on sphere surface
<BR><B>azRange</B> - azimuth range in radians (with centre along vec)
<BR><B>elevRange</B> - elevation range in radians (with centre along vec)
<BR><B>density</B> - number of units to divide the azimuth and elevation ranges into<BR><DD></DL><P>
<A NAME="SphereSegment"></A>
<A NAME="DOC.2.20.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SphereSegment(const <!1><A HREF="SphereSegment.html#DOC.2.20.5">SphereSegment</A>&amp; rhs, const osg::CopyOp&amp; co)</B></TT>
<DD>Copy constructor
<DL><DT><DD></DL><P>
<A NAME="setCentre"></A>
<A NAME="DOC.2.20.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCentre(const osg::Vec3&amp; c)</B></TT>
<DD>Set the centre point of the SphereSegment
<DL><DT><DD></DL><P>
<A NAME="getCentre"></A>
<A NAME="DOC.2.20.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3&amp; getCentre() const </B></TT>
<DD>Get the centre point of the SphereSegment
<DL><DT><DD></DL><P>
<A NAME="setRadius"></A>
<A NAME="DOC.2.20.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRadius(float r)</B></TT>
<DD>Set the radius of the SphereSegment
<DL><DT><DD></DL><P>
<A NAME="getRadius"></A>
<A NAME="DOC.2.20.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getRadius() const </B></TT>
<DD>Get the radius of the SphereSegment
<DL><DT><DD></DL><P>
<A NAME="setArea"></A>
<A NAME="DOC.2.20.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setArea(const osg::Vec3&amp; v, float azRange, float elevRange)</B></TT>
<DD>Set the area of the sphere segment
<P>
<DL><DT><DT><B>Parameters:</B><DD><B>vec</B> - vector pointing from sphere centre to centre point
of rendered area on sphere surface
<BR><B>azRange</B> - azimuth range in radians (with centre along vec)
<BR><B>elevRange</B> - elevation range in radians (with centre along vec)<BR><DD></DL><P>
<A NAME="getArea"></A>
<A NAME="DOC.2.20.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void getArea(osg::Vec3&amp; v, float&amp; azRange, float&amp; elevRange) const </B></TT>
<DD>Get the area of the sphere segment
<P>
<DL><DT><DT><B>Parameters:</B><DD><B>vec</B> - vector pointing from sphere centre to centre point
of rendered area on sphere surface (normalized)
<BR><B>azRange</B> - azimuth range in radians (with centre along vec)
<BR><B>elevRange</B> - elevation range in radians (with centre along vec)<BR><DD></DL><P>
<A NAME="setArea"></A>
<A NAME="DOC.2.20.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setArea(float azMin, float azMax, float elevMin, float elevMax)</B></TT>
<DD>Set the area of the sphere segment
<DL><DT><DT><B>Parameters:</B><DD><B>azMin</B> - azimuth minimum
<BR><B>azMin</B> - azimuth maximum
<BR><B>elevMin</B> - elevation minimum
<BR><B>elevMax</B> - elevation maximum<BR><DD></DL><P>
<A NAME="getArea"></A>
<A NAME="DOC.2.20.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void getArea(float &amp;azMin, float &amp;azMax, float &amp;elevMin, float &amp;elevMax) const </B></TT>
<DD>Get the area of the sphere segment
<DL><DT><DT><B>Parameters:</B><DD><B>azMin</B> - azimuth minimum
<BR><B>azMin</B> - azimuth maximum
<BR><B>elevMin</B> - elevation minimum
<BR><B>elevMax</B> - elevation maximum<BR><DD></DL><P>
<A NAME="setDensity"></A>
<A NAME="DOC.2.20.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDensity(int d)</B></TT>
<DD>Set the density of the sphere segment
<DL><DT><DD></DL><P>
<A NAME="getDensity"></A>
<A NAME="DOC.2.20.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getDensity() const </B></TT>
<DD>Get the density of the sphere segment
<DL><DT><DD></DL><P>
<A NAME="setDrawMask"></A>
<A NAME="DOC.2.20.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDrawMask(<!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A> dm)</B></TT>
<DD>
Specify the DrawMask.
<DL><DT><DT><B>Parameters:</B><DD><B>dm</B> - Bitmask specifying which parts of the sphere segment should be drawn.
<BR><DT><B>See Also:</B><DD><!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A><BR><DD></DL><P>
<A NAME="getDrawMask"></A>
<A NAME="DOC.2.20.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A> getDrawMask() const </B></TT>
<DD>Get the DrawMask
<DL><DT><DD></DL><P>
<A NAME="setSurfaceColor"></A>
<A NAME="DOC.2.20.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSurfaceColor(const osg::Vec4&amp; c)</B></TT>
<DD>Set the color of the surface.
<DL><DT><DD></DL><P>
<A NAME="getSurfaceColor"></A>
<A NAME="DOC.2.20.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 getSurfaceColor() const </B></TT>
<DD>Get the color of the surface.
<DL><DT><DD></DL><P>
<A NAME="setSpokeColor"></A>
<A NAME="DOC.2.20.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSpokeColor(const osg::Vec4&amp; c)</B></TT>
<DD>Set the color of the spokes.
<DL><DT><DD></DL><P>
<A NAME="getSpokeColor"></A>
<A NAME="DOC.2.20.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 getSpokeColor() const </B></TT>
<DD>Get the color of the spokes.
<DL><DT><DD></DL><P>
<A NAME="setEdgeLineColor"></A>
<A NAME="DOC.2.20.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setEdgeLineColor(const osg::Vec4&amp; c)</B></TT>
<DD>Set the color of the edge line.
<DL><DT><DD></DL><P>
<A NAME="getEdgeLineColor"></A>
<A NAME="DOC.2.20.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 getEdgeLineColor() const </B></TT>
<DD>Get the color of the edge line.
<DL><DT><DD></DL><P>
<A NAME="setSideColor"></A>
<A NAME="DOC.2.20.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSideColor(const osg::Vec4&amp; c)</B></TT>
<DD>Set the color of the planes.
<DL><DT><DD></DL><P>
<A NAME="getSideColor"></A>
<A NAME="DOC.2.20.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 getSideColor() const </B></TT>
<DD>Get the color of the planes.
<DL><DT><DD></DL><P>
<A NAME="setAllColors"></A>
<A NAME="DOC.2.20.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAllColors(const osg::Vec4&amp; c)</B></TT>
<DD>Set color of all components.
<DL><DT><DD></DL><P>
<A NAME="META_Node"></A>
<A NAME="DOC.2.20.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Node(<!1><A HREF="osgSim.html">osgSim</A>, <!1><A HREF="SphereSegment.html">SphereSegment</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="dirtyAllDrawableDisplayLists"></A>
<A NAME="DOC.2.20.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void dirtyAllDrawableDisplayLists()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="dirtyAllDrawableBounds"></A>
<A NAME="DOC.2.20.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void dirtyAllDrawableBounds()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Surface_computeBound"></A>
<A NAME="DOC.2.20.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool Surface_computeBound(osg::BoundingBox&amp;) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="Surface_drawImplementation"></A>
<A NAME="DOC.2.20.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void Surface_drawImplementation(osg::State&amp;) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="EdgeLine_computeBound"></A>
<A NAME="DOC.2.20.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool EdgeLine_computeBound(osg::BoundingBox&amp;) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="EdgeLine_drawImplementation"></A>
<A NAME="DOC.2.20.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void EdgeLine_drawImplementation(osg::State&amp;) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="BoundaryAngle"></A>
<A NAME="DOC.2.20.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum BoundaryAngle</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="MIN"></A>
<A NAME="DOC.2.20.34.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MIN</B></TT>
<DL><DT><DD></DL><P>
<A NAME="MAX"></A>
<A NAME="DOC.2.20.34.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MAX</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="SideOrientation"></A>
<A NAME="DOC.2.20.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum SideOrientation</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="AZIM"></A>
<A NAME="DOC.2.20.35.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> AZIM</B></TT>
<DL><DT><DD></DL><P>
<A NAME="ELEV"></A>
<A NAME="DOC.2.20.35.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEV</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="Side_computeBound"></A>
<A NAME="DOC.2.20.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool Side_computeBound(osg::BoundingBox&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.35">SideOrientation</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="Side_drawImplementation"></A>
<A NAME="DOC.2.20.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void Side_drawImplementation(osg::State&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.35">SideOrientation</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="Spoke_computeBound"></A>
<A NAME="DOC.2.20.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool Spoke_computeBound(osg::BoundingBox&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="Spoke_drawImplementation"></A>
<A NAME="DOC.2.20.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void Spoke_drawImplementation(osg::State&amp;, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>, <!1><A HREF="SphereSegment.html#DOC.2.20.34">BoundaryAngle</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="_centre"></A>
<A NAME="DOC.2.20.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _centre</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_radius"></A>
<A NAME="DOC.2.20.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _radius</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_azMin"></A>
<A NAME="DOC.2.20.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _azMin</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_azMax"></A>
<A NAME="DOC.2.20.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _azMax</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_elevMin"></A>
<A NAME="DOC.2.20.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _elevMin</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_elevMax"></A>
<A NAME="DOC.2.20.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _elevMax</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_density"></A>
<A NAME="DOC.2.20.46"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _density</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_drawMask"></A>
<A NAME="DOC.2.20.47"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="SphereSegment.html#DOC.2.20.1">DrawMask</A> _drawMask</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_surfaceColor"></A>
<A NAME="DOC.2.20.48"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _surfaceColor</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_spokeColor"></A>
<A NAME="DOC.2.20.49"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _spokeColor</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_edgeLineColor"></A>
<A NAME="DOC.2.20.50"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _edgeLineColor</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_planeColor"></A>
<A NAME="DOC.2.20.51"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _planeColor</B></TT>
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DT><B>Friends:</B><DD> class Surface<BR> class EdgeLine<BR> class Side<BR> class Spoke<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
</BODY>
</HTML>