Assimp  v3.1.1 (June 2014)
jassimp.AiPrimitiveType Enum Reference

Enumerates the types of geometric primitives supported by Assimp. More...

Static Public Member Functions

static void fromRawValue (Set< AiPrimitiveType > set, int rawValue)
 Utility method for converting from c/c++ based integer enums to java enums. More...
 

Public Attributes

 LINE =(0x2)
 A line primitive. More...
 
 POINT =(0x1)
 A point primitive. More...
 
 POLYGON =(0x8)
 A higher-level polygon with more than 3 edges. More...
 
 TRIANGLE =(0x4)
 A triangular primitive. More...
 

Detailed Description

Enumerates the types of geometric primitives supported by Assimp.

Member Function Documentation

◆ fromRawValue()

static void jassimp.AiPrimitiveType.fromRawValue ( Set< AiPrimitiveType set,
int  rawValue 
)
inlinestatic

Utility method for converting from c/c++ based integer enums to java enums.

This method is intended to be used from JNI and my change based on implementation needs.

Parameters
setthe target set to fill
rawValuean integer based enum value (as defined by assimp)

Member Data Documentation

◆ LINE

jassimp.AiPrimitiveType.LINE =(0x2)

A line primitive.

◆ POINT

jassimp.AiPrimitiveType.POINT =(0x1)

A point primitive.

◆ POLYGON

jassimp.AiPrimitiveType.POLYGON =(0x8)

A higher-level polygon with more than 3 edges.

A triangle is a polygon, but polygon in this context means "all polygons that are not triangles". The "Triangulate"-Step is provided for your convenience, it splits all polygons in triangles (which are much easier to handle).

◆ TRIANGLE

jassimp.AiPrimitiveType.TRIANGLE =(0x4)

A triangular primitive.


The documentation for this enum was generated from the following file: