Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp

    r7b93f9 r2d5137  
    7474   void setSelected(bool value);
    7575
    76    bool visible() const { return m_visible; }
    77    virtual void setVisible(bool value);
    78 
    7976   void initStaticMaterials();
    80    virtual void initialize(QGLView *view, QGLPainter *painter);
     77   void initialize(QGLView *view, QGLPainter *painter);
    8178   virtual void draw(QGLPainter *painter, const QVector4D &cameraPlane);
    8279   void drawSelectionBox(QGLPainter *painter);
     
    9794   static void cleanMaterialMap();
    9895
    99    void updateMesh(QGLSceneNode *scene);
    100 
    10196   typedef std::map< size_t, QGLMaterial *> ElementMaterialMap;
    10297   static ElementMaterialMap ElementNoMaterialMap;
     
    105100   enum{DETAIL_HIGHEST, DETAIL_HIGH, DETAIL_MEDIUM, DETAIL_LOW, DETAILTYPES_MAX} DetailType;
    106101
    107    static QGLSceneNode *meshEmpty[DETAILTYPES_MAX];
    108    static QGLSceneNode *meshSphere[DETAILTYPES_MAX];
    109    static QGLSceneNode *meshCylinder[DETAILTYPES_MAX];
    110 
    111102protected:
    112103
     
    114105
    115106   QGLSceneNode *m_mesh[DETAILTYPES_MAX];
    116    enum enum_MeshFreeType {
    117      free_all,
    118      free_single,
    119      free_none
    120    } MeshFreeType;
    121107   QGLAbstractScene *m_scene;
    122108   QVector3D m_position;
     
    134120   bool m_hovering;
    135121   bool m_selected;
    136    bool m_visible;
    137122};
    138123
Note: See TracChangeset for help on using the changeset viewer.