User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DetailLayerC::DetailLayerC(void)
DetailLayerC::DetailLayerC(SArray1dC,SArray1dC,CTriSetC)
DetailLayerC::DetailLayerC(TriSetC,CTriSetC,PointMapperC::MapMode)
DetailLayerC::Copy(void) const
DetailLayerC::NumPoints(void) const
DetailLayerC::NumFaces(void) const
DetailLayerC::Base(void)
DetailLayerC::Base(void) const
DetailLayerC::DisplacementRange(DoubleT &,DoubleT &) const
DetailLayerC::Point(IndexT) const
DetailLayerC::Face(IndexT) const
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
DetailLayerC
 
A mesh mapped onto another
 
include "amma/DetailLayer.hh"
User Level:Default
Library: DispMap
Example: gendispmap.cc genmtri.cc
Section: 3D Surface.Displacement Mapping
In Scope:std

Comments:
This represents a detailed mesh which has been mapped onto the base mesh. This is a handle to a big object.

Parent Classes: Methods:
DetailLayerC()
Default Constructor
Creates a DetailLayerC with 0 DetailPoint entries

DetailLayerC(SArray1dC<DetailPointC> aPoints,SArray1dC<TriC> aFaces,CTriSetC oBase)
Constructor from parameters
Creates a DetailLayerC from the passed data

DetailLayerC(TriSetC oDetail,CTriSetC oBase,PointMapperC::MapMode eMode = PointMapperC::MAP_BASIC)
Mapping Constructor
Creates a DetailLayerC which is oDetail mapped onto oBase, using the specified mapping algorithm.

DetailLayerC Copy() const
Create a new physical copy

SizeT NumPoints(void) const
Gets the size of the mapping
i.e. the number of data points.

SizeT NumFaces(void) const
Gets the size of the mesh
i.e. the number of faces.

CTriSetC Base(void)
Returns a handle to the base mesh.

const CTriSetC Base(void) const
Returns a const handle to the base mesh.

void DisplacementRange(DoubleT & dMin,DoubleT & dMax) const
Get the maximum and minumum values of the displacements

const DetailPointC & Point(IndexT iOffset) const
Returns the DetailPointC at entry

const TriC & Face(IndexT iOffset) const
Returns the TriC at entry

#include "amma/RCHandleA.hh"
RCAbstractC Abstract()
Create an abstract handle to this object.

BooleanT IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<DetailLayerBodyC> Copy() const
Creat a deep copy of this object.
protected:

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<DetailLayerBodyC> & operator=(const RCHandleC<DetailLayerBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<DetailLayerBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<DetailLayerBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

DetailLayerBodyC & Body()
Direct access to body.

const DetailLayerBodyC & Body() const
Constant access to body.


Programmer: James Smith, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001