IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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.
const Ints & get_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.
const algebra::Vector3Ds & get_vertexes () const
Public Member Functions inherited from IMP::display::Geometry
 Geometry (Color c, std::string name)
 Geometry (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
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
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.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

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.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ ~SurfaceMeshGeometry()

virtual IMP::display::SurfaceMeshGeometry::~SurfaceMeshGeometry ( )
virtual

Definition at line 100 of file primitive_geometries.h.

Member Function Documentation

◆ get_components()

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

Return a set of geometry composing this one.

Reimplemented from IMP::display::Geometry.

◆ get_faces()

const Ints & IMP::display::SurfaceMeshGeometry::get_faces ( ) const

Definition at line 98 of file primitive_geometries.h.

◆ get_type_name()

virtual std::string IMP::display::SurfaceMeshGeometry::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 100 of file primitive_geometries.h.

◆ get_version_info()

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.

◆ get_vertexes()

const algebra::Vector3Ds & IMP::display::SurfaceMeshGeometry::get_vertexes ( ) const

Definition at line 97 of file primitive_geometries.h.


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