API Reference > OdExport Classes > TD_HOOPS_COMMON_EXPORT Namespace > Functions > TD_HOOPS_COMMON_EXPORT::CreateRasterImage Function
TD_HOOPS_COMMON_EXPORT::CreateRasterImage Function
Syntax
C++
void CreateRasterImage(OdString strShellName, OdString strImageName, OdString strTextureName, double dWidth, double dHeight, OdGePoint3dArray ptsShellArr, OdGePoint2dArray ptsTextureArr);

HoopsCommon.h

Parameters 
Description 
OdString strShellName 
[in] A name of the shell segment where the image should be created.  
OdString strImageName 
[in] An image name.  
OdString strTextureName 
[in] A texture name.  
double dWidth 
[in] Resulting image width.  
double dHeight 
[in] Resulting image height.  
OdGePoint3dArray ptsShellArr 
[in] An array of three-dimensional points that determine the shell.  
OdGePoint2dArray ptsTextureArr 
[in] An array of two-dimensional points that determine the texture. 

Creates a raster image in a hoops file. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.