Class: TLinkedModelMatrix3DGrafState

Declaration: GrafState.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLinkedGrafState

Inherited By:

None.

Purpose:

Derived from TLinkedGrafState, TLinkedModelMatrix3DGrafState links a 3-D model matrix (or a matrix state) to a parent TGrafState object. This class is used internally by TLinkedModelMatrix3DPort. Most programmers who want to link a 3-D model matrix into a graphics hierarchy use TLinkedModelMatrix3DPort, instead of using TLinkedModelMatrix3DGrafState directly.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLinkedModelMatrix3DGrafState::TLinkedModelMatrix3DGrafState

  1. TLinkedModelMatrix3DGrafState (const TGrafState * parent, const TGrafMatrix3D & modelMatrix3D)
  2. TLinkedModelMatrix3DGrafState (const TGrafState * parent, TLinkableMatrix3DState * modelMatrix3DState)

Interface Category:

API.

Purpose:

  1. Constructor that links the specified 3-D model matrix to the specified parent graphics state. A local 3-D model matrix state is instantiated and linked to the parent.
  2. Constructor that links the specified 3-D model matrix state to the specified parent graphics state.

Calling Context:

  1. Call this function directly.
  2. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLinkedModelMatrix3DGrafState::~TLinkedModelMatrix3DGrafState

virtual ~ TLinkedModelMatrix3DGrafState ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLinkedModelMatrix3DGrafState::GetModelMatrix3DState

virtual const TMatrix3DState * GetModelMatrix3DState () const

Interface Category:

API.

Purpose:

Returns a constant pointer to the 3-D model matrix state previously linked to the parent.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns a constant pointer to the 3-D model matrix state.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.