IMP logo
IMP Reference Guide  develop.cb6747d2d1,2024/03/28
The Integrative Modeling Platform
IMP::display::SurfaceMeshGeometry Class Reference

Display a surface mesh. More...

#include <IMP/display/primitive_geometries.h>

+ Inheritance diagram for IMP::display::SurfaceMeshGeometry:

Detailed Description

Display a surface mesh.

Faces are delimited by -1s in the list of indices.

Definition at line 87 of file primitive_geometries.h.

Public Member Functions

 SurfaceMeshGeometry (const algebra::Vector3Ds &vertices, const Ints &faces)
 
virtual IMP::display::Geometries get_components () const override
 Return a set of geometry composing this one. More...
 
const Intsget_faces () const
 
virtual std::string get_type_name () const override
 
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object. More...
 
const algebra::Vector3Dsget_vertexes () const
 
- Public Member Functions inherited from IMP::display::Geometry
 Geometry (std::string name)
 
 Geometry (Color c, std::string name)
 
virtual Color get_color () const
 
virtual bool get_has_color () const
 
void set_color (Color c)
 
void set_has_color (bool tf)
 
- Public Member Functions inherited from IMP::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
LogLevel get_log_level () const
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 

Protected Member Functions

 SurfaceMeshGeometry (const std::pair< algebra::Vector3Ds, Ints > &m, std::string name="SurfaceMesh %1%")
 
- Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
virtual void do_destroy ()
 

Member Function Documentation

virtual IMP::display::Geometries IMP::display::SurfaceMeshGeometry::get_components ( ) const
overridevirtual

Return a set of geometry composing this one.

Reimplemented from IMP::display::Geometry.

virtual ::IMP::VersionInfo IMP::display::SurfaceMeshGeometry::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 100 of file primitive_geometries.h.


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