API Documentation > Interface Classes > Class pfcGeneralViewCreateInstructions
Class pfcGeneralViewCreateInstructions

# include <pfcView2D.h>

class
pfcGeneralViewCreateInstructions
: public virtual
pfcView2DCreateInstructions
{
xdeclare(pfcGeneralViewCreateInstructions)
...
};
This is a
COMPACT class.

Description
This is the interface used for creating general drawing views.
See Also:
User Guide References:
Methods Inherited from Class pfcView2DCreateInstructions::
Method Summary
Create (pfcModel_ptr ViewModel, xint SheetNumber, pfcPoint3D_ptr Location, pfcTransform3D_ptr Orientation)
Creates an instructions data object used for creating general drawing views.
void
true if the view should be an exploded view, null or false otherwise.
void
The location on the sheet where the view should be placed.
void
The orientation of the model in the view.
void
The scale of the view (null to use the default scale).
void
The sheet number in which to create the view.
void
The solid model to display in the view.
void
The scale of the view (null to use the default scale).
Method Detail
GetViewModel
()
void
SetViewModel
(pfcModel_ptr value)
The solid model to display in the view.
User Guide References:
GetSheetNumber
()
void
SetSheetNumber
(xint value)
The sheet number in which to create the view.
User Guide References:
GetExploded
()
void
SetExploded
(cipOptional xbool value)
true if the view should be an exploded view, null or false otherwise.
User Guide References:
GetLocation
()
void
SetLocation
(pfcPoint3D_ptr value)
The location on the sheet where the view should be placed.
User Guide References:
GetScale
()
void
SetScale
(cipOptional xreal value)
The scale of the view (null to use the default scale).
User Guide References:
GetViewScale
()
void
SetViewScale
(cipOptional xreal value)
The scale of the view (null to use the default scale).
User Guide References:
GetOrientation
()
void
SetOrientation
The orientation of the model in the view.
The transformation matrix must only consist of the rotation to be applied to the model. It must not consist of any displacement or scale components. If necessary, set the displacement to {0, 0, 0} using pfcTransform3D::SetOrigin(pfcPoint3D_ptr) and remove any scaling factor by normalizing the matrix.
User Guide References:
Create
(pfcModel_ptr ViewModel, xint SheetNumber, pfcPoint3D_ptr Location, pfcTransform3D_ptr Orientation)
Creates an instructions data object used for creating general drawing views.
See Also:
User Guide References:
Parameters:
ViewModel
The solid model to display in the view.
SheetNumber
The sheet number in which to create the view.
Location
The location on the sheet where the view should be placed.
Orientation
The orientation of the model in the view.
Returns:
The created data object.
Was this helpful?