Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Segment Class Reference

#include <Solid.h>

List of all members.

Public Member Functions

 Segment ()
 Segment (int n, Poly *p, Material *mtl, Model *mod=0)
 ~Segment ()
bool IsSolid () const
bool IsTranslucent () const
bool IsGlowing () const
VideoPrivateDataGetVideoPrivateData () const
void SetVideoPrivateData (VideoPrivateData *vpd)

Static Public Member Functions

static const char * TYPENAME ()

Public Attributes

int npolys
Polypolys
Materialmaterial
Modelmodel
VideoPrivateDatavideo_data

Detailed Description

Definition at line 264 of file Solid.h.


Constructor & Destructor Documentation

Segment::Segment ( )

Definition at line 2413 of file Solid.cpp.

Segment::Segment ( int  n,
Poly p,
Material mtl,
Model mod = 0 
)

Definition at line 2418 of file Solid.cpp.

Segment::~Segment ( )

Definition at line 2423 of file Solid.cpp.


Member Function Documentation

VideoPrivateData* Segment::GetVideoPrivateData ( ) const
inline

Definition at line 277 of file Solid.h.

bool Segment::IsGlowing ( ) const
inline

Definition at line 275 of file Solid.h.

bool Segment::IsSolid ( ) const
inline

Definition at line 273 of file Solid.h.

bool Segment::IsTranslucent ( ) const
inline

Definition at line 274 of file Solid.h.

void Segment::SetVideoPrivateData ( VideoPrivateData vpd)
inline

Definition at line 278 of file Solid.h.

static const char* Segment::TYPENAME ( )
inlinestatic

Definition at line 267 of file Solid.h.


Member Data Documentation

Material* Segment::material

Definition at line 283 of file Solid.h.

Model* Segment::model

Definition at line 284 of file Solid.h.

int Segment::npolys

Definition at line 281 of file Solid.h.

Poly* Segment::polys

Definition at line 282 of file Solid.h.

VideoPrivateData* Segment::video_data

Definition at line 285 of file Solid.h.


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