ost::gfx Namespace Reference


Namespaces

namespace  detail
namespace  impl
namespace  map_iso
namespace  RenderMode

Data Structures

struct  Bitmap
class  Color
 color with red, green, blue and alpha component More...
class  BasicGradientColorOp
class  ByChainColorOp
class  ByElementColorOp
class  ColorOp
class  EntityViewColorOp
class  GradientColorOp
class  GradientLevelColorOp
class  MapHandleColorOp
class  UniformColorOp
class  Entity
 graphical rendering of mol::EntityHandle entites More...
class  GfxNode
class  GfxNodeVisitor
class  GfxObj
 Base class for all graphical rendering objects. More...
struct  SpherePrim
struct  CylinderPrim
struct  TextPrim
class  GfxTestObj
class  GLWinBase
struct  Stop
class  Gradient
 color gradient More...
class  InputEvent
class  MapIso
 isocontour rendering for 3D image data More...
class  MapSlab
 Render slice of 3d image. More...
class  Material
class  OffscreenBuffer
 offscreen management More...
class  PovState
class  PrimList
 rudimentary graphical lines rendering. More...
class  Primitive
 base class for geometric primitives such as cuboids, and circles More...
class  Cuboid
 a rendered cuboid in 3D space More...
class  Quad
 a simple rendered quad in 3D space. More...
class  CartoonRenderOptions
class  CPKRenderOptions
class  CustomRenderOptions
class  LineRenderOptions
class  LineTraceRenderOptions
class  RenderOptions
class  SimpleRenderOptions
class  SlineRenderOptions
class  TraceRenderOptions
struct  Viewport
class  Scene
 main class for organization and root for the graphical display More...
class  SceneObserver
 Interface for observing graphical objects. More...
class  Selection
class  Surface
class  SymmetryOp
class  SymmetryNode
 renders all child nodes and the symmetry related copies More...
class  IndexedVertexArray

Typedefs

typedef unsigned char ColorMask
typedef boost::shared_ptr
< UniformColorOp
UniformColorOpP
typedef std::vector
< RenderMode::Type
RenderModeTypes
typedef boost::shared_ptr< EntityEntityP
typedef std::vector< GfxNodePGfxNodeVector
typedef boost::shared_ptr
< GfxNode
GfxNodeP
typedef std::vector< GfxNodePNodePtrList
typedef boost::shared_ptr< GfxObjGfxObjP
typedef std::vector< SpherePrimSpherePrimList
typedef std::vector< CylinderPrimCylinderPrimList
typedef std::vector< TextPrimTextPrimList
typedef std::vector< StopStopList
typedef boost::shared_ptr< MapIsoMapIsoP
typedef boost::shared_ptr
< MapSlab
MapSlabP
typedef boost::shared_ptr
< PrimList
PrimListP
typedef boost::shared_ptr
< CartoonRenderOptions
CartoonRenderOptionsPtr
typedef boost::shared_ptr
< CPKRenderOptions
CPKRenderOptionsPtr
typedef boost::shared_ptr
< CustomRenderOptions
CustomRenderOptionsPtr
typedef boost::shared_ptr
< LineRenderOptions
LineRenderOptionsPtr
typedef boost::shared_ptr
< LineTraceRenderOptions
LineTraceRenderOptionsPtr
typedef boost::shared_ptr
< RenderOptions
RenderOptionsPtr
typedef boost::shared_ptr
< SimpleRenderOptions
SimpleRenderOptionsPtr
typedef boost::shared_ptr
< SlineRenderOptions
SlineRenderOptionsPtr
typedef boost::shared_ptr
< TraceRenderOptions
TraceRenderOptionsPtr
typedef std::vector
< SceneObserver * > 
SceneObserverList
typedef boost::shared_ptr
< Surface
SurfaceP
typedef std::vector< SymmetryOpSymmetryOpList
typedef unsigned int VertexID
typedef unsigned int LineID
typedef unsigned int TriID
typedef unsigned int QuadID

Enumerations

enum  ColorBit { DETAIL_COLOR = 1, MAIN_COLOR = 2 }
enum  InputDevice { INPUT_DEVICE_DUMMY = 0, INPUT_DEVICE_MOUSE }
enum  InputCommand {
  INPUT_COMMAND_NONE = 0, INPUT_COMMAND_ROTX, INPUT_COMMAND_ROTY, INPUT_COMMAND_ROTZ,
  INPUT_COMMAND_TRANSX, INPUT_COMMAND_TRANSY, INPUT_COMMAND_TRANSZ, INPUT_COMMAND_SLABN,
  INPUT_COMMAND_SLABF, INPUT_COMMAND_AUTOSLAB, INPUT_COMMAND_TOGGLE_FOG, INPUT_COMMAND_CUSTOM1,
  INPUT_COMMAND_CUSTOM2, INPUT_COMMAND_CUSTOM3, INPUT_COMMAND_REBUILD
}
enum  TransformTarget {
  TRANSFORM_VIEW = 0, TRANSFORM_RIGID, TRANSFORM_TORSION, TRANSFORM_ANGLE,
  TRANSFORM_ROTAMER
}
enum  MapIsoType { ORIGINAL_MAP, DOWNSAMPLED_MAP }
enum  RenderPass { STANDARD_RENDER_PASS, GLOW_RENDER_PASS, OPAQUE_RENDER_PASS }

