- ObjectKind anObjectKind = theObject->GetKind();
- if ( anObjectKind != KIND_IMAGE &&
- anObjectKind != KIND_POLYLINEXY &&
- anObjectKind != KIND_IMMERSIBLE_ZONE &&
- anObjectKind != KIND_REGION &&
- anObjectKind != KIND_ZONE &&
- anObjectKind != KIND_OBSTACLE &&
- anObjectKind != KIND_PROFILE &&
- anObjectKind != KIND_STREAM &&
- anObjectKind != KIND_CHANNEL )