NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Features::RasterImage Class Reference

Represents a Raster Image feature
Not supported by KF at this time

Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Features::RasterImage:
NXOpen::Features::Feature NXOpen::NXObject NXOpen::IProfile NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject NXOpen::INXObject

List of all members.

Public Types

enum  MaxTextureSize {
  MaxTextureSizeN512, MaxTextureSizeN1024, MaxTextureSizeN2048, MaxTextureSizeN4096,
  MaxTextureSizeN8192, MaxTextureSizeN16384, MaxTextureSizeN32768
}
 Specifies the maximum number of pixels to allow for the width or height of a raster image. More...

Public Member Functions

double Height ()
 Returns the height of the image, given in part units (mm or in)
Created in NX4.0.0.
NXString ImageFileName ()
 Returns the name of the image file used for the raster image.
double Length ()
 Returns the length of the image, given in part units (mm or in).
NXOpen::Matrix3x3 Matrix ()
 Returns the rotation matrix of the raster image
Created in NX4.0.0.
NXOpen::Features::RasterImage::MaxTextureSize MaximumTextureSize ()
 Returns the enum value for the maximum size of the image, in pixels
Created in NX4.0.0.
NXOpen::Point3d Origin ()
 Returns the origin of the raster image
Created in NX4.0.0.
double Translucency ()
 Returns the translucency of the raster image, in range [0.0, 1.0]
Created in NX4.0.0.
void Update (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &matrix, double length, double height, const NXString &imageFileName, double translucency, NXOpen::Features::RasterImage::MaxTextureSize maximumTextureSize)
 Updates a raster image feature
Created in NX4.0.0.

Detailed Description

Represents a Raster Image feature
Not supported by KF at this time

Created in NX4.0.0.



Member Enumeration Documentation

Specifies the maximum number of pixels to allow for the width or height of a raster image.

If a size is requested which is larger than what the hardware can supported, the largest supported size will be used. All hardware can support at least 512x512 pixels.

Enumerator:
MaxTextureSizeN512 

512 x 512 max size

MaxTextureSizeN1024 

1024 x 1024 max size

MaxTextureSizeN2048 

2048 x 2048 max size

MaxTextureSizeN4096 

4096 x 4096 max size

MaxTextureSizeN8192 

8192 x 8192 max size

MaxTextureSizeN16384 

16384 x 16384 max size

MaxTextureSizeN32768 

32768 x 32768 max size


Member Function Documentation

Returns the height of the image, given in part units (mm or in)
Created in NX4.0.0.



License requirements : None

Returns the name of the image file used for the raster image.


Created in NX4.0.0.

License requirements : None

Returns the length of the image, given in part units (mm or in).

This is sometimes considered as the width of the image.
Created in NX4.0.0.

License requirements : None

Returns the rotation matrix of the raster image
Created in NX4.0.0.



License requirements : None

Returns the enum value for the maximum size of the image, in pixels
Created in NX4.0.0.



License requirements : None

Returns the origin of the raster image
Created in NX4.0.0.



License requirements : None

Returns the translucency of the raster image, in range [0.0, 1.0]
Created in NX4.0.0.



License requirements : None

void NXOpen::Features::RasterImage::Update ( const NXOpen::Point3d origin,
const NXOpen::Matrix3x3 matrix,
double  length,
double  height,
const NXString imageFileName,
double  translucency,
NXOpen::Features::RasterImage::MaxTextureSize  maximumTextureSize 
)

Updates a raster image feature
Created in NX4.0.0.



License requirements : studio_visualize ("STUDIO VISUALIZE")

Parameters:
originThe origin for the raster image
matrixThe rotation matrix for the raster image
lengthLength of the image, given in part units (mm or in)
heightHeight of the image, give in part units (mm or in)
imageFileNameName of the image file to use. For now, it must be a .tif file
NOTE: The full Unicode character set is not supported for this parameter.
translucency0.0 for no translucency, 1.0 for fully tranparent
maximumTextureSizemaximum texture size

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.