Static Public Member Functions | Static Private Member Functions
com.generalrobotix.ui.util.GrxVrmlExporter Class Reference

List of all members.

Static Public Member Functions

static boolean export (GrxModelItem model, String exportPath)
 export model item to a VRML97 file
static void exportExtraJoint (BufferedWriter writer, GrxExtraJointItem extraJoint)
static void exportGeometry (BufferedWriter writer, GrxShapeItem shape, String indent)
static Vector< GrxLinkItemexportLink (BufferedWriter writer, GrxLinkItem link, String indent, String exportDir, String mainPath)
 export link information
static void exportSegment (BufferedWriter writer, GrxSegmentItem segment, String indent, String exportDir, String mainPath)
static void exportSensor (BufferedWriter writer, GrxSensorItem sensor, String indent, String exportDir, String mainPath)
static void exportShape (BufferedWriter writer, GrxShapeItem shape, String indent, String exportDir, String mainPath)
 export shape item

Static Private Member Functions

static String _absPath2relPath (String absPath, String baseDir)
 convert absolute path into relative path
static boolean isZero (String s1, int i)
static boolean valueEquals (String s1, String s2)

Detailed Description

Definition at line 22 of file GrxVrmlExporter.java.


Member Function Documentation

static String com.generalrobotix.ui.util.GrxVrmlExporter._absPath2relPath ( String  absPath,
String  baseDir 
) [inline, static, private]

convert absolute path into relative path

Parameters:
absPathabsolute path
baseDirbase directory
Returns:
relative path from the base directory

Definition at line 589 of file GrxVrmlExporter.java.

static boolean com.generalrobotix.ui.util.GrxVrmlExporter.export ( GrxModelItem  model,
String  exportPath 
) [inline, static]

export model item to a VRML97 file

Parameters:
modelmodel item to be exported
exportPathpath of VRML97 file
Returns:
true exported successfully, false otherwise

Definition at line 29 of file GrxVrmlExporter.java.

static void com.generalrobotix.ui.util.GrxVrmlExporter.exportExtraJoint ( BufferedWriter  writer,
GrxExtraJointItem  extraJoint 
) [inline, static]

Definition at line 568 of file GrxVrmlExporter.java.

static void com.generalrobotix.ui.util.GrxVrmlExporter.exportGeometry ( BufferedWriter  writer,
GrxShapeItem  shape,
String  indent 
) [inline, static]

Definition at line 620 of file GrxVrmlExporter.java.

static Vector<GrxLinkItem> com.generalrobotix.ui.util.GrxVrmlExporter.exportLink ( BufferedWriter  writer,
GrxLinkItem  link,
String  indent,
String  exportDir,
String  mainPath 
) [inline, static]

export link information

Parameters:
writeroutput stream
linklink to be exported
indentindent string
exportDirdirectory where VRML97 is exported
mainPathpath of the main file
Returns:
vector of links which include this link and child links

Definition at line 307 of file GrxVrmlExporter.java.

static void com.generalrobotix.ui.util.GrxVrmlExporter.exportSegment ( BufferedWriter  writer,
GrxSegmentItem  segment,
String  indent,
String  exportDir,
String  mainPath 
) [inline, static]

Definition at line 359 of file GrxVrmlExporter.java.

static void com.generalrobotix.ui.util.GrxVrmlExporter.exportSensor ( BufferedWriter  writer,
GrxSensorItem  sensor,
String  indent,
String  exportDir,
String  mainPath 
) [inline, static]

export sensor item

Parameters:
writeroutput stream
sensorsensor to be exported
indentindent
exportDirdirectory where VRML97 is exported
mainPathpath of the main file

Definition at line 402 of file GrxVrmlExporter.java.

static void com.generalrobotix.ui.util.GrxVrmlExporter.exportShape ( BufferedWriter  writer,
GrxShapeItem  shape,
String  indent,
String  exportDir,
String  mainPath 
) [inline, static]

export shape item

Parameters:
writeroutput stream
shapeshape to be exported
indentindent
exportDirdirectory where VRML97 is exported
mainPathpath of the main file

Definition at line 510 of file GrxVrmlExporter.java.

static boolean com.generalrobotix.ui.util.GrxVrmlExporter.isZero ( String  s1,
int  i 
) [inline, static, private]

Definition at line 772 of file GrxVrmlExporter.java.

static boolean com.generalrobotix.ui.util.GrxVrmlExporter.valueEquals ( String  s1,
String  s2 
) [inline, static, private]

Definition at line 754 of file GrxVrmlExporter.java.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:21