md3.md3view
Class MD3ModelGetPropertiesVisitor

java.lang.Object
  |
  +--md3.md3model.MD3ModelVisitor
        |
        +--md3.md3view.MD3ModelGetPropertiesVisitor

public class MD3ModelGetPropertiesVisitor
extends MD3ModelVisitor

An MD3Model visitor that walks through an MD3Model structure and collects different properties of the encountered models (number of triangles, vertices, ...).

Author:
Erwin Vervaet (erwin@cs.kuleuven.ac.be)

Constructor Summary
MD3ModelGetPropertiesVisitor()
          Create a new property collecting visitor.
 
Method Summary
 java.lang.String[] toText()
          Return the property information collected by this visitor as an array of Strings.
 void visit(MD3Model model)
          Visit a MD3Model object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD3ModelGetPropertiesVisitor

public MD3ModelGetPropertiesVisitor()

Create a new property collecting visitor.

Method Detail

visit

public void visit(MD3Model model)
Description copied from class: MD3ModelVisitor

Visit a MD3Model object.

Overrides:
visit in class MD3ModelVisitor
Tags copied from class: MD3ModelVisitor
Parameters:
model - The object to visit.

toText

public java.lang.String[] toText()

Return the property information collected by this visitor as an array of Strings.

Returns:
The collected information.