Changeset 935 for cpp/frams/model


Ignore:
Timestamp:
05/29/20 15:20:29 (4 years ago)
Author:
Maciej Komosinski
Message:

Utility functions that provide a set of all neuron classes fulfilling given criteria now also filter neuron classes by the desired Model shape type (BALL_AND_STICK or SOLIDS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/model.h

    r932 r935  
    5454        */
    5555
    56 class Model : public DestrBase
     56class Model : public DestrBase, public ModelEnum
    5757{
    5858protected:
     
    9393
    9494public:
    95         enum ShapeType { SHAPE_BALL_AND_STICK = 0, SHAPE_SOLIDS = 1, SHAPE_UNKNOWN, SHAPE_ILLEGAL };
    9695        /// used in internalCheck()
    9796        enum CheckType {
     
    407406        ///////////////////////////
    408407
    409         static Part &getMinPart();
    410         static Part &getMaxPart();
    411         static Part &getDefPart();
     408        static Part_MinMaxDef &getMinPart();
     409        static Part_MinMaxDef &getMaxPart();
     410        static Part_MinMaxDef &getDefPart();
    412411        static Joint &getMinJoint();
    413412        static Joint &getMaxJoint();
Note: See TracChangeset for help on using the changeset viewer.