ARB
|
#include <RNA3D_Renderer.hxx>
Public Member Functions | |
GLRenderer () | |
virtual | ~GLRenderer () |
void | DisplayMolecule (Structure3D *cStr) |
void | DisplayMoleculeName (int w, int h, Structure3D *cStr) |
void | DisplayMoleculeMask (int w, int h) |
void | DoHelixMapping () |
void | DisplayHelices () |
void | DisplayHelixBackBone () |
void | DisplayHelixNumbers () |
void | DisplayBasePositions () |
void | DisplayMappedSpBasePositions () |
void | DisplayMappedSpInsertions () |
void | DisplayHelixMidPoints (Texture2D *cImages) |
void | BeginTexturizer () |
void | EndTexturizer () |
void | TexturizeStructure (Texture2D *cImages, Structure3D *cStructure) |
void | fixInvalidHelixPositions (int maxHelixNumber) |
Public Member Functions inherited from Noncopyable | |
Noncopyable () | |
Definition at line 15 of file RNA3D_Renderer.hxx.
GLRenderer::GLRenderer | ( | ) |
Definition at line 14 of file RNA3D_Renderer.cxx.
References G.
|
virtual |
Definition at line 35 of file RNA3D_Renderer.cxx.
void GLRenderer::DisplayMolecule | ( | Structure3D * | cStr | ) |
Definition at line 188 of file RNA3D_Renderer.cxx.
References G, Structure3D::GenerateMoleculeSkeleton(), Structure3D::iMapEnable, Structure3D::iMapSearch, MAP_SEARCH_STRINGS_BACKBONE, RNA3D_GC_BASES_HELIX, RNA3D_GC_BASES_NON_HELIX, RNA3D_GC_BASES_UNPAIRED_HELIX, RNA3D_GC_MOL_BACKBONE, STRUCTURE_BACKBONE, and STRUCTURE_BACKBONE_CLR.
Referenced by DrawStructure().
void GLRenderer::DisplayMoleculeName | ( | int | w, |
int | h, | ||
Structure3D * | cStr | ||
) |
Definition at line 145 of file RNA3D_Renderer.cxx.
References AW_root::awar(), AWAR_3D_SELECTED_SPECIES, G, Structure3D::iMapEnable, Structure3D::iTotalDels, Structure3D::iTotalIns, Structure3D::iTotalSubs, line, AW_awar::read_string(), RNA3D, RNA3D_GC_FOREGROUND, RNA3D_GC_MAPPED_SPECIES, RNA3D_Global::root, and y.
Referenced by RenderOpenGLScene().
Definition at line 176 of file RNA3D_Renderer.cxx.
References RNA3D_Global::bDisplayMask, G, RNA3D, and RNA3D_GC_MASK.
Referenced by RenderOpenGLScene().
void GLRenderer::DoHelixMapping | ( | ) |
Definition at line 125 of file RNA3D_Renderer.cxx.
References ECOLI_TERTIARY_INTRACTION_PSEUDOKNOTS, ECOLI_TERTIARY_INTRACTION_TRIPLE_BASES, G, RNA3D_GC_PSEUDOKNOT, and RNA3D_GC_TRIPLE_BASE.
Referenced by DrawStructure().
void GLRenderer::DisplayHelices | ( | ) |
Definition at line 38 of file RNA3D_Renderer.cxx.
References RNA3D_Global::cStructure, G, Structure3D::HelixBase, RNA3D, and RNA3D_GC_HELIX.
void GLRenderer::DisplayHelixBackBone | ( | ) |
Definition at line 49 of file RNA3D_Renderer.cxx.
References RNA3D_Global::cStructure, Structure3D::FindTypeOfRNA(), G, Structure3D::HelixBase, LSU_23S, LSU_5S, RNA3D, RNA3D_GC_HELIX_SKELETON, and SSU_16S.
void GLRenderer::DisplayHelixNumbers | ( | ) |
Definition at line 120 of file RNA3D_Renderer.cxx.
References G, HELIX_NUMBERS, and RNA3D_GC_FOREGROUND.
void GLRenderer::DisplayBasePositions | ( | ) |
Definition at line 85 of file RNA3D_Renderer.cxx.
References G, RNA3D_GC_MOL_BACKBONE, RNA3D_GC_MOL_POS, STRUCTURE_POS, and STRUCTURE_POS_ANCHOR.
void GLRenderer::DisplayMappedSpBasePositions | ( | ) |
Definition at line 104 of file RNA3D_Renderer.cxx.
References G, MAP_SPECIES_BASE_DIFFERENCE_POS, MAP_SPECIES_BASE_DIFFERENCE_POS_ANCHOR, RNA3D_GC_MAPPED_SPECIES, and RNA3D_GC_MOL_BACKBONE.
void GLRenderer::DisplayMappedSpInsertions | ( | ) |
Definition at line 95 of file RNA3D_Renderer.cxx.
References G, MAP_SPECIES_INSERTION_BASES, MAP_SPECIES_INSERTION_BASES_ANCHOR, and RNA3D_GC_INSERTION.
void GLRenderer::DisplayHelixMidPoints | ( | Texture2D * | cImages | ) |
Definition at line 113 of file RNA3D_Renderer.cxx.
References CIRCLE, G, HELIX_NUMBERS_POINTS, RNA3D_GC_HELIX_MIDPOINT, and Texture2D::texture.
void GLRenderer::BeginTexturizer | ( | ) |
Definition at line 241 of file RNA3D_Renderer.cxx.
References RNA3D_Global::bPointSpritesSupported, and RNA3D.
Referenced by DrawStructure().
void GLRenderer::EndTexturizer | ( | ) |
Definition at line 270 of file RNA3D_Renderer.cxx.
References RNA3D_Global::bPointSpritesSupported, and RNA3D.
Referenced by DrawStructure().
void GLRenderer::TexturizeStructure | ( | Texture2D * | cImages, |
Structure3D * | cStructure | ||
) |
Definition at line 285 of file RNA3D_Renderer.cxx.
References ColorRGBf::blue, CHARACTERS, CIRCLE, CONE_DOWN, DANGER, DIAMOND, ECOLI_CURSOR_POSITION, G, ColorRGBf::green, HELIX_A, HELIX_C, HELIX_G, HELIX_U, HEXAGON, Structure3D::iMapEnable, Structure3D::iMapSAI, Structure3D::iMapSearch, LETTER_A, LETTER_C, LETTER_G, LETTER_U, MAP_SAI_TO_STRUCTURE, MAP_SEARCH_STRINGS_TO_STRUCTURE, MAP_SPECIES_BASE_A, MAP_SPECIES_BASE_C, MAP_SPECIES_BASE_G, MAP_SPECIES_BASE_U, MAP_SPECIES_DELETION, MAP_SPECIES_INSERTION_POINTS, MAP_SPECIES_MISSING, NON_HELIX_A, NON_HELIX_C, NON_HELIX_G, NON_HELIX_U, POLOFFOFF, POLOFFON, QUESTION, ColorRGBf::red, RNA3D_GC_BASES_HELIX, RNA3D_GC_BASES_NON_HELIX, RNA3D_GC_BASES_UNPAIRED_HELIX, RNA3D_GC_CURSOR_POSITION, RNA3D_GC_DELETION, RNA3D_GC_FOREGROUND, RNA3D_GC_INSERTION, RNA3D_GC_MAPPED_SPECIES, SHAPES, Texture2D::texture, UNPAIRED_HELIX_A, UNPAIRED_HELIX_C, UNPAIRED_HELIX_G, and UNPAIRED_HELIX_U.
Referenced by DrawStructure().
|
inline |
Definition at line 53 of file RNA3D_Renderer.hxx.
References force_in_range().
Referenced by MapDisplayParameters().
float GLRenderer::ObjectSize |
Definition at line 16 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iDisplayBases |
Definition at line 17 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iBaseMode |
Definition at line 17 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iBaseHelix |
Definition at line 18 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iBaseUnpairHelix |
Definition at line 18 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iBaseNonHelix |
Definition at line 18 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iShapeHelix |
Definition at line 19 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iShapeUnpairHelix |
Definition at line 19 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iShapeNonHelix |
Definition at line 19 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iDisplayHelix |
Definition at line 20 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iHelixMidPoint |
Definition at line 20 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters(), and update_HelixNrDispList().
int GLRenderer::iHelixBackBone |
Definition at line 20 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iHelixNrs |
Definition at line 20 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters(), and update_HelixNrDispList().
int GLRenderer::iDispTerInt |
Definition at line 21 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iStartHelix |
Definition at line 22 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters(), and update_HelixNrDispList().
int GLRenderer::iEndHelix |
Definition at line 22 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters(), and update_HelixNrDispList().
float GLRenderer::fHelixSize |
Definition at line 23 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
float GLRenderer::fSkeletonSize |
Definition at line 24 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iColorise |
Definition at line 25 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iBackBone |
Definition at line 25 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iDispPos |
Definition at line 26 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iMapSpecies |
Definition at line 27 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters(), and MapSelectedSpeciesChanged_CB().
int GLRenderer::iMapSpeciesBase |
Definition at line 27 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iMapSpeciesPos |
Definition at line 27 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iMapSpeciesDels |
Definition at line 28 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iMapSpeciesMiss |
Definition at line 28 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iMapSpeciesIns |
Definition at line 28 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iMapSpeciesInsInfo |
Definition at line 28 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
int GLRenderer::iDispCursorPos |
Definition at line 29 of file RNA3D_Renderer.hxx.
Referenced by MapDisplayParameters().
OpenGLGraphics* GLRenderer::G |
Definition at line 31 of file RNA3D_Renderer.hxx.