Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
Vclip::Polyhedron Class Reference

#include <vclip.h>

List of all members.

Public Member Functions

void addFace (const char *name, vector< Vertex * > &verts, int clockwise=0)
VertexaddVertex (const char *name, const Vect3 &coords)
int buildHull ()
int check () const
const list< Edge > & edges () const
const list< Face > & faces () const
 Polyhedron ()
ostream & print (ostream &os) const
const list< Vertex > & verts () const

Static Public Member Functions

static Real vclip (const Polyhedron *const poly1, const Polyhedron *const poly2, const VclipPose &X12, const VclipPose &X21, const Feature *&feat1, const Feature *&feat2, Vect3 &cp1, Vect3 &cp2, int oneStep=0)

Private Member Functions

void processEdge (Face *f, Vertex *tail, Vertex *head)

Static Private Member Functions

static int edgeEdgeSubtest (const Feature *&e, XformedGeom &xe, Vect3 &cp)
static int edgeEdgeTest (const Feature *&e1, const Feature *&e2, XformedGeom &xe1, XformedGeom &xe2, const VclipPose &X12, const VclipPose &X21, Vect3 &cp1, Vect3 &cp2, Real &dist)
static int edgeFaceTest (const Feature *&e, const Feature *&f, XformedGeom &xe, const VclipPose &Xef, Vect3 &cpe, Vect3 &cpf, Real &dist)
static int vertEdgeTest (const Feature *&v, const Feature *&e, XformedGeom &xv, XformedGeom &xe, const VclipPose &Xve, const VclipPose &Xev, Vect3 &cpv, Vect3 &cpe, Real &dist)
static int vertFaceTest (const Feature *&v, const Feature *&f, XformedGeom &xv, const VclipPose &Xvf, const list< Face > &allFaces, Vect3 &cpv, Vect3 &cpf, Real &dist)
static int vertVertTest (const Feature *&v1, const Feature *&v2, XformedGeom &xv1, XformedGeom &xv2, const VclipPose &X12, const VclipPose &X21, Vect3 &cp1, Vect3 &cp2, Real &dist)

Private Attributes

list< Edgeedges_
list< Facefaces_
int handleCount
list< Vertexverts_

Friends

class PolyTree
class ShareHandle< Polyhedron >

Detailed Description

Definition at line 355 of file vclip.h.


Constructor & Destructor Documentation

Definition at line 405 of file vclip.h.


Member Function Documentation

void Vclip::Polyhedron::addFace ( const char *  name,
vector< Vertex * > &  verts,
int  clockwise = 0 
)
Vertex * Vclip::Polyhedron::addVertex ( const char *  name,
const Vect3 coords 
) [inline]

Definition at line 612 of file vclip.h.

static int Vclip::Polyhedron::edgeEdgeSubtest ( const Feature *&  e,
XformedGeom xe,
Vect3 cp 
) [static, private]
static int Vclip::Polyhedron::edgeEdgeTest ( const Feature *&  e1,
const Feature *&  e2,
XformedGeom xe1,
XformedGeom xe2,
const VclipPose X12,
const VclipPose X21,
Vect3 cp1,
Vect3 cp2,
Real dist 
) [static, private]
static int Vclip::Polyhedron::edgeFaceTest ( const Feature *&  e,
const Feature *&  f,
XformedGeom xe,
const VclipPose Xef,
Vect3 cpe,
Vect3 cpf,
Real dist 
) [static, private]
const list<Edge >& Vclip::Polyhedron::edges ( ) const [inline]

Definition at line 417 of file vclip.h.

const list<Face >& Vclip::Polyhedron::faces ( ) const [inline]

Definition at line 418 of file vclip.h.

ostream& Vclip::Polyhedron::print ( ostream &  os) const
void Vclip::Polyhedron::processEdge ( Face f,
Vertex tail,
Vertex head 
) [private]
static Real Vclip::Polyhedron::vclip ( const Polyhedron *const  poly1,
const Polyhedron *const  poly2,
const VclipPose X12,
const VclipPose X21,
const Feature *&  feat1,
const Feature *&  feat2,
Vect3 cp1,
Vect3 cp2,
int  oneStep = 0 
) [static]
static int Vclip::Polyhedron::vertEdgeTest ( const Feature *&  v,
const Feature *&  e,
XformedGeom xv,
XformedGeom xe,
const VclipPose Xve,
const VclipPose Xev,
Vect3 cpv,
Vect3 cpe,
Real dist 
) [static, private]
static int Vclip::Polyhedron::vertFaceTest ( const Feature *&  v,
const Feature *&  f,
XformedGeom xv,
const VclipPose Xvf,
const list< Face > &  allFaces,
Vect3 cpv,
Vect3 cpf,
Real dist 
) [static, private]
const list<Vertex>& Vclip::Polyhedron::verts ( ) const [inline]

Definition at line 416 of file vclip.h.

static int Vclip::Polyhedron::vertVertTest ( const Feature *&  v1,
const Feature *&  v2,
XformedGeom xv1,
XformedGeom xv2,
const VclipPose X12,
const VclipPose X21,
Vect3 cp1,
Vect3 cp2,
Real dist 
) [static, private]

Friends And Related Function Documentation

friend class PolyTree [friend]

Definition at line 357 of file vclip.h.

friend class ShareHandle< Polyhedron > [friend]

Definition at line 358 of file vclip.h.


Member Data Documentation

list<Edge > Vclip::Polyhedron::edges_ [private]

Definition at line 363 of file vclip.h.

list<Face > Vclip::Polyhedron::faces_ [private]

Definition at line 364 of file vclip.h.

Definition at line 360 of file vclip.h.

Definition at line 362 of file vclip.h.


The documentation for this class was generated from the following file:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:58