User Documentation
RAVL, Recognition And Vision Library
Ravl - 3D - Carve3D - PointSetC

PointSetC::PointSetC(BinIStreamC &)
PointSetC::Copy(void) const
PointSetC::HaveColour(void) const
PointSetC::Vertices(void) const
PointSetC::Colours(void) const
PointSetC::Centroid(void) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

Array of 3D vertices and attributes
include "Ravl/3D/PointSet.hh"
User Level:Normal
In Scope:Ravl3DN

Use Ravl-GUI-3D-DPointSetC to correctly render the point set.

Parent Classes: Methods:
Default constructor

PointSetC(BinIStreamC & is)
Stream constructor

PointSetC(UIntT numPoints,bool haveColour = false)
Construct a point set with a number of points.

PointSetC Copy() const
Make a copy of the point set.

bool HaveColour() const
Do the points have colour attributes?

SArray1dC<VertexC> & Vertices()
Access the array of all vertices in the point set.

const SArray1dC<VertexC> & Vertices() const
Access the array of all vertices in the point set.

SArray1dC<ByteRGBValueC> & Colours()
Access the array of all colours in the point set.

const SArray1dC<ByteRGBValueC> & Colours() const
Access the array of all colours in the point set.

Vector3dC Centroid() const
Centroid of points.

#include "Ravl/RefCounter.hh"
const RCHandleC<PointSetBodyC> & operator =(const RCHandleC<PointSetBodyC> & oth)
Assign handle.

RCHandleC<PointSetBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<PointSetBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<PointSetBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

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

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

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<PointSetBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<PointSetBodyC> & obj)

Maintainer:Joel Mitchelson, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002