Oolite 1.91.0.7658-250404-b1488af
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OODrawable Class Reference

#include <OODrawable.h>

+ Inheritance diagram for OODrawable:
+ Collaboration diagram for OODrawable:

Instance Methods

(void) - renderOpaqueParts
 
(void) - renderTranslucentParts
 
(BOOL) - hasOpaqueParts
 
(BOOL) - hasTranslucentParts
 
(GLfloat) - collisionRadius
 
(GLfloat) - maxDrawDistance
 
(BoundingBox) - boundingBox
 
(void) - setBindingTarget:
 
(void) - dumpSelfState
 
(NSSet *) - allTextures
 
(size_t) - totalSize
 

Detailed Description

Definition at line 36 of file OODrawable.h.

Method Documentation

◆ allTextures

- (NSSet *) allTextures

Reimplemented in OOMesh, and OOSkyDrawable.

Definition at line 89 of file OODrawable.m.

90{
91 return nil;
92}
return nil

References allTextures, and nil.

Referenced by allTextures, and OOEntityWithDrawable::allTextures.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boundingBox

- (BoundingBox) boundingBox

Definition at line 70 of file OODrawable.m.

71{
72 return kZeroBoundingBox;
73}
const BoundingBox kZeroBoundingBox
Definition OOVector.m:38

References boundingBox, and kZeroBoundingBox.

Referenced by boundingBox, and OOEntityWithDrawable::setDrawable:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ collisionRadius

- (GLfloat) collisionRadius

Definition at line 58 of file OODrawable.m.

59{
60 return 0.0f;
61}

References collisionRadius.

Referenced by collisionRadius, OOEntityWithDrawable::findCollisionRadius, and OOEntityWithDrawable::setDrawable:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dumpSelfState

- (void) dumpSelfState

Reimplemented in OOMesh.

Definition at line 82 of file OODrawable.m.

83{
84
85}

References dumpSelfState.

Referenced by dumpSelfState, and OOMesh::dumpSelfState.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasOpaqueParts

- (BOOL) hasOpaqueParts

Reimplemented in OOMesh, and OOSkyDrawable.

Definition at line 46 of file OODrawable.m.

47{
48 return NO;
49}

References hasOpaqueParts.

Referenced by hasOpaqueParts.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasTranslucentParts

- (BOOL) hasTranslucentParts

Definition at line 52 of file OODrawable.m.

53{
54 return NO;
55}

References hasTranslucentParts.

Referenced by hasTranslucentParts.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maxDrawDistance

- (GLfloat) maxDrawDistance

Reimplemented in OOSkyDrawable.

Definition at line 64 of file OODrawable.m.

65{
66 return 0.0f;
67}

References maxDrawDistance.

Referenced by maxDrawDistance, and OOEntityWithDrawable::setDrawable:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderOpaqueParts

- (void) renderOpaqueParts

Reimplemented in OOMesh, and OOSkyDrawable.

Definition at line 34 of file OODrawable.m.

35{
36
37}

References renderOpaqueParts.

Referenced by OOEntityWithDrawable::drawImmediate:translucent:, and renderOpaqueParts.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderTranslucentParts

- (void) renderTranslucentParts

Definition at line 40 of file OODrawable.m.

41{
42
43}

References renderTranslucentParts.

Referenced by OOEntityWithDrawable::drawImmediate:translucent:, and renderTranslucentParts.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBindingTarget:

- (void) setBindingTarget: (id<OOWeakReferenceSupport>) target

Reimplemented in OOMesh.

Definition at line 76 of file OODrawable.m.

76 :(id<OOWeakReferenceSupport>)target
77{
78
79}

Referenced by OOEntityWithDrawable::setDrawable:, and ShipEntity::setOwner:.

+ Here is the caller graph for this function:

◆ totalSize

- (size_t) totalSize

Reimplemented in OOMesh, and OOSkyDrawable.

Definition at line 95 of file OODrawable.m.

96{
97 return [self oo_objectSize];
98}

References totalSize.

Referenced by OODebugMonitor::dumpEntity:withState:parentVisible:, totalSize, OOMesh::totalSize, and OOSkyDrawable::totalSize.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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