Changeset 999 for cpp/frams/_demos/genomanipulation.cpp
- Timestamp:
- 07/13/20 13:51:43 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/genomanipulation.cpp
r990 r999 196 196 printf(cl->getPreferredOutput() ? "and provides meaningful output signal (getPreferredOutput()==1).\n" : "and doesn't provide useful output signal (getPreferredOutput()==0).\n"); 197 197 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) 199 199 printf("any shape types.\n"); 200 200 else 201 201 { 202 202 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++) 204 204 if (cl->isShapeTypeSupported((Model::ShapeType)i)) 205 205 printf(" '%s'", Model::getShapeTypeName((Model::ShapeType)i)); … … 209 209 { 210 210 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) 212 212 printf("any shapes"); 213 213 else … … 311 311 g.getFormat().c_str(), g.getComment().c_str()); 312 312 313 Model m(g, Model::SHAPE _UNKNOWN);//.getConverted('0'));313 Model m(g, Model::SHAPETYPE_UNKNOWN);//.getConverted('0')); 314 314 315 315 if (!m.isValid())
Note: See TracChangeset
for help on using the changeset viewer.