Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Wizt::GridAnemoneCreationContext Struct Reference

The context of creating a RenderAnemone. More...

#include <AnemoneCreationContext.hpp>

Inheritance diagram for Wizt::GridAnemoneCreationContext:
Wizt::AnemoneRenderFields::CreationContext Wizt::AnemoneCreatorContext

Public Member Functions

RefPtr< Fiber::Representation > getChartRepresentation () const
 GridAnemoneCreationContext (const GridAnemoneCreationContext &)=delete
 GridAnemoneCreationContext (const WeakPtr< GridAnemoneRenderObject > &theGridAnemone, const RefPtr< AnemoneCreatorBase > &theAnemoneCreator, VRenderContext &theContext, Fiber::CreativeArrayBase &thePrimaryDataFragment, const RefPtr< BoundingBox > &theCurrentBoundingBox, const Fiber::SkeletonID &theSkeletonID, const RefPtr< Fiber::FragmentID > &theFragmentID, const RefPtr< Fiber::Skeleton > &DestVertexSkeleton, const RefPtr< Fiber::Chart > &chart, const AnemoneParameters &theAnemoneParameters)
 operator const WeakPtr< ValuePool > & () const
RefPtr< BoundingBox > getMyBBox () const
VRenderContext * operator-> () const
 Convenience operator for easy access to VRenderContext member functions.
std::string getCurrentFragmentName () const
 Return the textual identifier of the current fragment or an empty string if no fragment ID is available here.
RefPtr< VObject::State > getState () const
bool isVisible () const
RefPtr< Fiber::Representation > getVertices (const Fiber::SkeletonID &L) const
 Get all the vertex fields for a given refinement level.
RefPtr< Fiber::Representation > getVertices () const
 Get all the vertex fields for the current refinement level.
RefPtr< Fiber::CreativeArrayBase > getCompatibleVertexDataCreator (const string &VertexFieldname, const Fiber::SkeletonID &L) const
 Get a Creator that is compatibe with the current field fragment.
RefPtr< Fiber::MemBase > getCompatibleVertexData (const string &VertexFieldname, const Fiber::SkeletonID &L) const
 Get the data array associated with a vertex field.
RefPtr< Fiber::ChunkBase > getCompatibleVertexChunk (const string &VertexFieldname, const Fiber::SkeletonID &L) const
 Get the data chunk associated with a vertex field.
RefPtr< RenderBasin::VertexAttribute > createVertexAttribute (const string &VertexFieldname, const string &VertexAttributeName) const

Public Attributes

RefPtr< GridAnemoneRenderObject > myRenderGridAnemone
RefPtr< BoundingBox > myBoundingBox
 Bounding box of this fragment under the given conditions.
RefPtr< Fiber::Skeleton > mySkeleton
RefPtr< Fiber::Chart > myChart
AnemoneParameters myAnemoneParameters
Public Attributes inherited from Wizt::AnemoneRenderFields::CreationContext
Fiber::CreativeArrayBase & myPrimaryDataFragment
Fiber::SkeletonID mySkeletonID
RefPtr< Fiber::FragmentID > myFragmentID
Public Attributes inherited from Wizt::AnemoneCreatorContext
RefPtr< AnemoneCreatorBase > myAnemoneCreator

Detailed Description

The context of creating a RenderAnemone.

Member Function Documentation

◆ getCompatibleVertexDataCreator()

RefPtr< Fiber::CreativeArrayBase > Wizt::GridAnemoneCreationContext::getCompatibleVertexDataCreator ( const string & VertexFieldname,
const Fiber::SkeletonID & L ) const

Get a Creator that is compatibe with the current field fragment.

Call this function when the meta-data of some fragment are sufficient.

References getVertices().

Referenced by getCompatibleVertexData().

Member Data Documentation

◆ myBoundingBox

RefPtr<BoundingBox> Wizt::GridAnemoneCreationContext::myBoundingBox

Bounding box of this fragment under the given conditions.

The bounding box does not need to correspond to the Primary Data Fragment and may depend on the settings of the GridAnemone's parameters.