Public Member Functions | Private Attributes
edu.tum.cs.vis.model.ItemModel Class Reference

List of all members.

Public Member Functions

ModelParser getParser ()
String getPath ()
 ItemModel (String path)
boolean parseModel ()
void setParser (ModelParser parser)
void setPath (String path)

Private Attributes

ModelParser parser
String path

Detailed Description

Holds information about the 3D Model of an ItemBase object.

Author:
Stefan Profanter

Definition at line 21 of file ItemModel.java.


Constructor & Destructor Documentation

edu.tum.cs.vis.model.ItemModel.ItemModel ( String  path) [inline]

Constructor. The model will immediately be parsed and hold in RAM.

Parameters:
pathPath to the model

Definition at line 39 of file ItemModel.java.


Member Function Documentation

Get associated model parser which contains the model for this item

Returns:
the model parser

Definition at line 50 of file ItemModel.java.

Get physical file path of model

Returns:
physical file path

Definition at line 59 of file ItemModel.java.

Selects automagically the correct parser for the file (by file extension) and parses the model with the selected parser.

Returns:
true if successfully parsed, false otherwise

Definition at line 69 of file ItemModel.java.

Set associated model parser which contains the model for this item

Parameters:
parserthe model parser

Definition at line 95 of file ItemModel.java.

void edu.tum.cs.vis.model.ItemModel.setPath ( String  path) [inline]

Set physical file path of model

Parameters:
pathphysical file path

Definition at line 105 of file ItemModel.java.


Member Data Documentation

The parser for the model.

Definition at line 31 of file ItemModel.java.

Physical file path to the model

Definition at line 26 of file ItemModel.java.


The documentation for this class was generated from the following file:


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Sat Dec 28 2013 17:09:45