forked from natikgadzhi/XNMaths
-
Notifications
You must be signed in to change notification settings - Fork 1
/
XN3DPlot.h
37 lines (29 loc) · 919 Bytes
/
XN3DPlot.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// XN3DPlot.h
// XNMaths
//
// Created by Нат Гаджибалаев on 01.12.09.
// Copyright 2009 Нат Гаджибалаев. All rights reserved.
//
#pragma mark -
#pragma mark Imports
#import <Cocoa/Cocoa.h>
@class XNBox;
@class XNFloatRange;
@class XNSurfaceData;
#pragma mark -
#pragma mark XN3DPlot class interface
@interface XN3DPlot : NSObject {
XNFloatRange *xRange, *yRange, *zRange;
NSString *label;
NSUInteger azimuth, altitude;
BOOL isReadyToRender;
}
#pragma mark -
#pragma mark Class init methods
+ (XN3DPlot*) plotWithBox: (XNBox*) aBox altitude: (NSInteger) aAltitude azimuth: (NSInteger) aAzimuth label: (NSString*) aTitle;
- (XN3DPlot*) initWithBox: (XNBox*) aBox altitude: (NSInteger) aAltitude azimuth: (NSInteger) aAzimuth label: (NSString*) aTitle;
#pragma mark -
#pragma mark Rendering API
- (void) renderSurface: (XNSurfaceData*)surface color: (NSColor *)color;
@end