Index

C++ Code Documentation

geom::surface0::Silhouette

Derived from: geom::surface0::Normal

Children: geom::surface0::Geometry

File: GEOM/geom/surface0/Silhouette.H

public:
  • Silhouette();
    constructor
  • Silhouette( Silhouette const & );
    copy constructor
  • virtual ~Silhouette();
    destructor
  • Silhouette &operator=( Silhouette const & );
    assignment operator
  • bool first_silhouette_segment( EdgeMap::const_iterator &i, math::Matrix4<Real> const &transform ) const;
  • bool next_silhouette_segment( EdgeMap::const_iterator &i ) const;
protected:
  • void clear();
  • void clear_silhouette();
private:
  • bool next_silhouette_segment_( EdgeMap::const_iterator &i ) const;
    computes the "visual boundary" of the surface this is the set of edges with two adjacent faces whose normals N1, N2 satisfy the following condition: V.N1 and V.N2 (dot products) have opposite signs where V is the direction the camera is pointing returns true if i points to a visual boundary segment returns false when there are no more visual boundary segements do not modify '_edge' while using this (will crash)
  • mutable Vertex4 _silhouette_vector;
    indices into _vertex making up the visual boundary each std::pair of unsigned ints is a line segment base::vector< std::pair > _silhouette;


geom::surface0::Silhouette GANG