Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TSampledSurface3D
Inherited By:
None.
Purpose:
TStreamableSampledSurface3D is a concrete class that provides the stream in capability for clients of TSampledSurface. The streaming in is implemented in TStreamableSampledSurface::StreamInAsShards. The class uses TDeques to flatten the entire data of vertices and connectivity, which has the potential of increased memory uses. Thus, this class should be used only when needed specifically for streaming such as spooling a sampled surface.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
None.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
TStreamableSampledSurface3D ()
Interface Category:
API.
Purpose:
Default constructor.
Calling Context:
Called when the default object is created.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None
virtual ~ TStreamableSampledSurface3D ()
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.
virtual TShardChunkIterator * CreateShardChunkIterator () const
Interface Category:
API.
Purpose:
Creates an iterator to iterate over the chunks of shards. For each chunk, an iterator is created to iterate over the shards, getting the connectivity of the shards.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Returns a pointer to the iterator. The caller is responsible for deleting the iterator when done with it.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None
virtual TGBox3D GetBounds () const
Interface Category:
API.
Purpose:
Returns the geometric bounds of the surface in modeling space.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Returns a 3-D box enclosing the geometric bounds of the surface.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void StreamInAsShards (TStream & stream)
Interface Category:
API.
Purpose:
This is the most important member function of the class and is used for streaming in shards.
Calling Context:
Call this function directly.
Parameters:
- TStream & stream -A valid TStream that has a TSampledSurface streamed in.
Return Value:
None.
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.