You are here:
Vanderbilt Biostatistics Wiki
>
Main Web
>
Projects
>
MicroArrayMassSpec
>
WfccmNotes
>
WfccmMultidimensionalScaling
>
MutiScalingDesign
(revision 8)
Edit
Attach
Design
Algorithm component:
3D component:
multiScaling3D class:
Description
It includes main function.
Define a lot of callback functions
Main members
void main()
public void onResetAxisVertexBuffer(object sender, eventArgs e) //Enable or disable axis
private void onKeyEvent(object sender,
KeyEventArgs
e)
private void renderText() //Render group legend
private void onFullscreenClicked(object sender, eventArgs e)
private void onLoadDataClicked(object sender, eventArgs e)
private void refreshImage() //refresh image
private void onCoordinatedClicked(object sender, eventArgs e) //Enable or disable coordinate
private void onSetImageClosed(object sender, System.eventArgs e) //
private void onSetImageClicked(object sender, eventArgs e) // open a setImage form
private void onSaveImageClicked(object sender, eventArgs e) // save an image
private void onLoadDataClicked(object sender, eventArgs e) //
private framework sampleFramework // 3D Framework
private vertexBuffer vb // primitive vertex
private vertexBuffer axisVB // axis vertex
private dataMng dataMngOP // data
private primitives primitiveOP //primitive class
private mainMenu mm //menu
primitives class
Description
create primitive vertex according to dataMng
Main members
public vertexBuffer createPrimitives(dataMng data,Device d) //It is tetrahedrons.Four faces and four trangles and 12 points.
menu class (functions) define events in the main class, multiScaling3D.
Description
The default 3D platform doesn't have menu. The class generates a main menu.
Main functions
file
load data file
save data file
save image
exit
view
full screen
coordinates option
set image
help
dataMng class
Description
load data
Members
public void loadFile(string fileName) //load data from file
public void loadData(string [] inDataID,string[] inGroupList,int[] inGroupID,decimal[][] inDataSection) //load data from array
public string[] getDataID
public string[] getGroupList
public int[] getGroupID
public decimal getDataSection
misc
setImage class
Description
A form to reset image size
to enable or disable specified group visibility
to change group color
Main members
public setImage(int inWidth, int inHeight,ref dataMng inDataMngOP)
internal class groupElement
Description
Retreave a group info from dataMng to generate related form elements.
Group enable is checkBox
Group color is button to popup colorDialog
Main members
public groupElement(
GroupBox
inGroupBox,ref dataMng inDatamng,int inGroupIND)
public void show() //add the groupElement into form
private void colorButton_Click(object sender, System.eventArgs e) //popup colorDialog
private void enableCheckBox_CheckedChanged(object sender, system.eventArgs e)
private
CheckBox
enableCheckBox
private System.Windows.Forms.Button colorButton
private
ColorDialog
colorDialog1
General
User can operate groups, such as update color, disable visualization, in loadData class. Primitive class will reload data for each frame.
Multi-scaling algorithm is too complex to write in c#.
Edit
|
Attach
|
P
rint version
|
H
istory
:
r10
|
r9
<
r8
<
r7
<
r6
|
B
acklinks
|
V
iew wiki text
|
Edit WikiText
|
More topic actions...
Topic revision: r8 - 08 Jul 2005,
HuimingLi
Main
Department Home Page
Biostatistics Graduate Program
Vanderbilt University Medical Center
Main Web
Main Web Home
Search
Recent Changes
Changes
Topic list
Biostatistics Webs
Archive
Main
Sandbox
System
Register
|
Log In
Copyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki?
Send feedback