IMP logo
Classes | Functions
IMP::display Namespace Reference

Detailed Description

This module provides support for displaying and exporting IMP data in various ways.

This module provides code to write various file formats for displaying data from IMP optimizations. The display::Writer classes provides the base class for objects which write to specific file formats and the display::Geometry provide means of describing geometry. Currently it supports output to

And display of boxes, points, spheres, segments, ellipsoids are supported.

Examples:

Author(s): Daniel Russel

Version: SVN.r12662 with cgal

License: LGPL. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Publications:

Classes

class  BildWriter
 Write a Bild file with the geometry. More...
class  BoundingBoxGeometry
 Display a bounding box. More...
class  ChimeraWriter
 Write geometry to a python file for Chimera to read. More...
class  CMMWriter
 Write a CMM file with the geometry. More...
class  Color
 Represent an RGB color. More...
class  Colored
 A particle with a color. More...
class  CompoundGeometry
 Group of set of geometric elements. More...
class  CylinderGeometry
 Display a cylinder. More...
class  EllipsoidGeometry
 Display a ellipsoid. More...
class  FilterGeometry
 Remove geometry which is not above a plane. More...
class  Geometry
 The base class for geometry. More...
class  GeometryProcessor
 Provide a standard geometry processing framework. More...
class  LabelGeometry
 A text label for a ball in space. More...
class  PairGeometry
 A base class for geometry contained in particles. More...
class  PairsGeometry
 A base class for geometry from a set of particles. More...
class  PointGeometry
 Display a point. More...
class  PolygonGeometry
class  PymolWriter
 Write a CGO file with the geometry. More...
class  ReferenceFrameGeometry
 Display a reference frame. More...
class  RestraintGeometry
 Try to draw some stuff for a generic restraint. More...
class  RestraintSetGeometry
 Geometry for a whole set of restraints. More...
class  SegmentGeometry
 Display a segment. More...
class  SingletonGeometry
 A base class for geometry contained in particles. More...
class  SingletonsGeometry
 A base class for geometry from a set of particles. More...
class  SphereGeometry
 Display a sphere. More...
class  SurfaceMeshGeometry
 Display a surface mesh. More...
class  TextWriter
class  TriangleGeometry
 Display a triangule. More...
class  WriteOptimizerState
class  Writer
 Base class for writing geometry to a file. More...
class  WriterOutput

Colormaps

These functions map a number in the interval [0,1] to a color using some color map.

Color get_jet_color (double f)
 Return the color for f from the jet color map.
Color get_hot_color (double f)
 Return the color for f from the hot color map.
Color get_rgb_color (double f)
 Return the color for f from the rgb color map.
Color get_grey_color (double f)
 Return the a greyscale value for f.
Color get_gnuplot_color (double f)
 Return colors using the gnuplot default color map.

Functions

Writercreate_writer (std::string filename)
Color get_display_color (unsigned int i)
Color get_interpolated_rgb (const Color &a, const Color &b, double f)
 Return a color interpolated between a and b in RGB space.

Function Documentation

Writer* IMP::display::create_writer ( std::string  filename)

Create an appropriate writer based on the file suffix.

IMP::display::get_display_color ( unsigned int  i)

Produce a color that is attempted to be contrasting with the i-1 previous colors. Currently, they recycle after 11, but they can be darkened instead. Just ask.

Examples: initialize chains, displaying ensembles, multiscale, rigid body excluded volume, setup, nup84 cg, nup84 rb, optimize balls

Color get_gnuplot_color ( double  f)

Return colors using the gnuplot default color map.

Color get_grey_color ( double  f)

Return the a greyscale value for f.

Color get_hot_color ( double  f)

Return the color for f from the hot color map.

Color get_interpolated_rgb ( const Color &  a,
const Color &  b,
double  f 
)

Return a color interpolated between a and b in RGB space.

If f is 0, then a is returned, if f is 1, b is returned.

IMP::display::get_jet_color ( double  f)

Return the color for f from the jet color map.

Examples: displaying ensembles

Color get_rgb_color ( double  f)

Return the color for f from the rgb color map.


Generated on Fri Feb 10 2012 23:36:26 for IMP by doxygen 1.7.5.1