//
//  ECDSceneSegment.h
//  Etokicho
//
//  Created by 二鏡 on 11/12/06.
//  Copyright (c) 2011年 二鏡庵. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "ECDSegment.h"
#import "ECScene.h"

@interface ECDSceneSegment : ECDSegment

@property (nonatomic,copy) ECScene *scene;
- (CGImageRef)allocInFrameImage;
- (CGImageRef)allocOutFrameImage;

// 新規segmentを生成
// autoreleased
+ (id)attachNewSegmentWithScene:(ECScene*)aScene
                      inContext:(NSManagedObjectContext*)context;
@end
