Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - 3D - Carve3D - PointSetBodyC
 

  PUBLIC
PointSetBodyC::PointSetBodyC(void)
PointSetBodyC::PointSetBodyC(BinIStreamC &)
PointSetBodyC::PointSetBodyC(UIntT,bool)
PointSetBodyC::PointSetBodyC(const SArray1dC &,const SArray1dC &,bool)
PointSetBodyC::Copy(void) const
PointSetBodyC::Vertices(void)
PointSetBodyC::Vertices(void) const
PointSetBodyC::Colours(void)
PointSetBodyC::Colours(void) const
PointSetBodyC::HaveColour(void) const
PointSetBodyC::Centroid(void) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   PointSetBodyC   
 
Array of 3D vertices and attributes
 
include "Ravl/3D/PointSet.hh"
Source file:Ravl/3D/Carve3D/PointSet.hh
User Level:Develop
Library:Ravl3D
In Scope:Ravl3DN

Parent Classes: Variables:
SArray1dC m_vertices;
Array of point positions.

SArray1dC m_colours;
Array of colours.

bool m_haveColour;
Indicates if points are coloured

Methods:
PointSetBodyC()
Default constructor

PointSetBodyC(BinIStreamC & is)
Stream constructor.

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

PointSetBodyC(const SArray1dC<VertexC> & v,const SArray1dC<ByteRGBValueC> & col,bool haveColour = false)
Construct a point set from an array of vertices and colours

RCBodyC & Copy() const
Make a copy of the set.

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.

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

Vector3dC Centroid() const
centroid of points

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


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