Functions

void BitmapExport (const String &fname, const String &ext, unsigned int width, unsigned int height, unsigned char *data)
Bitmap BitmapImport (const String &fname, const String &ext)
DLLEXPORT_OST_GFX std::ostream & operator<< (std::ostream &, const Color &c)
void CalcAmbientTerms (IndexedVertexArray &va)

Variables

static const unsigned int VA_SPHERE_MAX_DETAIL = 12
static const unsigned int VA_ICO_SPHERE_MAX_DETAIL = 4
static const unsigned int VA_CYL_MAX_DETAIL = 12
tuple WHITE = Color(0xffffff)
tuple BLACK = Color(0x000000)
tuple GREY = Color(0x7f7f7f)
tuple RED = Color(0xff0000)
tuple DARKRED = Color(0x7f0000)
tuple LIGHTRED = Color(0xff7f7f)
tuple GREEN = Color(0x00ff00)
tuple DARKGREEN = Color(0x007f00)
tuple LIGHTGREEN = Color(0x7fff7f)
tuple BLUE = Color(0x0000ff)
tuple DARKBLUE = Color(0x00007f)
tuple LIGHTBLUE = Color(0x7f7fff)
tuple YELLOW = Color(0xffff00)
tuple DARKYELLOW = Color(0x7f7f00)
tuple LIGHTYELLOW = Color(0xffff7f)
tuple CYAN = Color(0x00ffff)
tuple DARKCYAN = Color(0x007f7f)
tuple LIGHTCYAN = Color(0x7fffff)
tuple MAGENTA = Color(0xff00ff)
tuple DARKMAGENTA = Color(0x7f00ff)
tuple LIGHTMAGENTA = Color(0xff7fff)

Typedef Documentation

typedef boost::shared_ptr<CartoonRenderOptions> CartoonRenderOptionsPtr

Definition at line 105 of file cartoon_render_options.hh.

typedef unsigned char ColorMask

Definition at line 43 of file color_op.hh.

typedef boost::shared_ptr<CPKRenderOptions> CPKRenderOptionsPtr

Definition at line 57 of file cpk_render_options.hh.

typedef boost::shared_ptr<CustomRenderOptions> CustomRenderOptionsPtr

Definition at line 65 of file custom_render_options.hh.

typedef std::vector<CylinderPrim> CylinderPrimList

Definition at line 72 of file gfx_prim.hh.

typedef boost::shared_ptr<Entity> EntityP

Definition at line 26 of file entity_fw.hh.

typedef boost::shared_ptr<GfxNode> GfxNodeP

Definition at line 31 of file gfx_node_fw.hh.

typedef std::vector<GfxNodeP> GfxNodeVector

Definition at line 40 of file gfx_node.hh.

typedef boost::shared_ptr<GfxObj> GfxObjP

Definition at line 30 of file gfx_object_fw.hh.

typedef unsigned int LineID

Definition at line 45 of file vertex_array.hh.

typedef boost::shared_ptr<LineRenderOptions> LineRenderOptionsPtr

Definition at line 57 of file line_render_options.hh.

Definition at line 45 of file line_trace_render_options.hh.

typedef boost::shared_ptr<MapIso> MapIsoP

Definition at line 43 of file map_iso.hh.

typedef boost::shared_ptr<MapSlab> MapSlabP

Definition at line 38 of file map_slab.hh.

typedef std::vector<GfxNodeP> NodePtrList

Definition at line 34 of file gfx_node_fw.hh.

typedef boost::shared_ptr<PrimList> PrimListP

Definition at line 34 of file prim_list.hh.

typedef unsigned int QuadID

Definition at line 47 of file vertex_array.hh.

typedef std::vector<RenderMode::Type> RenderModeTypes

Definition at line 53 of file entity.hh.

typedef boost::shared_ptr<RenderOptions> RenderOptionsPtr

Definition at line 37 of file render_options.hh.

typedef std::vector<SceneObserver*> SceneObserverList

Definition at line 48 of file scene.hh.

typedef boost::shared_ptr<SimpleRenderOptions> SimpleRenderOptionsPtr

Definition at line 60 of file simple_render_options.hh.

typedef boost::shared_ptr<SlineRenderOptions> SlineRenderOptionsPtr

Definition at line 49 of file sline_render_options.hh.

typedef std::vector<SpherePrim> SpherePrimList

Definition at line 47 of file gfx_prim.hh.

typedef std::vector<Stop> StopList

Definition at line 60 of file gradient.hh.

typedef boost::shared_ptr<Surface> SurfaceP

Definition at line 47 of file surface.hh.

typedef std::vector<SymmetryOp> SymmetryOpList

Definition at line 45 of file symmetry_node.hh.

typedef std::vector<TextPrim> TextPrimList

Definition at line 85 of file gfx_prim.hh.

typedef boost::shared_ptr<TraceRenderOptions> TraceRenderOptionsPtr

