Ignore:
Timestamp:
07/13/20 13:51:43 (4 years ago)
Author:
Maciej Komosinski
Message:

More consistent usage of "shapetype" (vs. "shape")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/genomanipulation.cpp

    r990 r999  
    196196                        printf(cl->getPreferredOutput() ? "and provides meaningful output signal (getPreferredOutput()==1).\n" : "and doesn't provide useful output signal (getPreferredOutput()==0).\n");
    197197                        printf("Instances of '%s' can be used in models having ", cl->getName().c_str());
    198                         if (cl->getSupportedShapeTypes() == NeuroClass::SUPPORTED_SHAPE_ALL)
     198                        if (cl->getSupportedShapeTypes() == NeuroClass::SUPPORTED_SHAPETYPE_ALL)
    199199                                printf("any shape types.\n");
    200200                        else
    201201                        {
    202202                                printf("shape types:");
    203                                 for (int i = Model::SHAPE_FIRST; i <= Model::SHAPE_LAST; i++)
     203                                for (int i = Model::SHAPETYPE_FIRST; i <= Model::SHAPETYPE_LAST; i++)
    204204                                        if (cl->isShapeTypeSupported((Model::ShapeType)i))
    205205                                                printf(" '%s'", Model::getShapeTypeName((Model::ShapeType)i));
     
    209209                        {
    210210                                printf("Instances of '%s' can be attached to Joints having ", cl->getName().c_str());
    211                                 if (cl->getSupportedJointShapes() == NeuroClass::SUPPORTED_JOINT_ALL)
     211                                if (cl->getSupportedJointShapes() == NeuroClass::SUPPORTED_JOINTSHAPE_ALL)
    212212                                        printf("any shapes");
    213213                                else
     
    311311                g.getFormat().c_str(), g.getComment().c_str());
    312312
    313         Model m(g, Model::SHAPE_UNKNOWN);//.getConverted('0'));
     313        Model m(g, Model::SHAPETYPE_UNKNOWN);//.getConverted('0'));
    314314
    315315        if (!m.isValid())
Note: See TracChangeset for help on using the changeset viewer.