|
OpenStructure
|
Namespaces | |
| namespace | detail |
| namespace | impl |
| namespace | map_iso |
| namespace | py_gfx_obj |
| namespace | RenderMode |
Data Structures | |
| struct | Bitmap |
| class | ColladaExporter |
| 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 | Exporter |
| class | GfxNode |
| class | GfxNodeVisitor |
| class | GfxObj |
| main class for all graphic objects More... | |
| class | GfxObjBase |
| main interface for all graphic objects, both in C++ and Python More... | |
| struct | SpherePrim |
| struct | CylinderPrim |
| struct | TextPrim |
| class | GfxTestObj |
| class | GLWinBase |
| class | GostExporter |
| class | Gradient |
| color gradient More... | |
| class | GradientManager |
| class | OffscreenBuffer |
| class | InputEvent |
| class | MapIso |
| isocontour rendering for 3D image data More... | |
| class | MapSlab |
| Render slice of 3d image. More... | |
| class | Material |
| class | OffscreenBufferFormat |
| class | PovState |
| class | PrimList |
| 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 | Texture |
| class | IndexedVertexArray |
| class | GfxNodeListAttrProxy |
| class | GfxNodeListProxy |
Typedefs | |
| typedef unsigned char | ColorMask |
| typedef boost::shared_ptr < UniformColorOp > | UniformColorOpP |
| typedef std::vector < RenderMode::Type > | RenderModeTypes |
| typedef boost::shared_ptr< Entity > | EntityP |
| typedef std::vector< GfxNodeP > | GfxNodeVector |
| typedef boost::shared_ptr < GfxNode > | GfxNodeP |
| typedef std::vector< GfxNodeP > | NodePtrList |
| typedef boost::shared_ptr < GfxObjBase > | GfxObjBaseP |
| typedef boost::shared_ptr< GfxObj > | GfxObjP |
| typedef std::vector< SpherePrim > | SpherePrimList |
| typedef std::vector< CylinderPrim > | CylinderPrimList |
| typedef std::vector< TextPrim > | TextPrimList |
| typedef boost::shared_ptr< MapIso > | MapIsoP |
| typedef boost::shared_ptr < MapSlab > | MapSlabP |
| 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< SymmetryOp > | SymmetryOpList |
| typedef unsigned int | VertexID |
| typedef unsigned int | LineID |
| typedef unsigned int | TriID |
| typedef unsigned int | QuadID |
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) |
| Color DLLEXPORT_OST_GFX | HSV (double h, double s, double v) |
| DLLEXPORT_OST_GFX std::ostream & | operator<< (std::ostream &, const Color &c) |
| def | Stereo |
| def | FitToScreen |
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(1.0,1.0,1.0) |
| tuple | BLACK = Color(0.0,0.0,0.0) |
| tuple | GREY = Color(0.5,0.5,0.5) |
| tuple | RED = Color(1.0,0.0,0.0) |
| tuple | DARKRED = Color(0.5,0.0,0.0) |
| tuple | LIGHTRED = Color(1.0,0.5,0.5) |
| tuple | GREEN = Color(0.0,1.0,0.0) |
| tuple | DARKGREEN = Color(0.0,0.5,0.0) |
| tuple | LIGHTGREEN = Color(0.5,1.0,0.5) |
| tuple | BLUE = Color(0.0,0.0,1.0) |
| tuple | DARKBLUE = Color(0.0,0.0,0.5) |
| tuple | LIGHTBLUE = Color(0.5,0.5,1.0) |
| tuple | YELLOW = Color(1.0,1.0,0.0) |
| tuple | DARKYELLOW = Color(0.5,0.5,0.0) |
| tuple | LIGHTYELLOW = Color(1.0,1.0,0.5) |
| tuple | CYAN = Color(0.0,1.0,1.0) |
| tuple | DARKCYAN = Color(0.0,0.5,0.5) |
| tuple | LIGHTCYAN = Color(0.5,1.0,1.0) |
| tuple | MAGENTA = Color(1.0,0.0,1.0) |
| tuple | DARKMAGENTA = Color(0.5,0.0,0.5) |
| tuple | LIGHTMAGENTA = Color(1.0,0.5,1.0) |
| PURPLE = MAGENTA | |
| DARKPURPLE = DARKMAGENTA | |
| LIGHTPURPLE = LIGHTMAGENTA | |
| tuple | ORANGE = Color(1.0,0.5,0.0) |
| tuple | DARKORANGE = Color(0.5,0.25,0.0) |
| tuple | LIGHTORANGE = Color(1.0,0.75,0.5) |
| typedef boost::shared_ptr<CartoonRenderOptions> CartoonRenderOptionsPtr |
Definition at line 137 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 62 of file cpk_render_options.hh.
| typedef boost::shared_ptr<CustomRenderOptions> CustomRenderOptionsPtr |
Definition at line 62 of file custom_render_options.hh.
| typedef std::vector<CylinderPrim> CylinderPrimList |
Definition at line 105 of file gfx_prim.hh.
Definition at line 26 of file entity_fw.hh.
Definition at line 31 of file gfx_node_fw.hh.
| typedef std::vector<GfxNodeP> GfxNodeVector |
Definition at line 41 of file gfx_node.hh.
| typedef boost::shared_ptr<GfxObjBase> GfxObjBaseP |
Definition at line 30 of file gfx_object_fw.hh.
Definition at line 32 of file gfx_object_fw.hh.
| typedef unsigned int LineID |
Definition at line 47 of file vertex_array.hh.
| typedef boost::shared_ptr<LineRenderOptions> LineRenderOptionsPtr |
Definition at line 53 of file line_render_options.hh.
| typedef boost::shared_ptr<LineTraceRenderOptions> LineTraceRenderOptionsPtr |
Definition at line 43 of file line_trace_render_options.hh.
Definition at line 43 of file map_iso.hh.
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 unsigned int QuadID |
Definition at line 49 of file vertex_array.hh.
| typedef std::vector<RenderMode::Type> RenderModeTypes |
| typedef boost::shared_ptr<RenderOptions> RenderOptionsPtr |
Definition at line 37 of file render_options.hh.
| typedef std::vector<SceneObserver*> SceneObserverList |
| typedef boost::shared_ptr<SimpleRenderOptions> SimpleRenderOptionsPtr |
Definition at line 59 of file simple_render_options.hh.
| typedef boost::shared_ptr<SlineRenderOptions> SlineRenderOptionsPtr |
Definition at line 50 of file sline_render_options.hh.
| typedef std::vector<SpherePrim> SpherePrimList |
Definition at line 47 of file gfx_prim.hh.
Definition at line 46 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 117 of file gfx_prim.hh.
| typedef boost::shared_ptr<TraceRenderOptions> TraceRenderOptionsPtr |
Definition at line 60 of file trace_render_options.hh.
| typedef unsigned int TriID |
Definition at line 48 of file vertex_array.hh.
| typedef boost::shared_ptr<UniformColorOp> UniformColorOpP |
Definition at line 57 of file uniform_color_op.hh.
| typedef unsigned int VertexID |
Definition at line 46 of file vertex_array.hh.
| enum ColorBit |
Definition at line 38 of file color_op.hh.
| enum InputCommand |
| enum InputDevice |
| enum MapIsoType |
Definition at line 38 of file map_iso.hh.
| enum RenderPass |
Definition at line 27 of file render_pass.hh.
| enum TransformTarget |
| void ost::gfx::BitmapExport | ( | const String & | fname, |
| const String & | ext, | ||
| unsigned int | width, | ||
| unsigned int | height, | ||
| unsigned char * | data | ||
| ) |
| def ost.gfx.FitToScreen | ( | gfx_ent, | |
width = None, |
|||
height = None, |
|||
margin = 0.05 |
|||
| ) |
Setup camera such that it is centered on the graphical entity and the entity fits the entire viewport. The longest axes of the entity are aligned along the x- and y- axes of the screen. :param gfx_ent: The graphical entity :type gfx_ent: str or :class:`Entity`
Definition at line 69 of file __init__.py.
| Color DLLEXPORT_OST_GFX ost::gfx::HSV | ( | double | h, |
| double | s, | ||
| double | v | ||
| ) |
HSV color spec.
h: Hue from 0 to 360 (0=red, 120=green, 240=blue) s: Saturation from 0 (no color) to 100 (full color) v: Value from 0 (no light, black) to 100 (full light)
| DLLEXPORT_OST_GFX std::ostream& ost::gfx::operator<< | ( | std::ostream & | , |
| const Color & | c | ||
| ) |
| def ost.gfx.Stereo | ( | mode, | |
flip = None, |
|||
alg = None |
|||
| ) |
Stereo control :param mode: 0=off, 1=quad-buffered, 2=interlaced :type mode: int :param flip: invert order of left/right display :type flip: bool :param alg: stereo algorithm (0 or 1) :type param: int
Definition at line 51 of file __init__.py.
| tuple BLACK = Color(0.0,0.0,0.0) |
Definition at line 23 of file __init__.py.
| tuple BLUE = Color(0.0,0.0,1.0) |
Definition at line 31 of file __init__.py.
| tuple CYAN = Color(0.0,1.0,1.0) |
Definition at line 37 of file __init__.py.
| tuple DARKBLUE = Color(0.0,0.0,0.5) |
Definition at line 32 of file __init__.py.
| tuple DARKCYAN = Color(0.0,0.5,0.5) |
Definition at line 38 of file __init__.py.
| tuple DARKGREEN = Color(0.0,0.5,0.0) |
Definition at line 29 of file __init__.py.
| tuple DARKMAGENTA = Color(0.5,0.0,0.5) |
Definition at line 41 of file __init__.py.
| tuple DARKORANGE = Color(0.5,0.25,0.0) |
Definition at line 47 of file __init__.py.
| DARKPURPLE = DARKMAGENTA |
Definition at line 44 of file __init__.py.
| tuple DARKRED = Color(0.5,0.0,0.0) |
Definition at line 26 of file __init__.py.
| tuple DARKYELLOW = Color(0.5,0.5,0.0) |
Definition at line 35 of file __init__.py.
| tuple GREEN = Color(0.0,1.0,0.0) |
Definition at line 28 of file __init__.py.
| tuple GREY = Color(0.5,0.5,0.5) |
Definition at line 24 of file __init__.py.
| tuple LIGHTBLUE = Color(0.5,0.5,1.0) |
Definition at line 33 of file __init__.py.
| tuple LIGHTCYAN = Color(0.5,1.0,1.0) |
Definition at line 39 of file __init__.py.
| tuple LIGHTGREEN = Color(0.5,1.0,0.5) |
Definition at line 30 of file __init__.py.
| tuple LIGHTMAGENTA = Color(1.0,0.5,1.0) |
Definition at line 42 of file __init__.py.
| tuple LIGHTORANGE = Color(1.0,0.75,0.5) |
Definition at line 48 of file __init__.py.
| LIGHTPURPLE = LIGHTMAGENTA |
Definition at line 45 of file __init__.py.
| tuple LIGHTRED = Color(1.0,0.5,0.5) |
Definition at line 27 of file __init__.py.
| tuple LIGHTYELLOW = Color(1.0,1.0,0.5) |
Definition at line 36 of file __init__.py.
| tuple MAGENTA = Color(1.0,0.0,1.0) |
Definition at line 40 of file __init__.py.
| tuple ORANGE = Color(1.0,0.5,0.0) |
Definition at line 46 of file __init__.py.
| PURPLE = MAGENTA |
Definition at line 43 of file __init__.py.
| tuple RED = Color(1.0,0.0,0.0) |
Definition at line 25 of file __init__.py.
|
static |
Definition at line 29 of file vertex_array_helper.hh.
|
static |
Definition at line 28 of file vertex_array_helper.hh.
|
static |
Definition at line 27 of file vertex_array_helper.hh.
| tuple WHITE = Color(1.0,1.0,1.0) |
Definition at line 22 of file __init__.py.
| tuple YELLOW = Color(1.0,1.0,0.0) |
Definition at line 34 of file __init__.py.
1.8.1.1