Library | File

Class pfcView

# include <pfcView.h>

class pfcView
 : public virtual pfcChild
{
    xaideclare(pfcView)
    ...
};



Description

This class specifies information about a view.

The transformation matrix provides the transformation from the object's coordinate system to logical screen coordinates. This matrix does not contain any transformation for the members of an assembly.
Direct Known Subclasses:
wfcWView



Method Summary

xboolGetIsCurrent ()
The boolean status that indicates if the view is current or not.
optional xstringGetName ()
The name of the view
pfcTransform3D_ptrGetTransform ()
voidSetTransform (pfcTransform3D_ptr value)
The transformation matrix
voidReset ()
This method resets a previously set view orientation back to the default orientation.
voidRotate (pfcCoordAxis Axis, xreal Angle)
This method rotates a specified object in respect to the X-, Y-, or Z- axis. Input arguments are angle and degree.


Methods Inherited from Class pfcChild:

GetDBParent, GetOId



Method Detail

optional xstringGetName ()

The name of the view
Manual References:
Windows and Views: View Operations, Windows and Views: View Operations




xboolGetIsCurrent ()

The boolean status that indicates if the view is current or not.
Manual References:
Windows and Views: View Operations, Windows and Views: View Operations




pfcTransform3D_ptrGetTransform ()
voidSetTransform (pfcTransform3D_ptr value)

The transformation matrix

Exceptions thrown (but not limited to):

pfcXToolkitInvalidMatrix - The matrix is invalid or NULL.


Manual References:
Windows and Views: Transformations, Windows and Views: Transformations, Windows and Views: Transformations, Windows and Views: Transformations




voidReset ()

This method resets a previously set view orientation back to the default orientation.
Manual References:
Windows and Views: View Operations, Windows and Views: View Operations
Returns:



voidRotate (pfcCoordAxis Axis, xreal Angle)

This method rotates a specified object in respect to the X-, Y-, or Z- axis. Input arguments are angle and degree.
Manual References:
Windows and Views: Transformations, Windows and Views: Transformations
Parameters:
Axis
The rotation axis
Angle
The rotation angle, in degrees
Returns: