Library | Package Java Toolkit

Class wfcDisplay

package com.ptc.wfc.wfcDisplay;

public class wfcDisplay



Description

Contains global CIP definitions for module "wfcDisplay"



Method Summary
static AppearanceAppearance_Create (double Ambient, double Diffuse, double Highlight, double Shininess, double Transparency, ColorRGB RGBColor, ColorRGB HighlightColor, double Reflection, String Name, String Label, String Description, String Keywords)
     Creates the Appearance properties
static LightSourceInstructionLightSourceInstruction_Create ( /*optional*/ String inName, /*optional*/ LightType inType, /*optional*/ ColorRGB inColor, /*optional*/ Boolean inIsActive)
     Create a light source
static TextureTexture_Create (TextureType Type, String FilePath, /*optional*/ TexturePlacement Placement)
     Creates the texture interface
static TexturePlacementTexturePlacement_Create (TextureProjectionType TextureProjectionType, Transform3D LocalSys, double HorizontalOffset, double VerticalOffset, double Rotate, double HorizontalScale, double VerticalScale, double BumpHeight, double DecalIntensity, boolean HorizontalFlip, boolean VerticalFlip)
     Creates texture placement property

Method Detail

Appearance_Create

static AppearanceAppearance_Create (double Ambient, double Diffuse, double Highlight, double Shininess, double Transparency, ColorRGB RGBColor, ColorRGB HighlightColor, double Reflection, String Name, String Label, String Description, String Keywords)


     Creates the Appearance properties
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties
Parameters:
Ambient
Ambient Color component Note Valid values are from 0.00 to 1.00.
Diffuse
Diffuse value Note Valid values are from 0.00 to 1.00.
Highlight
Highlight intensity Note Valid values are from 0.00 to 1.00.
Shininess
Shininess Note Valid values are from 0.00 to 1.00.
Transparency
Transparency of selected appearance Note Valid values are from 0.00 to 1.00.
RGBColor
Appearance color Note Valid values for each of RGB is from 0.00 to 1.00.
HighlightColor
Highlight color
Reflection
Reflective property of selected appearance Note Valid values are from 0.00 to 1.00.
Name
Appearance name
Label
Appearance label
Description
Appearance description
Keywords
Appearance keywords
Returns:
Handle to appearance properties


TexturePlacement_Create

static TexturePlacementTexturePlacement_Create (TextureProjectionType TextureProjectionType, Transform3D LocalSys, double HorizontalOffset, double VerticalOffset, double Rotate, double HorizontalScale, double VerticalScale, double BumpHeight, double DecalIntensity, boolean HorizontalFlip, boolean VerticalFlip)


     Creates texture placement property
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties
Parameters:
TextureProjectionType
 
LocalSys
HorizontalOffset
 
VerticalOffset
 
Rotate
 
HorizontalScale
 
VerticalScale
 
BumpHeight
 
DecalIntensity
 
HorizontalFlip
 
VerticalFlip
 
Returns:
Handle to texture placement property


Texture_Create

static TextureTexture_Create (TextureType Type, String FilePath, /*optional*/ TexturePlacement Placement)


     Creates the texture interface
Manual References:
Graphics: Surface Properties, Graphics: Surface Properties
Parameters:
Type
 
FilePath
 
Placement
 
Returns:
Handle to the texture interface


LightSourceInstruction_Create

static LightSourceInstructionLightSourceInstruction_Create ( /*optional*/ String inName, /*optional*/ LightType inType, /*optional*/ ColorRGB inColor, /*optional*/ Boolean inIsActive)


     Create a light source
Manual References:
Graphics: Setting Light Sources, Graphics: Setting Light Sources
Parameters:
inName
Name of the light. If null default name will be set
inType
Type of the light. If null wfcLIGHT_SPOT will be set
inColor
Color of the light. If null green color will be set
inIsActive
Active status of the light. If null light will be set to be activated
Returns: