Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SMeshTopologyMod Class Reference

#include <SMeshTopologyMod.h>

Inherits STopologyMod.

Inheritance diagram for SMeshTopologyMod:

Inheritance graph
[legend]
List of all members.

Public Methods

 SMeshTopologyMod (SMeshTopology &topo)
virtual ~SMeshTopologyMod ()
virtual bool load (std::istream &in)
virtual void save (std::ostream &out) const
virtual void sample ()
void setSize (int width, int height)

Protected Methods

SFlexLexer & getLexer (std::istream &in)

Detailed Description

Modifier for mesh topology.
See also:
SMeshTopology


Constructor & Destructor Documentation

SMeshTopologyMod::SMeshTopologyMod (  SMeshTopology &    topo )  [inline]
 

Constructor

virtual SMeshTopologyMod::~SMeshTopologyMod (    )  [inline, virtual]
 

Destructor


Member Function Documentation

SFlexLexer & SModifier::getLexer (  std::istream &    in )  [protected, inherited]
 

Get a reference to the global lexical-analyzer, in order to parse an input stream. There is only one lexer for all modifiers in the tasksystem to avoid wasting space. When the input stream is switched, the current line number is set to 1.

Parameters:
in  input stream

bool SMeshTopologyMod::load (  std::istream &    in )  [virtual]
 

Load mesh topology from stream

Parameters:
in  input stream
Returns:
true if successfull, otherwise false

Implements SModifier.

virtual void SMeshTopologyMod::sample (    )  [inline, virtual]
 

Reimplemented from SModifier.

void SMeshTopologyMod::save (  std::ostream &    out )  const [virtual]
 

Save mesh topology to stream

Implements SModifier.

void SMeshTopologyMod::setSize (  int    width,
int    height
) 
 

Set size of mesh.

Parameters:
width  width of mesh
height  height of mesh


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:49 2003 for Sketch-it! by doxygen1.2.18