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

§ createGLResourcesInContext:()

- (void) createGLResourcesInContext: (CGLContextObj)  cgl_ctx

§ deleteGLResourcesInContext:()

- (void) deleteGLResourcesInContext: (CGLContextObj)  cgl_ctx

§ displayLinkRenderCallback:()

- (CVReturn) displayLinkRenderCallback: (const CVTimeStamp *)  timeStamp

§ drawMeshesInContext:()

- (void) drawMeshesInContext: (CGLContextObj)  cgl_ctx

§ getBoundingBoxForNode:minVector:maxVector:matrix:()

- (void) getBoundingBoxForNode: (const aiNode*)  nd
minVector: (aiVector3D*)  min
maxVector: (aiVector3D*)  max
matrix: (aiMatrix4x4*)  trafo 

§ getBoundingBoxWithMinVector:maxVectr:()

- (void) getBoundingBoxWithMinVector: (aiVector3D*)  min
maxVectr: (aiVector3D*)  max 

§ loadTexturesInContext:withModelPath:()

- (void) loadTexturesInContext: (CGLContextObj)  cgl_ctx
withModelPath: (NSString*)  modelPath 

§ render()

- (void) render

Member Data Documentation

§ _displayLink

- (CVDisplayLinkRef) _displayLink
protected

§ _glContext

- (NSOpenGLContext*) _glContext
protected

§ _glPixelFormat

- (NSOpenGLPixelFormat*) _glPixelFormat
protected

§ _scene

- (aiScene*) _scene
protected

§ _view

- (NSView*) _view
protected

§ builtBuffers

- (BOOL) builtBuffers
protected

§ modelMeshes

- (NSMutableArray*) modelMeshes
protected

§ normalizedScale

- (double) normalizedScale
protected

§ scene_center

- (aiVector3D) scene_center
protected

§ scene_max

- (aiVector3D) scene_max
protected

§ scene_min

- (aiVector3D) scene_min
protected

§ textureDictionary

- (NSMutableDictionary*) textureDictionary
protected

§ textureIds

- (GLuint*) textureIds
protected

Property Documentation

§ _view

- (IBOutlet NSView*) _view
readwriteatomicretain

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