Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Verifyies the joint for export
 /// </summary>
 /// <param name="axisName">THe name of the axis, should be in form "jointName Axis x"</param>
 /// <param name="log"></param>
 protected override bool VerifySpecifics(Export.ProgressLogger log)
 {
     if (OriginPt == null)
         log.WriteError("No origin defined in joint " + joint.Name);
     return true;
 }
Exemplo n.º 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;
 }