Library | Package Java Toolkit

Interface WWindow

package com.ptc.wfc.wfcDisplay;

public interface WWindow
  extends com.ptc.pfc.pfcWindow.Window



Description

Adds more functionality to Window as indicated below This interface add methods to access light sources in any window of Creo Parametric.



Method Summary
LightSourceInstructionsGetLightInstructions ()
     Gets light sources in specified window
voidRefit ()
     Refit a window
voidSetLightInstructions (LightSourceInstructions LightSourcesInfo)
     Sets light sources in specified window

Methods Inherited from Interface com.ptc.pfc.pfcObject.Child
GetDBParent, GetOId

Methods Inherited from Interface com.ptc.pfc.pfcWindow.Window
GetHeight, GetWidth, GetXPos, GetYPos, GetGraphicsAreaHeight, GetGraphicsAreaWidth, GetScreenTransform, SetScreenTransform, GetModel, Clear, Repaint, Refresh, Close, Activate, GetId, ExportRasterImage, SetURL, GetURL, GetBrowserSize, SetBrowserSize

Method Detail

SetLightInstructions

voidSetLightInstructions (LightSourceInstructions LightSourcesInfo)


     Sets light sources in specified window

Exceptions thrown (but not limited to):

XToolkitCantModify - This type of light is not allowed to be set. (PRO_TK_LIGHT_AMBIENT, PRO_TK_LIGHT_HDRI).

XToolkitUnsupported - light_info has more than 5 elements.

XToolkitEmpty - The sequence of light sources is empty.


Manual References:
Graphics: Setting Light Sources, Graphics: Setting Light Sources
Parameters:
LightSourcesInfo
A sequence of light sources
Returns:


GetLightInstructions

LightSourceInstructionsGetLightInstructions ()


     Gets light sources in specified window
Manual References:
Graphics: Setting Light Sources, Graphics: Setting Light Sources
Returns:
A sequence of light sources


Refit

voidRefit ()


     Refit a window

Exceptions thrown (but not limited to):

XToolkitNotFound - Either view or model was not found.


Manual References:
Windows and Views: Window Operations, Windows and Views: Window Operations
Returns: