Static Public Member Functions | Static Private Member Functions | List of all members
com.generalrobotix.ui.util.GrxVrmlExporter Class Reference

Static Public Member Functions

static boolean export (GrxModelItem model, String exportPath)
 export model item to a VRML97 file More...
 
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 More...
 
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 More...
 

Static Private Member Functions

static String _absPath2relPath (String absPath, String baseDir)
 convert absolute path into relative path More...
 
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 
)
inlinestaticprivate

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 
)
inlinestatic

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 
)
inlinestatic

Definition at line 568 of file GrxVrmlExporter.java.

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

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 
)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestaticprivate

Definition at line 772 of file GrxVrmlExporter.java.

static boolean com.generalrobotix.ui.util.GrxVrmlExporter.valueEquals ( String  s1,
String  s2 
)
inlinestaticprivate

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 Sat May 8 2021 02:42:44