Archon::X3D::ElevationGrid Struct Reference

Server side representation of the equally named X3D node type. More...

#include <archon/x3d/server/geometry.H>

Inheritance diagram for Archon::X3D::ElevationGrid:

Inheritance graph
[legend]
Collaboration diagram for Archon::X3D::ElevationGrid:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const NodeTypegetType () const
 ElevationGrid (BackRef< ExecutionContext > c)
double getCreaseAngle () const
const vector< double > & getHeight () const
int getXDimension () const
double getXSpacing () const
int getZDimension () const
double getZSpacing () const
int intersect (const Math::Ray3 &, double &dist) const
void getNormalAndTexCoord (Vector3 hitPoint, int where, const Shape *, Vector3 *hitNormal, Vector2 *hitTexCoord) const
void render (bool texture, const Shape *shape, const RenderConfig *)

Static Public Member Functions

static Ref< NodeBaseinstantiate (BackRef< ExecutionContext > c)

Static Public Attributes

static const NodeTypetype = 0

Friends

void initializeGeometryComponent ()

Detailed Description

Server side representation of the equally named X3D node type.

Definition at line 558 of file geometry.H.


Member Function Documentation

void Archon::X3D::ElevationGrid::getNormalAndTexCoord Vector3  hitPoint,
int  where,
const Shape ,
Vector3 hitNormal,
Vector2 hitTexCoord
const [virtual]
 

Todo:
Do it!

Implements Archon::X3D::GeometryNode.

Definition at line 567 of file geometry.C.

References Archon::Math::BasicVector< T, N >::zero().

int Archon::X3D::ElevationGrid::intersect const Math::Ray3 ,
double &  dist
const [virtual]
 

Todo:
Do it!

Implements Archon::X3D::GeometryNode.

Definition at line 559 of file geometry.C.

void Archon::X3D::ElevationGrid::render bool  texture,
const Shape shape,
const RenderConfig config
[virtual]
 

Todo:
Considder using glMapGrid and glEvalMesh to ease this job.

Implements Archon::X3D::GeometryNode.

Definition at line 2207 of file geometry.C.

References Archon::X3D::ComposedGeometryNode::ccw, Archon::X3D::ComposedGeometryNode::color, Archon::X3D::ComposedGeometryNode::colorPerVertex, Archon::Math::dot(), Archon::Utilities::Ref< T >::get(), Archon::X3D::Color::getColor(), Archon::X3D::Normal::getNormal(), Archon::X3D::TextureCoordinate::getPoint(), m, n, Archon::Math::BasicVector< T, N >::negate(), Archon::Math::BasicVector< T, N >::normalize(), Archon::X3D::ComposedGeometryNode::normalPerVertex, Archon::X3D::renderNormals(), Archon::X3D::RenderConfig::showNormals, Archon::Math::BasicVector< T, N >::size, Archon::X3D::ComposedGeometryNode::solid, and Archon::X3D::ComposedGeometryNode::texCoord.


The documentation for this struct was generated from the following files:
Generated on Sun Jul 30 22:59:31 2006 for Archon by  doxygen 1.4.4