FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | Public Attributes | List of all members
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::RepresentationgetChartRepresentation () 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< BoundingBoxgetMyBBox () const
 
VRenderContextoperator-> () 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::RepresentationgetVertices (const Fiber::SkeletonID &L) const
 Get all the vertex fields for a given refinement level.
 
RefPtr< Fiber::RepresentationgetVertices () const
 Get all the vertex fields for the current refinement level.
 
RefPtr< Fiber::CreativeArrayBasegetCompatibleVertexDataCreator (const string &VertexFieldname, const Fiber::SkeletonID &L) const
 Get a Creator that is compatibe with the current field fragment.
 
RefPtr< Fiber::MemBasegetCompatibleVertexData (const string &VertexFieldname, const Fiber::SkeletonID &L) const
 Get the data array associated with a vertex field.
 
RefPtr< Fiber::ChunkBasegetCompatibleVertexChunk (const string &VertexFieldname, const Fiber::SkeletonID &L) const
 Get the data chunk associated with a vertex field.
 
RefPtr< RenderBasin::VertexAttributecreateVertexAttribute (const string &VertexFieldname, const string &VertexAttributeName) const
 

Public Attributes

RefPtr< GridAnemoneRenderObjectmyRenderGridAnemone
 
RefPtr< BoundingBoxmyBoundingBox
 Bounding box of this fragment under the given conditions.
 
RefPtr< Fiber::SkeletonmySkeleton
 
RefPtr< Fiber::ChartmyChart
 
AnemoneParameters myAnemoneParameters
 
- Public Attributes inherited from Wizt::AnemoneRenderFields::CreationContext
Fiber::CreativeArrayBasemyPrimaryDataFragment
 
Fiber::SkeletonID mySkeletonID
 
RefPtr< Fiber::FragmentIDmyFragmentID
 
- Public Attributes inherited from Wizt::AnemoneCreatorContext
RefPtr< AnemoneCreatorBasemyAnemoneCreator
 

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.