frmView3D Class

3D previewer dialog.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public class frmView3D : Form
Inheritance
Form    frmView3D

Remarks

In this version of the viewer, the camera will always be looking at the origin.

This version of the viewer uses Viewport3D's default orientation of 'Y-up' (photographer's perspective), as opposed to 'Z-up' (drafter's perspective). As a result, all Y and Z references within this context are transposed with regard to all other sections of this project, which use 'Z-up' orientation.

Constructors

frmView3D Create a new instance of the frmView3D Item.

Properties

WorkArea Get a reference to the work area for this preview.

Methods

AdjustZoom Adjust the current zoom level.
btnCancel_Click The Cancel button has been clicked.
btnFirst_Click Index to the first movement.
btnLast_Click Index to the last movement.
btnNext_Click Index to the next movement.
btnOK_Click The OK button has been clicked.
btnPause_Click Pause the animation transport.
btnPlay_Click Play from the current location.
btnPrevious_Click Index to the previous action.
btnStop_Click Stop the animation and reset the pointer.
chkHideTracksUntilVisited_CheckedChanged The state of the checkbox indicating whether to hide tracks until visited has been changed.
chkTurntable_CheckedChanged The state of the turntable checkbox has changed.
DecrementKeyframeIndex Decrement the current animation keyframe index.
Dispose Clean up any resources being used.
IncrementFrameIndex Increment the animation frame index.
IncrementKeyframeIndex Increment the current animation keyframe index.
InitializeComponent Required method for Designer support - do not modify the contents of this method with the code editor.
mTimerState_Tick State timer.
OnActivated Raises the Activated event when the form has been activated.
OnLoad Raises the Load event when the form has been loaded and is ready to display for the first time.
OrbitCamera Orbit the camera around the centerpiece.
pnlPreview_MouseDown The mouse button has been pressed on the preview panel.
pnlPreview_MouseMove The mouse is moving over the preview panel.
pnlPreview_MouseWheel The scroll wheel has been turned.
pnlPreview_Paint The preview panel is being painted.
pnlPreview_Resize The preview panel has been resized.
Status Display a status message.
udZMag_ValueChanged The Z magnification value has changed.
UpdateKeyframe Set the working parts for the current keyframe.
UpdateOrbit Update the orbit position of the camera.
UpdatePlayState Update the states of the buttons according to the current play mode.

Fields

btnCancel The cancel button for closing the form.
btnFirst First button. Click to move to the first keyframe in the animation.
btnLast Last button. Click to move to the last keyframe in the animation.
btnNext Next button. Click to move to the next keyframe in the animation.
btnOK The OK button for closing the form.
btnPause Pause button. Click to pause or continue the animation.
btnPlay Play button. Click to play the animation.
btnPrevious Previous button. Click to move to the previous keyframe in the animation.
btnStop Stop button. Click to stop the animation and reset the tool position.
chkHideTracksUntilVisited Check to hide tracks until they have been visited or uncheck to show all tracks at all times.
chkLoopAnimation Check to loop continuously through the animation or uncheck to stop at the end of the path.
chkTurntable Check to display the model on a continously turning turntable. Uncheck to orbit with your mouse. The turntable will be disabled automatically if you move your mouse over the image preview area.
components Required designer variable.
ilControls Reusable window controls image list.
lblStat General status message label.
lblToolStat Selected tool status message.
lblZMag Z magnification title label.
mActivated Value indicating whether the form has been activated at least once during this instance.
mAnimationFrameCount Value representing the count of individual frames per keyframe.
mAnimationFrameIndex Current index between keyframes.
mAnimationKeyframeCount Value indicating the total number of available animation keyframes.
mAnimationKeyframeIndex Value indicating the current active animation keyframe.
mAnimationKeyframeLayer Reference to the active layer being animated.
mAnimationKeyframeSegment Reference to the active track segment being animated.
mAnimationTimeIndex The total time index of the current form timer.
mCamera The local 3D camera, always looking at the origin and able to orbit around. The plane of the table is always at the height of 0.
mDataBusy Value indicating whether the underlying data is being processed.
mElevationIndex The current elevation index of the camera.
mElevationPathCount The number of elevation indices between 0 and 80 degrees.
menuView3D The form-level menu for the 3D view form.
mMaterialPolygon The polygon upon which the material is built.
mMouseLastX The last-known X position of the mouse.
mMouseLastY The last-known Y position of the mouse.
mMultipleToolsDeclared A value indicating whether multiple tools are declared.
mOrbitIndex The index of the orbit along its dolly path.
mOrbitPathCount Count of orbit index positions in a single orbit.
mOrbitRadius The radius of the orbit camera.
mPitch The current pitch of the orbit view.
mPlayState The play state of the tool path.
mTableGridX The X lines of the grid on the table.
mTableGridY The Y lines of the grid on the table.
mTablePolygon The polygon upon which the table is built.
mTimerState General state timer.
mTrackLayers Reference to the collection of track layers calculated for this preview.
mTracks Reference to the underlying raw track layers.
mTurntable Value indicating whether the turntable is active.
mWorkArea Private member for WorkArea.
mYaw The current yaw of the orbit view.
mZoom The current zoom level.
pnlPreview The image preview panel.
udZMag Z magnification up/down control.

See Also