home | help
sc::TriangulatedSurface(3)	      MPQC	      sc::TriangulatedSurface(3)

NAME
     sc::TriangulatedSurface

SYNOPSIS
     Inherits sc::DescribedClass.

     Inherited by sc::TriangulatedImplicitSurface.

   Public Member Functions
     TriangulatedSurface (const Ref< KeyVal > &)
     int verbose () const
     void verbose (int v)
     void set_integrator (const Ref< TriangleIntegrator > &)
     void set_fast_integrator (const Ref< TriangleIntegrator > &)
     void set_accurate_integrator (const Ref< TriangleIntegrator > &)
     virtual Ref< TriangleIntegrator > integrator (int itri)
     virtual Ref< TriangleIntegrator > fast_integrator (int itri)
     virtual Ref< TriangleIntegrator > accurate_integrator (int itri)
     void add_triangle (const Ref< Vertex > &, const Ref< Vertex > &, const Ref<
	 Vertex > &)
     Ref< Edge > find_edge (const Ref< Vertex > &, const Ref< Vertex > &)
     virtual void complete_surface ()
     virtual  void  remove_short_edges	(double cutoff_length=1.0e-6, const Ref<
	 Volume > &vol=0, double isoval=0.0)
     virtual   void   remove_slender_triangles	 (int	remove_slender,   double
	 height_cutoff,  int remove_small, double area_cutoff, const Ref< Volume
	 > &vol=0, double isoval=0.0)
     virtual void fix_orientation ()
     virtual void clear ()
     int nvertex () const
     Ref< Vertex > vertex (int i) const
     int vertex_index (const Ref< Vertex > &o)
     int nedge () const
     Ref< Edge > edge (int i) const
     int edge_index (const Ref< Edge > &o)
     int ntriangle () const
     Ref< Triangle > triangle (int i) const
     int triangle_index (const Ref< Triangle > &o)
     int triangle_vertex (int i, int j) const
     int triangle_edge (int i, int j) const
     int edge_vertex (int i, int j) const
     void compute_values (Ref< Volume > &)
     virtual double flat_area ()
     virtual double flat_volume ()
     virtual double area ()
     virtual double volume ()
     virtual void print (std::ostream &o=ExEnv::out0()) const
	 Print the object.
     virtual void print_vertices_and_triangles	(std::ostream  &o=ExEnv::out0())
	 const
     virtual void print_geomview_format (std::ostream &o=ExEnv::out0()) const
     virtual void render (const Ref< Render > &render)
     void topology_info (std::ostream &o=ExEnv::out0())
     void  topology_info  (int nvertex, int nedge, int ntri, std::ostream &o=Ex-
	 Env::out0())

     Public Member Functions inherited from sc::DescribedClass
     DescribedClass (const DescribedClass &)
     DescribedClass & operator= (const DescribedClass &)
     ClassDesc * class_desc () const  throw ()
	 This returns the unique pointer to the ClassDesc corresponding  to  the
	 given type_info object.
     const char * class_name () const
	 Return the name of the object's exact type.
     int class_version () const
	 Return the version of the class.
     virtual void print (std::ostream &=ExEnv::out0()) const
	 Print the object.

     Public Member Functions inherited from sc::RefCount
     int lock_ptr () const
	 Lock this object.
     int unlock_ptr () const
	 Unlock this object.
     void use_locks (bool inVal)
	 start and stop using locks on this object
     refcount_t nreference () const
	 Return the reference count.
     refcount_t reference ()
	 Increment the reference count and return the new count.
     refcount_t dereference ()
	 Decrement the reference count and return the new count.
     int managed () const
     void unmanage ()
	 Turn off the reference counting mechanism for this object.
     int managed () const
	 Return 1 if the object is managed. Otherwise return 0.

     Public Member Functions inherited from sc::Identity
     Identifier identifier ()
	 Return the Identifier for this argument.

   Protected Member Functions
     void clear_int_arrays ()
     void complete_ref_arrays ()
     void complete_int_arrays ()
     void recompute_index_maps ()
     void add_triangle (const Ref< Triangle > &)
     void add_vertex (const Ref< Vertex > &)
     void add_edge (const Ref< Edge > &)
     virtual  Triangle	* newTriangle (const Ref< Edge > &, const Ref< Edge > &,
	 const Ref< Edge > &, int orientation) const
     virtual Edge * newEdge (const Ref< Vertex > &, const Ref< Vertex > &) const

     Protected Member Functions inherited from sc::RefCount
     RefCount (const RefCount &)
     RefCount & operator= (const RefCount &)

   Protected Attributes
     int _verbose
     int _debug
     int _completed_surface
     std::set< Ref< Vertex > > _vertices
     std::set< Ref< Edge > > _edges
     std::set< Ref< Triangle > > _triangles
     std::map< Ref< Vertex >, int > _vertex_to_index
     std::map< Ref< Edge >, int > _edge_to_index
     std::map< Ref< Triangle >, int > _triangle_to_index
     std::vector< Ref< Vertex > > _index_to_vertex
     std::vector< Ref< Edge > > _index_to_edge
     std::vector< Ref< Triangle > > _index_to_triangle
     int ** _triangle_vertex
     int ** _triangle_edge
     int ** _edge_vertex
     int _have_values
     std::vector< double > _values
     Ref< TriangleIntegrator > _integrator
     Ref< TriangleIntegrator > _fast_integrator
     Ref< TriangleIntegrator > _accurate_integrator
     std::map< Ref< Vertex >, std::set< Ref< Edge > > > _tmp_edges

Member Function Documentation
   virtual void sc::TriangulatedSurface::print (std::ostream & =  ExEnv::out0())
     const [virtual]
     Print the object.

     Reimplemented from sc::DescribedClass.

Author
     Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1			 Thu Sep 3 2026       sc::TriangulatedSurface(3)

home | help