OpenStructure
Public Types | Public Member Functions
Measurement Class Reference

#include <measure_tool.hh>

Public Types

enum  Type { DIST , ANGL , DIHE }
 

Public Member Functions

 Measurement (mol::AtomHandleList ahl, gfx::Color col, Real line_width)
 
Real GetMeasurement () const
 
Type GetType () const
 
String GetName () const
 
mol::AtomHandleList GetAtoms () const
 
gfx::Color GetColor () const
 
void SetColor (gfx::Color c)
 
Real GetLineWidth () const
 
void SetLineWidth (Real w)
 
bool IsValid () const
 

Detailed Description

Definition at line 34 of file measure_tool.hh.

Member Enumeration Documentation

◆ Type

enum Type
Enumerator
DIST 
ANGL 
DIHE 

Definition at line 36 of file measure_tool.hh.

Constructor & Destructor Documentation

◆ Measurement()

Measurement ( mol::AtomHandleList  ahl,
gfx::Color  col,
Real  line_width 
)

Member Function Documentation

◆ GetAtoms()

mol::AtomHandleList GetAtoms ( ) const

◆ GetColor()

gfx::Color GetColor ( ) const

◆ GetLineWidth()

Real GetLineWidth ( ) const

◆ GetMeasurement()

Real GetMeasurement ( ) const

◆ GetName()

String GetName ( ) const

◆ GetType()

Type GetType ( ) const

◆ IsValid()

bool IsValid ( ) const

◆ SetColor()

void SetColor ( gfx::Color  c)

◆ SetLineWidth()

void SetLineWidth ( Real  w)

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