IMP logo
IMP Reference Guide  develop.af393bce43,2020/02/22
The Integrative Modeling Platform
IMP::display::PolygonGeometry Class Reference

#include <IMP/display/primitive_geometries.h>

+ Inheritance diagram for IMP::display::PolygonGeometry:

Detailed Description

If CGAL is available, then any simple, planar polygon can be used. Otherwise, the polygons should be simple, planar and convex.Display a geometric object.

Definition at line 52 of file primitive_geometries.h.

Public Member Functions

 PolygonGeometry (const algebra::Vector3Ds &v)
 
 PolygonGeometry (const algebra::Vector3Ds &v, const display::Color &c)
 
 PolygonGeometry (const algebra::Vector3Ds &v, const display::Color &c, std::string n)
 
 PolygonGeometry (const algebra::Vector3Ds &v, const std::string n)
 
virtual IMP::display::Geometries get_components () const
 Return a set of geometry composing this one. More...
 
virtual const algebra::Vector3Dsget_geometry () const
 
virtual std::string get_type_name () const
 
virtual ::IMP::VersionInfo get_version_info () const
 Get information about the module and version of the object. More...
 
void set_geometry (const algebra::Vector3Ds &v)
 
- 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)
 

Additional Inherited Members

- 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::PolygonGeometry::get_components ( ) const
virtual

Return a set of geometry composing this one.

Reimplemented from IMP::display::Geometry.

virtual ::IMP::VersionInfo IMP::display::PolygonGeometry::get_version_info ( ) const
virtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 52 of file primitive_geometries.h.


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