Пример #1
0
 /// <summary>
 /// Verifies that everything is good in the attachment
 /// </summary>
 /// <param name="log">Logger to output messages to</param>
 /// <returns>true if successfully verified</returns>
 public override bool Verify(Export.ProgressLogger log)
 {
     log.WriteMessage("Verifying " + Name);
     if (Joint == null)
         log.WriteError(Name + " must be associated with a joint.");
     return true;
 }
Пример #2
0
 /// <summary>
 /// Verifies that everything is good in the attachment
 /// </summary>
 /// <param name="log">Logger to output messages to</param>
 /// <returns>true if successfully verified</returns>
 public override bool Verify(Export.ProgressLogger log)
 {
     log.WriteMessage("Verifying " + Name);
     if (OriginPoint == null)
         log.WriteError("No camera location set for " + Name);
     return true;
 }
Пример #3
0
 /// <summary>
 /// Verifies that everything is good in the attachment
 /// </summary>
 /// <param name="log">Logger to output messages to</param>
 /// <returns>true if successfully verified</returns>
 public override bool Verify(Export.ProgressLogger log)
 {
     log.WriteMessage("Verifying " + Name);
     return true;
 }
Пример #4
0
 /// <summary>
 /// Verifies that everything is good in the attachment
 /// </summary>
 /// <param name="log">Logger to output messages to</param>
 /// <returns>true if successfully verified</returns>
 public override bool Verify(Export.ProgressLogger log)
 {
     log.WriteMessage("Verifying " + Name);
     if (OriginPoint == null)
         log.WriteError("No camera location set for " + Name);
     if (MaxDist < MinDist)
         log.WriteError("Minimum distance is greater than maximum distance for " + Name);
     if (MaxDist == 0)
         log.WriteWarning(Name + " has no viewing distance");
     return true;
 }