Library | Package Java Toolkit

Class pfcBase

package com.ptc.pfc.pfcBase;

public class pfcBase



Description

Contains global CIP definitions for module "pfcBase"



Method Summary
static ColorRGBColorRGB_Create (double inRed, double inGreen, double inBlue)
    Creates the values for the color map.
static Transform3DMakeMatrixOrthonormal (Transform3D Matrix, double Scale)
     
static ScreenTransformScreenTransform_Create ( /*optional*/ Double PanX, /*optional*/ Double PanY, /*optional*/ Double Zoom)
    Creates a new ScreenTransform object.
static TextStyleTextStyle_Create ()
    Creates a new text style object.
static Transform3DTransform3D_Create ( /*optional*/ Matrix3D Matrix)
    Creates a Transform3D object.

Method Detail

ColorRGB_Create

static ColorRGBColorRGB_Create (double inRed, double inGreen, double inBlue)


    Creates the values for the color map.
Parameters:
inRed
The value for the red intensity
inGreen
The value for the green intensity
inBlue
The value for the blue intensity
Returns:
The completed RGB value


Transform3D_Create

static Transform3DTransform3D_Create ( /*optional*/ Matrix3D Matrix)


    Creates a Transform3D object.
Parameters:
Matrix
The transformation matrix
Returns:
The new Transform3D


ScreenTransform_Create

static ScreenTransformScreenTransform_Create ( /*optional*/ Double PanX, /*optional*/ Double PanY, /*optional*/ Double Zoom)


    Creates a new ScreenTransform object.

The pan and zoom values in a ScreenTransform object are applied to a window by using the Window.GetScreenTransform(ScreenTransform) method.
Parameters:
PanX
A value between -1.0 and 1.0 that specifies the amount of horizontal panning. -1.0 pans one window width to the left; 1.0 pans one window width to the right. 0 specifies no horizontal panning. This attribute can be null, in which case 0 is used.
PanY
A value between -1.0 and 1.0 that specifies the amount of vertical panning. -1.0 pans up by the height of the window; 1.0 pans down by the height of the window. 0 specifies no vertical panning. This attribute can be null, in which case 0 is used.
Zoom
A value greater than 0 and the less than or equal to the value of the Creo Parametric variable MAX_ZOOM_SCALE that specifies the zoom factor. The value 0.1, for example, would zoom out by a factor of 10.

This attribute can be null, in which case 1 (no zoom) is used.
Returns:
The new ScreenTransform object


TextStyle_Create

static TextStyleTextStyle_Create ()


    Creates a new text style object.
Returns:
A pointer to the new object


MakeMatrixOrthonormal

static Transform3DMakeMatrixOrthonormal (Transform3D Matrix, double Scale)


     
Manual References:
Windows and Views: Transformations, Assemblies and Components: Assembling Components
Parameters:
Matrix
Scale
Returns: