loopsubdiv.cpp File Reference

#include "stdafx.h"
#include "shapes/loopsubdiv.h"
#include "shapes/trianglemesh.h"
#include "paramset.h"
#include <set>
#include <map>

Go to the source code of this file.

Classes

struct  SDVertex
struct  SDFace
struct  SDEdge

Defines

#define NEXT(i)   (((i)+1)%3)
#define PREV(i)   (((i)+2)%3)

Functions

LoopSubdivCreateLoopSubdivShape (const Transform *o2w, const Transform *w2o, bool reverseOrientation, const ParamSet &params)

Define Documentation

#define NEXT (  )     (((i)+1)%3)

Definition at line 36 of file loopsubdiv.cpp.

Referenced by LoopSubdiv::LoopSubdiv(), SDFace::nextVert(), and LoopSubdiv::Refine().

#define PREV (  )     (((i)+2)%3)

Definition at line 37 of file loopsubdiv.cpp.

Referenced by SDFace::prevFace(), SDFace::prevVert(), and LoopSubdiv::Refine().


Function Documentation

LoopSubdiv* CreateLoopSubdivShape ( const Transform o2w,
const Transform w2o,
bool  reverseOrientation,
const ParamSet params 
)
Generated on Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3