VR-Forces 4.1 Class Documentation
3dGraphicalObjectLineStateRecord.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: 3dGraphicalObjectLineStateRecord.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 #ifndef Dt3dGraphicalObjectLineStateRecord_H_
9 #define Dt3dGraphicalObjectLineStateRecord_H_
10 
14 
16 {
18  DtNetBoolean myCheckLos;
19 };
20 
23 {
24 public:
27 
31 
35 
38 
40  virtual DtEnvironmentalRecord* clone() const;
41 
42  virtual bool setNumberOfSegments(int newNumberOfSegments);
43  virtual int numberOfSegments() const;
44 
45  virtual bool setSegment(int index, const DtLineSegmentDescriptor& desc);
46 
47  virtual bool getSegment(int index, DtLineSegmentDescriptor& desc) const;
48 
49  virtual void setCheckLos(bool yesNo);
50  virtual bool checkLos() const;
51 
53  virtual bool createNetworkRepresentation();
54 
56  virtual void setFromNet(const DtNetEnvironmentalRecord& buffer);
57 
59  const DtNet3DGraphicalObjectLineStateRecord* lineNetRep() const;
61 
63  virtual int netRepSize() const;
64 
65 protected:
66  virtual bool resizeNetRep(int newSize);
67 
68  // These functions do the pointer math to get a pointer to
69  // the right place in the internal buffer for the start of these
70  // data areas.
71  virtual void* pointerToSegments() const;
72  virtual void* pointerToApplicationIds() const;
73  virtual void* pointerToAttachmentList() const;
74  virtual void* pointerToAttachmentIdList() const;
75  virtual void* pointerToParentOverlays() const;
76  virtual void* pointerToLabel() const;
77  virtual void* pointerToUserData() const;
78 
79 
80 
81 protected:
82  bool myCheckLos;
84 };
85 
86 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)