Panda3D
Public Member Functions | Static Public Member Functions

EggSurface Class Reference

A parametric surface of some kind. More...

#include "eggSurface.h"

Inheritance diagram for EggSurface:
EggPrimitive EggNode EggAttributes EggRenderMode EggNamedObject MemoryBase EggObject Namable TypedReferenceCount MemoryBase TypedObject ReferenceCount MemoryBase MemoryBase EggNurbsSurface

List of all members.

Public Member Functions

 EggSurface (const string &name="")
 EggSurface (const EggSurface &copy)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
int get_u_subdiv () const
 Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.
int get_v_subdiv () const
 Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.
EggSurfaceoperator= (const EggSurface &copy)
void set_u_subdiv (int subdiv)
 Sets the number of subdivisions in the U direction that will be requested across the surface.
void set_v_subdiv (int subdiv)
 Sets the number of subdivisions in the U direction that will be requested across the surface.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Detailed Description

A parametric surface of some kind.

See EggNurbsSurface.

Definition at line 27 of file eggSurface.h.


Member Function Documentation

int EggSurface::get_u_subdiv ( ) const [inline]

Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.

Definition at line 77 of file eggSurface.I.

Referenced by EggNurbsSurface::write().

int EggSurface::get_v_subdiv ( ) const [inline]

Returns the requested number of subdivisions in the U direction, or 0 if no particular subdivisions have been requested.

Definition at line 104 of file eggSurface.I.

Referenced by EggNurbsSurface::write().

void EggSurface::set_u_subdiv ( int  subdiv) [inline]

Sets the number of subdivisions in the U direction that will be requested across the surface.

(This doesn't necessary guarantee that this number of subdivisions will be made; it's just a hint to any surface renderer or quick tesselator.) Set the number to 0 to disable the hint.

Definition at line 65 of file eggSurface.I.

void EggSurface::set_v_subdiv ( int  subdiv) [inline]

Sets the number of subdivisions in the U direction that will be requested across the surface.

(This doesn't necessary guarantee that this number of subdivisions will be made; it's just a hint to any surface renderer or quick tesselator.) Set the number to 0 to disable the hint.

Definition at line 92 of file eggSurface.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations