World::TexLib::Checked Class Reference

#include <Texture.hh>

Inheritance diagram for World::TexLib::Checked:

Inheritance graph
[legend]
Collaboration diagram for World::TexLib::Checked:

Collaboration graph
[legend]

List of all members.


Detailed Description

Checked texture class.

Definition at line 93 of file Texture.hh.


Public Member Functions

 Checked (const Color &A=ColLib::White(), const Color &B=ColLib::Black(), const Double SizeU=1.0, const Double SizeV=1.0, const Bool Tiled=true)
virtual Color Get (Math::Point UV) const

Protected Member Functions

virtual std::string Dump () const

Protected Attributes

const Color A
const Color B

Constructor & Destructor Documentation

World::TexLib::Checked::Checked ( const Color A = ColLib::White(),
const Color B = ColLib::Black(),
const Double  SizeU = 1.0,
const Double  SizeV = 1.0,
const Bool  Tiled = true 
) [inline]

Initialize checked texture

Definition at line 102 of file Texture.hh.


Member Function Documentation

std::string World::TexLib::Checked::Dump (  )  const [protected, virtual]

Debug function; dumps information about texture

Reimplemented from World::Texture.

Definition at line 51 of file Texture.cc.

References World::Texture::Dump().

Here is the call graph for this function:

virtual Color World::TexLib::Checked::Get ( Math::Point  UV  )  const [inline, virtual]

Get texture color at point (u,v)

Implements World::Texture.

Definition at line 111 of file Texture.hh.

References A, B, World::ColLib::Black(), Math::Point::GetU(), Math::Point::GetV(), World::Texture::SizeU, World::Texture::SizeV, World::Texture::Tile(), and World::Texture::Tiled.

Here is the call graph for this function:


Member Data Documentation

const Color World::TexLib::Checked::A [protected]

Checked texture uses two colors

Definition at line 96 of file Texture.hh.

Referenced by Get().

const Color World::TexLib::Checked::B [protected]

Checked texture uses two colors

Definition at line 96 of file Texture.hh.

Referenced by Get().


The documentation for this class was generated from the following files:

Generated on Wed Mar 12 00:37:19 2008 for blaRAY by  doxygen 1.5.5