![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 00006 #pragma once 00007 00008 #include <kyruntime.h> 00009 00010 namespace BHAVE 00011 { 00012 namespace DrawingViewer 00013 { 00015 struct DtDataTransfer 00016 { 00017 virtual bool Init(unsigned int max_lines, const char* path) = 0; 00018 virtual void Reset() = 0; 00019 virtual void EndFrame() = 0; 00020 virtual void Exit() = 0; 00021 00022 virtual void Draw3DLine(const Kaim::Vec3f& p1, const Kaim::Vec3f& p2, KyUInt32 r, KyUInt32 g, KyUInt32 b) = 0; 00023 virtual void Draw3DPoint(const Kaim::Vec3f& p1, KyUInt32 r, KyUInt32 g, KyUInt32 b) = 0; 00024 }; 00025 00026 00028 struct DtLineInfo 00029 { 00030 float x1; 00031 float y1; 00032 float z1; 00033 float x2; 00034 float y2; 00035 float z2; 00036 unsigned int red; 00037 unsigned int green; 00038 unsigned int blue; 00039 }; 00040 00041 } 00042 00043 } //namespace BHAVE