Public Member Functions | Public Attributes

PatchTVert Class Reference

Search for all occurrences

Detailed Description

See also:
Class PatchMesh, Template Class Tab, Working with Patches.
Description:
This class is available in release 4.0 and later only.

This class stores the texture vertex information associated with a patch and provides methods to access this. All methods of this class are implemented by the system.
Data Members:
UVVert p;

The texture vertex location.

int aux1;

Used to track topology changes during editing (Edit Patch).

#include <patch.h>

Inheritance diagram for PatchTVert:
Inheritance graph
[legend]

List of all members.

Public Member Functions

CoreExport  PatchTVert ()
CoreExport  PatchTVert (float u, float v, float w)
CoreExport  operator UVVert & ()
CoreExport PatchTVert operator= (const UVVert &from)

Public Attributes

UVVert  p
int  aux1

Constructor & Destructor Documentation

CoreExport PatchTVert ( ) [inline]
Remarks:
Constructor. The UVVert is set to 0,0,0. The aux member is set to -1.
{ p = UVVert(0,0,0); aux1 = -1; }
CoreExport PatchTVert ( float  u,
float  v,
float  w 
) [inline]
Remarks:
Constructor. The UVVert is set to the provided uvw parameters passed to the method. The aux member is set to -1.
Parameters:
float u, float v, float w;

The u, v, and w values for the texture vertex.
Operators:
{ p=UVVert(u,v,w);  aux1 = -1; }

Member Function Documentation

CoreExport operator UVVert & ( ) [inline]
Remarks:
Conversion operator. Returns a reference to UVVert p.
{ return p; }
CoreExport PatchTVert& operator= ( const UVVert from ) [inline]
Remarks:
Assignment operator.
Parameters:
UVVert& from

The texture vertex to copy from.
{ p=from; return *this; }

Member Data Documentation

int aux1

PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert
PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert PatchTVert