C# Class ChronoEngine_SwAddin.SWTaskpaneHost

Afficher le fichier Open project: projectchrono/chrono-solidworks Class Usage Examples

Méthodes publiques

Свойство Type Description
mSWApplication ISldWorks
mSWintegration SWIntegration

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public static DirTransform ( Vector3D dir, MathTransform &trasf ) : Vector3D
dir Vector3D
trasf MathTransform
Résultat Vector3D

Dispose() protected méthode

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

DumpTraverseComponent() public méthode

public DumpTraverseComponent ( Component2 swComp, long nLevel, string &asciitext ) : void
swComp Component2
nLevel long
asciitext string
Résultat void

DumpTraverseFeatures() public méthode

public DumpTraverseFeatures ( Feature swFeat, long nLevel, string &asciitext ) : void
swFeat Feature
nLevel long
asciitext string
Résultat void

ExportToDump() public méthode

public ExportToDump ( string &asciitext ) : void
asciitext string
Résultat void

ExportToPython() public méthode

public ExportToPython ( string &asciitext ) : void
asciitext string
Résultat void

GetMatrixFromMathTransform() public static méthode

public static GetMatrixFromMathTransform ( MathTransform &trasf ) : Matrix3D
trasf MathTransform
Résultat Matrix3D

GetQuaternionFromMatrix() public méthode

public GetQuaternionFromMatrix ( MathTransform &trasf ) : double[]
trasf MathTransform
Résultat double[]

PointTransform() public static méthode

public static PointTransform ( Point3D pt, MathTransform &trasf ) : Point3D
pt Point3D
trasf MathTransform
Résultat Point3D

PythonTraverseComponent_for_ChBody() public méthode

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

PythonTraverseComponent_for_collshapes() public méthode

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
Résultat void

PythonTraverseComponent_for_countingmassbodies() public méthode

public PythonTraverseComponent_for_countingmassbodies ( Component2 swComp, int &valid_bodies ) : void
swComp Component2
valid_bodies int
Résultat void

PythonTraverseComponent_for_links() public méthode

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

PythonTraverseComponent_for_markers() public méthode

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

PythonTraverseComponent_for_massbodies() public méthode

public PythonTraverseComponent_for_massbodies ( Component2 swComp, object &obodies, int &addedb ) : void
swComp Component2
obodies object
addedb int
Résultat void

PythonTraverseComponent_for_visualizationshapes() public méthode

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
Résultat void

PythonTraverseFeatures_for_collshapes() public méthode

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
Résultat void

PythonTraverseFeatures_for_links() public méthode

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
Résultat void

PythonTraverseFeatures_for_markers() public méthode

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
Résultat void

SWTaskpaneHost() public méthode

public SWTaskpaneHost ( ) : System
Résultat System

Property Details

mSWApplication public_oe property

public ISldWorks mSWApplication
Résultat ISldWorks

mSWintegration public_oe property

public SWIntegration,ChronoEngine_SwAddin mSWintegration
Résultat SWIntegration