Definition at line 63 of file trace_render_options.hh.

typedef unsigned int TriID

Definition at line 46 of file vertex_array.hh.

typedef boost::shared_ptr<UniformColorOp> UniformColorOpP

Definition at line 56 of file uniform_color_op.hh.

typedef unsigned int VertexID

Definition at line 44 of file vertex_array.hh.


Enumeration Type Documentation

enum ColorBit

Enumerator:
DETAIL_COLOR 
MAIN_COLOR 

Definition at line 38 of file color_op.hh.

Enumerator:
INPUT_COMMAND_NONE 
INPUT_COMMAND_ROTX 
INPUT_COMMAND_ROTY 
INPUT_COMMAND_ROTZ 
INPUT_COMMAND_TRANSX 
INPUT_COMMAND_TRANSY 
INPUT_COMMAND_TRANSZ 
INPUT_COMMAND_SLABN 
INPUT_COMMAND_SLABF 
INPUT_COMMAND_AUTOSLAB 
INPUT_COMMAND_TOGGLE_FOG 
INPUT_COMMAND_CUSTOM1 
INPUT_COMMAND_CUSTOM2 
INPUT_COMMAND_CUSTOM3 
INPUT_COMMAND_REBUILD 

Definition at line 39 of file input.hh.

Enumerator:
INPUT_DEVICE_DUMMY 
INPUT_DEVICE_MOUSE 

Definition at line 34 of file input.hh.

enum MapIsoType

Enumerator:
ORIGINAL_MAP 
DOWNSAMPLED_MAP 

Definition at line 38 of file map_iso.hh.

enum RenderPass

Enumerator:
STANDARD_RENDER_PASS  shaded and textured renderpass, intended to be shown directly to the user
GLOW_RENDER_PASS  only renders "glowing" parts objects
OPAQUE_RENDER_PASS  renders objects with solid color as used for shadow map generation

Definition at line 27 of file render_pass.hh.

Enumerator:
TRANSFORM_VIEW 
TRANSFORM_RIGID 
TRANSFORM_TORSION 
TRANSFORM_ANGLE 
TRANSFORM_ROTAMER 

Definition at line 57 of file input.hh.


Function Documentation

void ost::gfx::BitmapExport ( const String fname,
const String ext,
unsigned int  width,
unsigned int  height,
unsigned char *  data 
)

Bitmap ost::gfx::BitmapImport ( const String fname,
const String ext 
)

void ost::gfx::CalcAmbientTerms ( IndexedVertexArray &  va  ) 

DLLEXPORT_OST_GFX std::ostream& ost::gfx::operator<< ( std::ostream &  ,
const Color &  c 
)


Variable Documentation

tuple BLACK = Color(0x000000)

Definition at line 22 of file __init__.py.

tuple BLUE = Color(0x0000ff)

Definition at line 30 of file __init__.py.

tuple CYAN = Color(0x00ffff)

Definition at line 36 of file __init__.py.

tuple DARKBLUE = Color(0x00007f)

Definition at line 31 of file __init__.py.

tuple DARKCYAN = Color(0x007f7f)

Definition at line 37 of file __init__.py.

tuple DARKGREEN = Color(0x007f00)

Definition at line 28 of file __init__.py.

tuple DARKMAGENTA = Color(0x7f00ff)

Definition at line 40 of file __init__.py.

tuple DARKRED = Color(0x7f0000)

Definition at line 25 of file __init__.py.

tuple DARKYELLOW = Color(0x7f7f00)

Definition at line 34 of file __init__.py.

tuple GREEN = Color(0x00ff00)

Definition at line 27 of file __init__.py.

tuple GREY = Color(0x7f7f7f)

Definition at line 23 of file __init__.py.

tuple LIGHTBLUE = Color(0x7f7fff)

Definition at line 32 of file __init__.py.

tuple LIGHTCYAN = Color(0x7fffff)

Definition at line 38 of file __init__.py.

tuple LIGHTGREEN = Color(0x7fff7f)

Definition at line 29 of file __init__.py.

tuple LIGHTMAGENTA = Color(0xff7fff)

Definition at line 41 of file __init__.py.

tuple LIGHTRED = Color(0xff7f7f)

Definition at line 26 of file __init__.py.

tuple LIGHTYELLOW = Color(0xffff7f)

Definition at line 35 of file __init__.py.

tuple MAGENTA = Color(0xff00ff)

Definition at line 39 of file __init__.py.

tuple RED = Color(0xff0000)

Definition at line 24 of file __init__.py.

const unsigned int VA_CYL_MAX_DETAIL = 12 [static]

Definition at line 29 of file vertex_array_helper.hh.

const unsigned int VA_ICO_SPHERE_MAX_DETAIL = 4 [static]

Definition at line 28 of file vertex_array_helper.hh.

const unsigned int VA_SPHERE_MAX_DETAIL = 12 [static]

Definition at line 27 of file vertex_array_helper.hh.

tuple WHITE = Color(0xffffff)

Definition at line 21 of file __init__.py.

tuple YELLOW = Color(0xffff00)

Definition at line 33 of file __init__.py.


Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8