Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
Image_AlienPixMap
Class Image_AlienPixMap
Hierarchy
Image_PixMap
Image_AlienPixMap
Index
Constructors
constructor
Methods
Adjust
Gamma
Change
Data
Change
Raw
Value
Change
Row
Clear
Data
Decrement
Ref
Counter
Delete
Dynamic
Type
Format
Get
Ref
Count
Height
Increment
Ref
Counter
Init
Copy
Init
Trash
Init
Wrapper
Init
Zero
Is
Empty
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Top
Down
Load_
1
Load_
2
Load_
3
Max
Row
Aligment
Bytes
Pixel
Color
Ratio
Raw
Value
Row
Row
Extra
Bytes
Save
Set
Format
Set
Pixel
Color_
1
Set
Pixel
Color_
2
Set
Top
Down
Size
Bytes
Size
Pixel
Bytes_
1
Size
Row
Bytes
SizeX
SizeY
This
Top
Down
Inc
Width
delete
Convert
From
Half
Float
Convert
To
Half
Float
Default
Allocator
FlipY
Image
Format
To
String_
1
Image
Format
To
String_
2
Is
Big
Endian
Host
Is
Top
Down
Default
Size
Pixel
Bytes_
2
Swap
Rgba
Bgra
To
Black
White
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Image_
Alien
Pix
Map
(
)
:
Image_AlienPixMap
Returns
Image_AlienPixMap
Methods
Adjust
Gamma
Adjust
Gamma
(
theGammaCorr
:
number
)
:
boolean
Parameters
theGammaCorr:
number
Returns
boolean
Change
Data
Change
Data
(
)
:
number
Returns
number
Change
Raw
Value
Change
Raw
Value
(
theRow
:
Standard_ThreadId
, theCol
:
Standard_ThreadId
)
:
number
Parameters
theRow:
Standard_ThreadId
theCol:
Standard_ThreadId
Returns
number
Change
Row
Change
Row
(
theRow
:
Standard_ThreadId
)
:
number
Parameters
theRow:
Standard_ThreadId
Returns
number
Clear
Clear
(
)
:
void
Returns
void
Data
Data
(
)
:
number
Returns
number
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Format
Format
(
)
:
Image_Format
Returns
Image_Format
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Height
Height
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Init
Copy
Init
Copy
(
theCopy
:
Image_PixMap
)
:
boolean
Parameters
theCopy:
Image_PixMap
Returns
boolean
Init
Trash
Init
Trash
(
thePixelFormat
:
Image_Format
, theSizeX
:
Standard_ThreadId
, theSizeY
:
Standard_ThreadId
, theSizeRowBytes
:
Standard_ThreadId
)
:
boolean
Parameters
thePixelFormat:
Image_Format
theSizeX:
Standard_ThreadId
theSizeY:
Standard_ThreadId
theSizeRowBytes:
Standard_ThreadId
Returns
boolean
Init
Wrapper
Init
Wrapper
(
thePixelFormat
:
Image_Format
, theDataPtr
:
number
, theSizeX
:
Standard_ThreadId
, theSizeY
:
Standard_ThreadId
, theSizeRowBytes
:
Standard_ThreadId
)
:
boolean
Parameters
thePixelFormat:
Image_Format
theDataPtr:
number
theSizeX:
Standard_ThreadId
theSizeY:
Standard_ThreadId
theSizeRowBytes:
Standard_ThreadId
Returns
boolean
Init
Zero
Init
Zero
(
thePixelFormat
:
Image_Format
, theSizeX
:
Standard_ThreadId
, theSizeY
:
Standard_ThreadId
, theSizeRowBytes
:
Standard_ThreadId
, theValue
:
number
)
:
boolean
Parameters
thePixelFormat:
Image_Format
theSizeX:
Standard_ThreadId
theSizeY:
Standard_ThreadId
theSizeRowBytes:
Standard_ThreadId
theValue:
number
Returns
boolean
Is
Empty
Is
Empty
(
)
:
boolean
Returns
boolean
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Top
Down
Is
Top
Down
(
)
:
boolean
Returns
boolean
Load_
1
Load_
1
(
theFileName
:
XCAFDoc_PartId
)
:
boolean
Parameters
theFileName:
XCAFDoc_PartId
Returns
boolean
Load_
2
Load_
2
(
theStream
:
Standard_IStream
, theFileName
:
XCAFDoc_PartId
)
:
boolean
Parameters
theStream:
Standard_IStream
theFileName:
XCAFDoc_PartId
Returns
boolean
Load_
3
Load_
3
(
theData
:
number
, theLength
:
Standard_ThreadId
, theFileName
:
XCAFDoc_PartId
)
:
boolean
Parameters
theData:
number
theLength:
Standard_ThreadId
theFileName:
XCAFDoc_PartId
Returns
boolean
Max
Row
Aligment
Bytes
Max
Row
Aligment
Bytes
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Pixel
Color
Pixel
Color
(
theX
:
Graphic3d_ZLayerId
, theY
:
Graphic3d_ZLayerId
, theToLinearize
:
boolean
)
:
Quantity_ColorRGBA
Parameters
theX:
Graphic3d_ZLayerId
theY:
Graphic3d_ZLayerId
theToLinearize:
boolean
Returns
Quantity_ColorRGBA
Ratio
Ratio
(
)
:
number
Returns
number
Raw
Value
Raw
Value
(
theRow
:
Standard_ThreadId
, theCol
:
Standard_ThreadId
)
:
number
Parameters
theRow:
Standard_ThreadId
theCol:
Standard_ThreadId
Returns
number
Row
Row
(
theRow
:
Standard_ThreadId
)
:
number
Parameters
theRow:
Standard_ThreadId
Returns
number
Row
Extra
Bytes
Row
Extra
Bytes
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Save
Save
(
theFileName
:
XCAFDoc_PartId
)
:
boolean
Parameters
theFileName:
XCAFDoc_PartId
Returns
boolean
Set
Format
Set
Format
(
thePixelFormat
:
Image_Format
)
:
void
Parameters
thePixelFormat:
Image_Format
Returns
void
Set
Pixel
Color_
1
Set
Pixel
Color_
1
(
theX
:
Graphic3d_ZLayerId
, theY
:
Graphic3d_ZLayerId
, theColor
:
Quantity_Color
, theToDeLinearize
:
boolean
)
:
void
Parameters
theX:
Graphic3d_ZLayerId
theY:
Graphic3d_ZLayerId
theColor:
Quantity_Color
theToDeLinearize:
boolean
Returns
void
Set
Pixel
Color_
2
Set
Pixel
Color_
2
(
theX
:
Graphic3d_ZLayerId
, theY
:
Graphic3d_ZLayerId
, theColor
:
Quantity_ColorRGBA
, theToDeLinearize
:
boolean
)
:
void
Parameters
theX:
Graphic3d_ZLayerId
theY:
Graphic3d_ZLayerId
theColor:
Quantity_ColorRGBA
theToDeLinearize:
boolean
Returns
void
Set
Top
Down
Set
Top
Down
(
theIsTopDown
:
boolean
)
:
void
Parameters
theIsTopDown:
boolean
Returns
void
Size
Bytes
Size
Bytes
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Size
Pixel
Bytes_
1
Size
Pixel
Bytes_
1
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Size
Row
Bytes
Size
Row
Bytes
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
SizeX
SizeX
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
SizeY
SizeY
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Top
Down
Inc
Top
Down
Inc
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Width
Width
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
delete
delete
(
)
:
void
Returns
void
Static
Convert
From
Half
Float
Convert
From
Half
Float
(
theHalf
:
uint16_t
)
:
number
Parameters
theHalf:
uint16_t
Returns
number
Static
Convert
To
Half
Float
Convert
To
Half
Float
(
theFloat
:
number
)
:
uint16_t
Parameters
theFloat:
number
Returns
uint16_t
Static
Default
Allocator
Default
Allocator
(
)
:
Handle_NCollection_BaseAllocator
Returns
Handle_NCollection_BaseAllocator
Static
FlipY
FlipY
(
theImage
:
Image_PixMap
)
:
boolean
Parameters
theImage:
Image_PixMap
Returns
boolean
Static
Image
Format
To
String_
1
Image
Format
To
String_
1
(
theFormat
:
Image_Format
)
:
string
Parameters
theFormat:
Image_Format
Returns
string
Static
Image
Format
To
String_
2
Image
Format
To
String_
2
(
theFormat
:
Image_CompressedFormat
)
:
string
Parameters
theFormat:
Image_CompressedFormat
Returns
string
Static
Is
Big
Endian
Host
Is
Big
Endian
Host
(
)
:
boolean
Returns
boolean
Static
Is
Top
Down
Default
Is
Top
Down
Default
(
)
:
boolean
Returns
boolean
Static
Size
Pixel
Bytes_
2
Size
Pixel
Bytes_
2
(
thePixelFormat
:
Image_Format
)
:
Standard_ThreadId
Parameters
thePixelFormat:
Image_Format
Returns
Standard_ThreadId
Static
Swap
Rgba
Bgra
Swap
Rgba
Bgra
(
theImage
:
Image_PixMap
)
:
boolean
Parameters
theImage:
Image_PixMap
Returns
boolean
Static
To
Black
White
To
Black
White
(
theImage
:
Image_PixMap
)
:
void
Parameters
theImage:
Image_PixMap
Returns
void
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
Image_
Alien
Pix
Map
constructor
Adjust
Gamma
Change
Data
Change
Raw
Value
Change
Row
Clear
Data
Decrement
Ref
Counter
Delete
Dynamic
Type
Format
Get
Ref
Count
Height
Increment
Ref
Counter
Init
Copy
Init
Trash
Init
Wrapper
Init
Zero
Is
Empty
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Top
Down
Load_
1
Load_
2
Load_
3
Max
Row
Aligment
Bytes
Pixel
Color
Ratio
Raw
Value
Row
Row
Extra
Bytes
Save
Set
Format
Set
Pixel
Color_
1
Set
Pixel
Color_
2
Set
Top
Down
Size
Bytes
Size
Pixel
Bytes_
1
Size
Row
Bytes
SizeX
SizeY
This
Top
Down
Inc
Width
delete
Convert
From
Half
Float
Convert
To
Half
Float
Default
Allocator
FlipY
Image
Format
To
String_
1
Image
Format
To
String_
2
Is
Big
Endian
Host
Is
Top
Down
Default
Size
Pixel
Bytes_
2
Swap
Rgba
Bgra
To
Black
White
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc