Assimp  v3.1.1 (June 2014)
MyDocument Class Reference

Inherits NSPersistentDocument.

Instance Methods

(void- createGLResourcesInContext:
 
(void- deleteGLResourcesInContext:
 
(CVReturn) - displayLinkRenderCallback:
 
(void- drawMeshesInContext:
 
(void- getBoundingBoxForNode:minVector:maxVector:matrix:
 
(void- getBoundingBoxWithMinVector:maxVectr:
 
(void- loadTexturesInContext:withModelPath:
 
(void- render
 

Protected Attributes

CVDisplayLinkRef _displayLink
 
NSOpenGLContext * _glContext
 
NSOpenGLPixelFormat * _glPixelFormat
 
aiScene_scene
 
NSView * _view
 
BOOL builtBuffers
 
NSMutableArray * modelMeshes
 
double normalizedScale
 
aiVector3D scene_center
 
aiVector3D scene_max
 
aiVector3D scene_min
 
NSMutableDictionary * textureDictionary
 
GLuint * textureIds
 

Properties

IBOutlet NSView * _view
 

Method Documentation

- (void) createGLResourcesInContext: (CGLContextObj)  cgl_ctx
- (void) deleteGLResourcesInContext: (CGLContextObj)  cgl_ctx
- (CVReturn) displayLinkRenderCallback: (const CVTimeStamp *)  timeStamp
- (void) drawMeshesInContext: (CGLContextObj)  cgl_ctx
- (void) getBoundingBoxForNode: (const aiNode*)  nd
minVector: (aiVector3D*)  min
maxVector: (aiVector3D*)  max
matrix: (aiMatrix4x4*)  trafo 
- (void) getBoundingBoxWithMinVector: (aiVector3D*)  min
maxVectr: (aiVector3D*)  max 
- (void) loadTexturesInContext: (CGLContextObj)  cgl_ctx
withModelPath: (NSString*)  modelPath 
- (void) render

Member Data Documentation

- (CVDisplayLinkRef) _displayLink
protected
- (NSOpenGLContext*) _glContext
protected
- (NSOpenGLPixelFormat*) _glPixelFormat
protected
- (aiScene*) _scene
protected
- (NSView*) _view
protected
- (BOOL) builtBuffers
protected
- (NSMutableArray*) modelMeshes
protected
- (double) normalizedScale
protected
- (aiVector3D) scene_center
protected
- (aiVector3D) scene_max
protected
- (aiVector3D) scene_min
protected
- (NSMutableDictionary*) textureDictionary
protected
- (GLuint*) textureIds
protected

Property Documentation

- (IBOutlet NSView*) _view
readwriteatomicretain

The documentation for this class was generated from the following files: