C# Class ChronoEngine_SwAddin.SWTaskpaneHost

Exibir arquivo Open project: projectchrono/chrono-solidworks Class Usage Examples

Public Properties

Property Type Description
mSWApplication ISldWorks
mSWintegration SWIntegration

Public Methods

Method Description
DirTransform ( Vector3D dir, MathTransform &trasf ) : Vector3D
DumpTraverseComponent ( Component2 swComp, long nLevel, string &asciitext ) : void
DumpTraverseFeatures ( Feature swFeat, long nLevel, string &asciitext ) : void
ExportToDump ( string &asciitext ) : void
ExportToPython ( string &asciitext ) : void
GetMatrixFromMathTransform ( MathTransform &trasf ) : Matrix3D
GetQuaternionFromMatrix ( MathTransform &trasf ) : double[]
PointTransform ( Point3D pt, MathTransform &trasf ) : Point3D
PythonTraverseComponent_for_ChBody ( Component2 swComp, long nLevel, string &asciitext, int nbody ) : void
PythonTraverseComponent_for_collshapes ( Component2 swComp, long nLevel, string &asciitext, int nbody, MathTransform &chbodytransform, bool &found_collisionshapes, Component2 swCompBase ) : void
PythonTraverseComponent_for_countingmassbodies ( Component2 swComp, int &valid_bodies ) : void
PythonTraverseComponent_for_links ( Component2 swComp, long nLevel, string &asciitext, MathTransform &roottrasf ) : void
PythonTraverseComponent_for_markers ( Component2 swComp, long nLevel, string &asciitext, int nbody ) : void
PythonTraverseComponent_for_massbodies ( Component2 swComp, object &obodies, int &addedb ) : void
PythonTraverseComponent_for_visualizationshapes ( Component2 swComp, long nLevel, string &asciitext, int nbody, int &nvisshape, Component2 chbody_comp ) : void
PythonTraverseFeatures_for_collshapes ( Component2 swComp, long nLevel, string &asciitext, int nbody, MathTransform &chbodytransform, bool &found_collisionshapes, Component2 swCompBase ) : void
PythonTraverseFeatures_for_links ( Feature swFeat, long nLevel, string &asciitext, MathTransform &roottrasf, Component2 &assemblyofmates ) : void
PythonTraverseFeatures_for_markers ( Feature swFeat, long nLevel, string &asciitext, int nbody, MathTransform swCompTotalTrasf ) : void
SWTaskpaneHost ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

UserControl1_Load ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button_chrono_property_Click ( object sender, EventArgs e ) : void
button_convexdecomp_Click ( object sender, EventArgs e ) : void
button_runtest_Click ( object sender, EventArgs e ) : void
button_setcollshape_Click ( object sender, EventArgs e ) : void
checkBox1_CheckedChanged ( object sender, EventArgs e ) : void
checkBox_constraints_CheckedChanged ( object sender, EventArgs e ) : void
checkBox_scale_CheckedChanged ( object sender, EventArgs e ) : void
checkBox_surfaces_CheckedChanged ( object sender, EventArgs e ) : void

Method Details

DirTransform() public static method

public static DirTransform ( Vector3D dir, MathTransform &trasf ) : Vector3D
dir Vector3D
trasf MathTransform
return Vector3D

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DumpTraverseComponent() public method

public DumpTraverseComponent ( Component2 swComp, long nLevel, string &asciitext ) : void
swComp Component2
nLevel long
asciitext string
return void

DumpTraverseFeatures() public method

public DumpTraverseFeatures ( Feature swFeat, long nLevel, string &asciitext ) : void
swFeat Feature
nLevel long
asciitext string
return void

ExportToDump() public method

public ExportToDump ( string &asciitext ) : void
asciitext string
return void

ExportToPython() public method

public ExportToPython ( string &asciitext ) : void
asciitext string
return void

GetMatrixFromMathTransform() public static method

public static GetMatrixFromMathTransform ( MathTransform &trasf ) : Matrix3D
trasf MathTransform
return Matrix3D

GetQuaternionFromMatrix() public method

public GetQuaternionFromMatrix ( MathTransform &trasf ) : double[]
trasf MathTransform
return double[]

PointTransform() public static method

public static PointTransform ( Point3D pt, MathTransform &trasf ) : Point3D
pt Point3D
trasf MathTransform
return Point3D

PythonTraverseComponent_for_ChBody() public method

public PythonTraverseComponent_for_ChBody ( Component2 swComp, long nLevel, string &asciitext, int nbody ) : void
swComp Component2
nLevel long
asciitext string
nbody int
return void

PythonTraverseComponent_for_collshapes() public method

public PythonTraverseComponent_for_collshapes ( Component2 swComp, long nLevel, string &asciitext, int nbody, MathTransform &chbodytransform, bool &found_collisionshapes, Component2 swCompBase ) : void
swComp Component2
nLevel long
asciitext string
nbody int
chbodytransform MathTransform
found_collisionshapes bool
swCompBase Component2
return void

PythonTraverseComponent_for_countingmassbodies() public method

public PythonTraverseComponent_for_countingmassbodies ( Component2 swComp, int &valid_bodies ) : void
swComp Component2
valid_bodies int
return void

PythonTraverseComponent_for_links() public method

public PythonTraverseComponent_for_links ( Component2 swComp, long nLevel, string &asciitext, MathTransform &roottrasf ) : void
swComp Component2
nLevel long
asciitext string
roottrasf MathTransform
return void

PythonTraverseComponent_for_markers() public method

public PythonTraverseComponent_for_markers ( Component2 swComp, long nLevel, string &asciitext, int nbody ) : void
swComp Component2
nLevel long
asciitext string
nbody int
return void

PythonTraverseComponent_for_massbodies() public method

public PythonTraverseComponent_for_massbodies ( Component2 swComp, object &obodies, int &addedb ) : void
swComp Component2
obodies object
addedb int
return void

PythonTraverseComponent_for_visualizationshapes() public method

public PythonTraverseComponent_for_visualizationshapes ( Component2 swComp, long nLevel, string &asciitext, int nbody, int &nvisshape, Component2 chbody_comp ) : void
swComp Component2
nLevel long
asciitext string
nbody int
nvisshape int
chbody_comp Component2
return void

PythonTraverseFeatures_for_collshapes() public method

public PythonTraverseFeatures_for_collshapes ( Component2 swComp, long nLevel, string &asciitext, int nbody, MathTransform &chbodytransform, bool &found_collisionshapes, Component2 swCompBase ) : void
swComp Component2
nLevel long
asciitext string
nbody int
chbodytransform MathTransform
found_collisionshapes bool
swCompBase Component2
return void

PythonTraverseFeatures_for_links() public method

public PythonTraverseFeatures_for_links ( Feature swFeat, long nLevel, string &asciitext, MathTransform &roottrasf, Component2 &assemblyofmates ) : void
swFeat Feature
nLevel long
asciitext string
roottrasf MathTransform
assemblyofmates Component2
return void

PythonTraverseFeatures_for_markers() public method

public PythonTraverseFeatures_for_markers ( Feature swFeat, long nLevel, string &asciitext, int nbody, MathTransform swCompTotalTrasf ) : void
swFeat Feature
nLevel long
asciitext string
nbody int
swCompTotalTrasf MathTransform
return void

SWTaskpaneHost() public method

public SWTaskpaneHost ( ) : System
return System

Property Details

mSWApplication public_oe property

public ISldWorks mSWApplication
return ISldWorks

mSWintegration public_oe property

public SWIntegration,ChronoEngine_SwAddin mSWintegration
return SWIntegration